Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Geo-GeoNames CPAN distribution.

Report information
The Basics
Id: 62358
Status: resolved
Priority: 0/
Queue: Geo-GeoNames

People
Owner: Nobody in particular
Requestors: mike [...] mikebaas.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: ws hostname having connectivity problems, www works great
I tried passing another URL into new: $geo = Geo::GeoNames->new(url => 'http://www.geonames.org'); I got some complaints trying to do this. The host http://ws.geonames.org was having problems so I hardcoded http://www.geonames.org into your script and recompiled it. Things are working much faster now. You might want to take a look at switching and fixing passing a url as an argument to new. I also might have done something stupid. Thanks.
I've update the Geo::GeoNames module to use the latest API address (api.geonames.org) and to handle the username argument. It's on github at the moment: https://github.com/briandfoy/geo-geonames