RSS Feeds of Flickr Photo-sets

August 26th, 2007 2007-08-26T00:44:53-0700

By design, Flickr does not provide XML feeds of photosets. Photosets can be non-chronological, so a feed doesn’t always make sense.

That said, oftentimes a photoset is chronological and a feed would be a useful. My Abridged set works this way.

At Hack Day London I put together a little script that will convert a set into a feed, and after gigantic delay, I’ve finally documented it and put it live at Flickr.Ben-Ward.co.uk.

Fuller instructions are provided with the hack, but in short you can pass in a Flickr set ID and out will come an XML feed of the 20 most recent pictures. You can pass extra parameters in the URL to change the number of pictures and the sort order.

For example, to produce a feed of 20 items from the Abridged set: http://flickr.ben-ward.co.uk/sets/feed/72157594435188323/

You can use additional segments of the URL to alter the number of feed items and the sort order, for example:

Hopefully this will useful, perhaps especially to those using Flickr in Pipes.

Tagged

Posted in

6 Responses to “RSS Feeds of Flickr Photo-sets”

  1. Comment by http://www.mattrobin.com Matt Robin

    August 26th, 2007 at 2:57 am 2007-08-26PDT02:57:44-0700

    Ahhh…Flickr Feeds….(the additional segments you mention make sense and are useful to know!) Nice one Ben.

  2. Comment by http://strenioff.ru Strenioff

    August 27th, 2007 at 11:03 am 2007-08-27PDT11:03:05-0700

    Thaks!

  3. Comment by http://fordie.co.uk Mark Ford

    August 28th, 2007 at 2:59 pm 2007-08-28PDT14:59:40-0700

    Ben,

    I’ve just found a small issue with your feed generator (which incidentally is excellent thanks for putting it together); I had an ampersand in a couple of my photo’s titles. These where not being HTML encoded in the feed, which caused firefox and IE to choke.

    I fixed it my end by changing the titles, but it’s something you might want to look at.

    I can now try and sort out my pipe for my facebook feed. Good man!

  4. Comment by http://ben-ward.co.uk Ben

    August 28th, 2007 at 6:58 pm 2007-08-28PDT18:58:41-0700

    Thanks for the bug report, Mark. I’ve updated the feed generator to encode HTML special characters. Hopefully that will resolve the problem you were having.

  5. Comment by Noah

    September 7th, 2007 at 5:51 am 2007-09-07PDT05:51:22-0700

    Ben – This is excellent! I’ve been hunting for something like this. I’d like to take it a step further and have the feed import into my SlideShowPro (http://slideshowpro.net) player. When I try doing it from your script, it errors out because it requires a crossdomain.xml file on your side. Is it possible for you to provide the script to place on my server so I can avoid this issue? Is it for sale?

  6. Comment by Jared

    October 15th, 2007 at 8:03 pm 2007-10-15PDT20:03:03-0700

    GREAT STUFF! I’d like to see how you got that to work.. been working on this exact thing.

Ben Michael Ward.

Ben is a 24 year old Web Developer from Cambridge and is a computing graduate of the University of Manchester.

Talk to me

Email

IM

AIM
iChat
Skype
Yahoo! Messenger
BenWardcouk
Google Talk
Jabber
MSN Messenger
talk@ben-ward.co.uk

Add me to your Address Book

  • Links