GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
No Response/Timeout  XML
Forum Index -> General
Author Message
jandtjolly



Joined: 15/03/2009 23:08:45
Messages: 1
Offline

When I try to convert an RSS feed to a geoRSS the service never responds. Take the following URL for example - http://ws.geonames.org/rssToGeoRSS?feedUrl=http%3A%2F%2Fsports.yahoo.com%2Ftop%2Frss.xml

Is it something I'm doing or is the service experiencing difficulties?
Thank you.
marc



Joined: 08/12/2005 07:39:47
Messages: 4501
Offline

The server was having some performance and availability problems due to too much load.

Marc

[WWW]
johns



Joined: 20/03/2009 02:55:07
Messages: 1
Offline

I need some help dealing with the server when it is under high demand.

The failure created by a geonames timeout is somewhat unfriendly. The web page just hangs, and doesn't load, until the apache server times out.

I am using PHP to call the geonames webservice in the following fashion:

$url = 'http://ws.geonames.org/findNearbyPlaceName?lat=' . $lat . '&lng=' . $long . '&style=FULL';

$geonames_xml = simplexml_load_file($url) ;

Is there an approach someone could suggest so that I can fail more gracefully. When geonames doesn't respond, sometimes my apache server crashes!

Thanks,

John
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team