Daemonite: Geolocator for CFMX Archive

Daemonite: Geolocator for CFMX Archive


Saturday, May 03, 2003
Geolocator for CFMX

Where in the world? Paul Hastings has taken another crack at determining where a user's coming from based on javainetlocator class (there is a local copy of WHOIS db) instead of parsing cgi.HTTP_ACCEPT_LANGUAGE

Looks pretty good -- picks me for an Aussie. The ColdFusion code looks straightforward enough -- another example opensource Java goodness.

Posted by modius at 12:30 AM | Permalink
Trackback: http://blog.daemon.com.au/cgi-bin/dmblog/mt-tb.cgi/118

Comments

so far, the locator is more than 90% correct as far as region/country goes (i've found one case with someone in the UK using a dutch satellite ISP). the languages are another thing, it deliberately simplifies locales with more than one language (for instance, users from canada will get a return locale of en_CA no matter what). probably still need to examine cgi.HTTP_ACCEPT_LANGUAGE for language to be 100% sure.

Posted by: PaulH on May 4, 2003 06:42 AM

it's interesting to see how many people have CFML included in their locale ;) Wanna see the easteregg? ;)

Posted by: kai on May 5, 2003 08:14 AM

Don't know whether this is the right place, but I'd like to thank PaulH for letting me know about his ColdFusion code, and for chatting about the InetAddressLocator class with me.

I know from the sourceforge stats that a fair number of people have downloaded my code, but it's very rare that any user tells me that it's been useful, or bug-ridden, or anything really.

Posted by: nwetters on May 14, 2003 09:08 PM

Nigel,

Just to let you know -- we're going to integrate the GeoLocator stuff as a plug-in for our FarCry CMS (http://farcry.daemon.com.au/) framework. Works wonders in the stats -- and hopefully we can use it for our localisation efforts. Should be available in the next public release.

Great work :)

Posted by: Geoff Bowers on May 14, 2003 09:58 PM