Wednesday, October 29, 2003

GeoURL API - sorta...

GeoURL News: Localfeeds

Joshua sent me a response to my request for an API for accessing the GeoURL database:

"Yep! Look at the "As XML" links on the front page for a RESTful query
style..."

Looking at the 'as XML' link:
http://www.geourl.com/xml/?lat=40.7650070&lon=-73.9861298

it seems simple enough to generate an XML representation of blogs close to the give lat,long tuple, and the url:
http://geourl.org/xml/?dist=500&p=http://geourl.org

works for finding blogs within 500 miles of geourl.org. Distance is a parameter in this case, but in the case of the url, if I give, distance as a parameter:
http://geourl.org/xml/?dist=1&lat=40.7386&lon=-73.9828

it makes no difference - its as if the distance is not counted as a paramter when lat and long are entered as parameters. There seems to be a trail of postings at:
http://geourl.org/news/archives/000025.html

regarding this.

0 Comments:

Post a Comment

<< Home