[Home] [Blog] [Contact] - [Talks] [Bio] [Customers]
twitter linkedin youtube github rss

Patrick Debois

Download all original pictures from Flickr and Picasa via RSS in Iphoto

Flickr and Picasa make it easy to share pictures taken at events. But when you want to archive these pictures and store them on central place or burn them to a DVD, it takes a bit of extra work. Iphoto allows you to import these pictures directly using a RSS feed.

Picasa-Albums:

Google provides an RSS feed on each album page where you can subscribe to the pictures in an album. The problem is getting access to the original uploaded files, instead of the lower resolutions.

As an example I take the pictures from the Agile Open Belgium 2009 event taken by my friend Xavier. The RSS feed link looks like : http://picasaweb.google.com/data/feed/base/user/xquesada/albumid/5308588300458757601?alt=rss&kind=photo&hl=en_US

By default the RSS does not show all pictures but only a limited set.  http://code.google.com/apis/gdata/docs/2.0/reference.html#Queries nicely explains that you can add the max-results parameter to increase this default value.

Another default is that it does not include the original files but the resized versions. http://code.google.com/apis/picasaweb/reference.html#Parameters explains that you can use the imgmax=d to download the original files including the original EXIF information.

http://picasaweb.google.com/data/feed/base/user/xquesada/albumid/5308588300458757601?alt=rss&kind=photo&hl=en_US&imgmax=d&max-results=100000

Flickr:

My friend Harald Walker put his pictures on Flickr instead of on Picasa. His link looks like this

http://www.flickr.com/photos/sonicwalker/sets/72157614123886994/

Similar to Picasa , Flickr also offers an RSS feed button on the page of the set http://api.flickr.com/services/feeds/photoset.gne?set=72157614123886994&nsid=80469067@N00&lang=en-us

http://www.flickr.com/services/api/misc.urls.html describes the URL format of the original files using the o size suffix. It seems by default Flickr does include the _o (original) files in its feed. So no work here.

Flickr in contrast with picasa does not have a way of setting the maximum results. The workaround for this, is to make use of yahoo pipes. This does allow you create an RSS stream with more then 20 pictures.

Alto Maltés has created an Yahoo Flickr RSS pipe, that you can use to generate your RSS stream with unlimited number of pictures. Check it out at http://pipes.yahoo.com/pipes/pipe.info?_id=ggi_H7jn2xGoWGzY6UjTQA

To create a URL that does this automagically: It has a parameter called set= to select the picture set  and num= to specify the number of results.

http://pipes.yahoo.com/pipes/pipe.run?_id=ggi_H7jn2xGoWGzY6UjTQA&_render=rss&num=500&set=72157614123886994