Cheers both

Looks like it will be cleaner to get in and have a crack with the API, although as Andrew suggests a nice quick dirty fix would be to loop through the pages using the NetworkLink. I was kind of hoping to be able to add a simple &page=all but I guess not!

thanks again

Stu

On 1 May 2009, at 15:05, Andrew Turner wrote:

Stuart Eve wrote:


I am trying to play around with some KML from Flickr (. I can get a nice KML feed of my latest 20 photos in my photostream (http://api.flickr.com/services/feeds/geo/?id=24106...@n05&lang=en-us&format=kml_nl ) - but i was wondering if anyone knew how to get ALL my photos, not just the last 20.

Hey Stu,

You have a couple of options.

If you look at the actual NetworkLink, it looks like:
http://www.flickr.com/services/feeds/geo/?format=kml&id=24106281%40N05&lang=en-us&page=1

So you can just walk the page= until it fails. Unforutnately neither the KML nor the GeoRSS atom feeds include OpenSearch pagination links. (Twitter does!)

Or, even better, you can use the Flickr API. I put up an example of crawling all the BaytoBreakers tagged photos at WhereCamp last year:
 http://gist.github.com/25508

It dumps them out as KML for use in whatever your favorite tool is.

Andrew



_______________________________________________
Geowanking mailing list
[email protected]
http://geowanking.org/mailman/listinfo/geowanking_geowanking.org

Reply via email to