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: r4 - 2011-07-14 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.