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{""}% shows default format (city, region, country code)
    • %GEOLOOKUP{"" format="$latitude, $longitude"}% shows comma separated Latitude and Longitude
  • Related: GeoLookupPlugin
Topic revision: r0 - 2010-01-21 - TWikiContributor
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.