Consuming Flickr via RSS

I love using RSS Feeds and my feed aggregator as my primary portal for incoming information, and I love sharing my photography on Flickr. Let’s take a look at making the most of Flickr’s RSS feeds. The site provides a variety of feeds that can be used to bring relevant photos and photo information into your aggregator.

A Quick Note About Aggregators

When we’re talking photography, visual display matters. For a lot of text-based RSS feeds, the formatting of the aggregator isn’t a big deal since the information is all in text. As we look at retrieving photos via RSS, some aggregators are going to stand above the rest for photography.

Here’s a screenshot of how FeedDemon displays a folder of photo feeds:

Photo Thumbnails Displayed in FeedDemon

This is a great view of a photo feed, allowing easy click-through to the individual items as desired. Other aggregators, such as Google Reader, will display the photo as an item in the feed without special formatting.

Getting Personal: Flickr Feeds for You

Flickr offers a couple RSS feeds which provide you with a glimpse at photos as they relate to you and your use of the social features of the site. The first is the Recent Comments feed, which lets you know who left comments on your photos. This is similar to clicking the “New Comments” link that you’ll find on Flickr’s homepage. The easiest way to get the URL for your recent comments feed is to go to your recent comments page (while logged into Flickr) and finding the Feed link near the lower left corner (look for the feed symbol Feed icon).

The second personalized feed is a feed of your contacts’ photos. As I’ve mentioned before, the power in Flickr lies in the community features, and I often visit my contacts page to see the latest work posted by the folks I follow. Those photos can also be seen via a feed. Log into Flickr, go to your friends page, then grab the Feed link near the lower left corner (again, look for the feed symbol Feed icon).

Group Feeds

Flickr also makes it easy to grab feeds for groups. You can get a feed for either the group photo pool, or the discussion topics. You might be noticing a pattern on how to find the feeds. For the discussion feed, just hit the group homepage (for example, Engineering as Art) and you’ll find the feed near the lower left. The photo pool feed can be found by going to a group’s pool page, then grabbing the feed link from the lower left… marked by the feed icon (Feed icon)as usual.

Tag, You’re It!

Flickr doesn’t yet offer an easy way to grab a search feed, with the exception of tags. You can get an RSS feed of photos with a given tag by using the following feed:

http://api.flickr.com/services/feeds/photos_public.gne?tags=TAGNAMEHERE&lang=en-us&format=rss_200

…and replacing TAGNAMEHERE with the tag you want.

Power Play with Yahoo Pipes

What’s better than a bunch of Flickr feeds? Mixing and combining, of course! With the variety of feeds from Flickr, it’s fairly simple to use Yahoo Pipes to mix things up. In about 15 minutes I created a Flickr Portland Megafeed which mixes a half dozen Portland-related sources on Flickr, does some combining and filtering, and spits out a big feed of things related to Portland. You should be able to grab the feed, or check out the source.

Areas of Future Potential

  • Feeds for comments on individual photos. Much like comment feeds on a blog post, it would be great to be able to subscribe to the comments left on individual photos. I frequently leave a comment and then want to see what else follows my comment (or see if the photographer responds to a question I’ve asked).
  • A general search feed (not just tags).

RSS is a powerful way to consume information and Flickr is the most popular photo community on the ‘net. Combining the two provides a lot of value for information and photo junkies such as myself.

  • http://www.tinyscreenfuls.com Josh Bancroft

    Nice post.

    Want to know a secret/undocumented Flickr RSS feed hack?

    Ever wanted to get an RSS 2.0 feed with the full sized photos as “enclosures” (instead of the smaller thumbnails)?

    Just add “_enc” to the end of the part of the feed that says “format=rss_200″.

    That is, instead of:

    http://api.flickr.com/services/feeds/photos_public.gne?id=44124452748@N01&lang=en-us&format=rss_200

    Use this to get full sized photos as enclosures:

    http://api.flickr.com/services/feeds/photos_public.gne?id=44124452748@N01&lang=en-us&format=rss_200_enc

  • http://cockahoop.com/ Todd Stadler

    I’m confused by your first “area of future potential”: “I frequently leave a comment and then want to see what else follows my comment” Can’t you already do that by subscribing to the feed under the “Comments you’ve made” page?
    (http://www.flickr.com/photos_comments.gne)

    I threw that feed into my feed reader, and now any time I comment on a photo or someone comments on a photo I’ve commented on (no matter how long ago), it shows up my in reader.

  • http://www.anotherblogger.com Aaron B. Hockley

    Todd, thanks for your comment. I hadn’t seen that feed… which is interesting, but I think it would be too noisy for my tastes. I leave a lot of comments, but probably only want to track comments on a specific photo a few times a month… so I’d like to be able to pick and choose which photos for subscription. I know… I’m picky :)

  • http://cockahoop.com Todd Stadler

    Hmm. Seems I like I really need to get to work on making public my as-yet-secret comment-tracking Web site. It works with Flickr comments as well as blog comments (it’s tracking responses to this page, for instance).

    But I can’t show it to you, since it’s currently following only my favorite blog entries and isn’t password-protected.

  • http://coolestebay.com Jay

    Thanks, I dig it. I was looking for this exactly. I am giving your pipes source shot.

    I really need to do some pipes tutorials to really learn it. Just using your method, the groups thing worked for me though.

  • Killer App

    How do you get the Images filtered by (Relevance, Interesting, Recent) ?

    • http://www.aaronhockley.com/ Aaron B. Hockley

      Given the serial nature of RSS, I believe it only returns the latest/recent photos.

  • http://thispagecannotbeaccessed@web.no.way Kapil

    Ahaan, is there a way to show up most or more than 20 images in the feed or using the api etc.

    Reply ASAP

  • Karthik

    Nice Article,

    i had issues with RSS PubDate as i couldnt encode the format for iphone development.

    Any ideas appreciated ? Thanks