• This web contains the official documentation of the TWiki Release 4.3, code named GeorgetownRelease. It is a read-only web for reference.
• This is an older release, see TWiki-6.0 for the latest release documentation.
Tags:
create new tag
, view all tags

GEOLOOKUP -- lookup geo location by IP address or domain name

  • The %GEOLOOKUP{}% variable is handled by the GeoLookupPlugin
  • Syntax: %GEOLOOKUP{"host" format="..."}%
  • Parameter "host": Host IP address or host name
  • Parameter format="...": Format of geolocation, optional. Default is "$city, $region, $country_name". Supported variables:
    • $latitude: Latitude
    • $longitude: Longitude
    • $city: City name
    • $region: Region name
    • $country_name: Country name
    • $country_code: Two letter country code
    • $postal_code: Postal code (USA only)
    • $metro_code: Metropolitan code (USA only)
    • $area_code: Telephone area code (USA only)
  • Examples:
    • %GEOLOOKUP{"75.52.124.86"}% shows default format (city, region, country code)
    • %GEOLOOKUP{"75.52.124.86" format="$latitude, $longitude"}% shows comma separated Latitude and Longitude
  • Related: GeoLookupPlugin
Topic revision: r0 - 2010-01-21 - TWikiContributor
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon  
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback