02-26-2012
What web server are you running? Apache2?
If running Apache, you can install the
GeoIP Apache API.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a text list of about 3,000 file names (image files), which exist on a server and that I want to copy over to another location. I understand the Unix cp code, but what's the string to have it copy multiple files based on an external list?
Many thanks! (4 Replies)
Discussion started by: rebornhonest
4 Replies
2. Shell Programming and Scripting
I am interested in finding out if there is a reliable and economical way for extracting user's location based on his ip address, using php
I tried to get the job done using ip2location.com, but I am not happy how it deals with result inconsistently. (2 Replies)
Discussion started by: siftin-com
2 Replies
3. OS X (Apple)
Hello all,
I've been searching for an answer but coming up with nothing so I figured I'd give it a shot and ask. After installing a fresh version of Leopard (with the latest updates) on a computer and then copying the user data back onto said computer, the location based printing doesn't work... (0 Replies)
Discussion started by: erodrigue
0 Replies
4. Web Development
Hi,
I am new to PHP and at first got a task where I need some clues and help.
So I am here.. The server is build to provide customized access for modules
as per location. If client location is US then it shows modules and pages
specific to US and if location is UK then it shows UK specific... (1 Reply)
Discussion started by: zing_foru
1 Replies
5. Shell Programming and Scripting
I do have a big text file
>A1
ACFGTSDCHG_GDF
DGHA
>A2
A_FGGSD_HG_GSF
DGTA
>A3
AC_GSDD_TU_GDF
DGH_
..
...
there are equal number of characters within all the sub-headers. I want to parse out all the characters under each sub-header from user specified locations. For example, I want... (5 Replies)
Discussion started by: Lucky Ali
5 Replies
6. Shell Programming and Scripting
Hi Gurus,
I am a newbie to shell scripting and I am facing a problem right now.I have to automate the copy of files based on a priority.The scenario is as below:
1) There will be files from Mon-Fri with Mon file being named as abc_def_01_YYYYMMDD and Tue file being abc_def_02_YYYYMMDD and so... (4 Replies)
Discussion started by: vikramgk9
4 Replies
7. Shell Programming and Scripting
hey Guys,
Am a newbie to Linux and have a probable requirement that might come up pretty soon.
I need to understand, how log files and log location can be displayed on a web browser. So that the end user can read the log files and should be able to search for order numbers in the logs. If... (2 Replies)
Discussion started by: ashish_samarth
2 Replies
8. Shell Programming and Scripting
Hi
I need to find a way to automate the deployment of my apache configuration to a few servers. I make change frequently on apache/conf/... etc, and I usually do this manually by copying files to each servers(and country config path)and restart apache servers.Source file will be like... (1 Reply)
Discussion started by: naresh2389
1 Replies
LEARN ABOUT DEBIAN
html::microformats::format::geo
HTML::Microformats::Format::geo(3pm) User Contributed Perl Documentation HTML::Microformats::Format::geo(3pm)
NAME
HTML::Microformats::Format::geo - the geo microformat
SYNOPSIS
use Data::Dumper;
use HTML::Microformats::DocumentContext;
use HTML::Microformats::Format::geo;
my $context = HTML::Microformats::DocumentContext->new($dom, $uri);
my @geos = HTML::Microformats::Format::geo->extract_all(
$dom->documentElement, $context);
foreach my $geo (@geos)
{
printf("%s;%s
", $geo->get_latitude, $geo->get_longitude);
}
DESCRIPTION
HTML::Microformats::Format::geo inherits from HTML::Microformats::Format. See the base class definition for a description of property
getter/setter methods, constructors, etc.
Additional Method
o "to_kml"
This method exports the geo object as KML. It requires RDF::KML::Exporter to work, and will throw an error at run-time if it's not
available.
MICROFORMAT
HTML::Microformats::Format::geo supports geo as described at <http://microformats.org/wiki/geo>, with the following additions:
o 'altitude' property
You may provide an altitude as either a number (taken to be metres above sea level) or an embedded hMeasure. e.g.:
<span class="geo">
lat: <span class="latitude">12.34</span>,
long: <span class="longitude">56.78</span>,
alt: <span class="altitude">90</span> metres.
</span>
<span class="geo">
lat: <span class="latitude">12.34</span>,
long: <span class="longitude">56.78</span>,
alt: <span class="altitude hmeasure">
<span class="num">90</span>
<span class="unit">m</span>
</span>.
</span>
o 'body' and 'reference-frame'
The geo microformat is normally only defined for WGS84 co-ordinates on Earth. Using 'body' and 'reference-frame' properties (each of
which take string values), you may give co-ordinates on other planets, asteroids, moons, etc; or on Earth but using a non-WGS84 system.
RDF OUTPUT
Data is returned using the W3C's vCard vocabulary (<http://www.w3.org/2006/vcard/ns#>) and the W3C's WGS84 vocabulary
(<http://www.w3.org/2003/01/geo/wgs84_pos#>).
For non-WGS84 co-ordinates, UNGEO (<http://buzzword.org.uk/rdf/ungeo#>) is used instead.
BUGS
Please report any bugs to <http://rt.cpan.org/>.
SEE ALSO
HTML::Microformats::Format, HTML::Microformats, HTML::Microformats::Format::hCard.
AUTHOR
Toby Inkster <tobyink@cpan.org>.
COPYRIGHT
Copyright 2008-2011 Toby Inkster
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
DISCLAIMER OF WARRANTIES
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
perl v5.14.2 2011-12-06 HTML::Microformats::Format::geo(3pm)