How to create an RSS feed of a Flickr user's uploads
Yahoo provides some RSS feeds for flickr, as described here. But I found the process for creating a feed for a specific user's uploads was not clearly described - so here it is:
- I will start with Yahoo's "Public Photos and Videos" feed type (described here). So my base URL is:
http://api.flickr.com/services/feeds/photos_public.gne - An "id" paramameter for this URL needs to be added to identify the user who's uploads you want to show - however this is not the human-readable displayed username you see on the Flickr webpage, it's a numeric Flickr id that looks something like 12345678@N03. Sometimes these numeric ids are on the end of the URL for the photo stream, sometimes not. Either way, you can get them using the service at http://idgettr.com/. Enter in something like "http://www.flickr.com/photos/boxee/" and click "Find" - the id will be displayed.
- Now, add this id to the URL as a parameter named "id". You may also want to specify the "lang" and "format" parameters describer here so that you can choose a specific feed format. The result will be something like this:
http://api.flickr.com/services/feeds/photos_public.gne?id=27638630@N03&lang=en-us&format=rss_200 - Put this URL into your favorite feed reader, and you're done.
I haven't been able to find any way to control the resolution of the photos referenced in this RSS feed, or to increase the length of the feed to more than 20 items. If anyone has any suggestions on this, I'd love to hear 'em.
Comments
No Comments for this post yet...
Leave a comment
Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>