Warning

This document hasn't been checked for compatibility with current versions of Plone. Use at your own risk.

Integrating del.icio.us and/or flickr feeds into your Plone site

by Jonah Bossewitch last modified Dec 30, 2008 03:02 PM
Simple trick combining Plone's add-on, inbound RSS aggregator, CMFSin with popular social bookmarking and photo sharing services.

Motivation

Do you have a personal collection of links or photos that you would like to display on your plone site?  

How about an interesting 'tag' that you would like to follow?

Or what about providing a distributed user-base with a mechanism for publishing micro-content on your website?

With the simple installation of Plone's CMFSin Product, you can easily pull in feeds from these popular web services and more.

Solution

  • Install CMFSin.
  • In the zmi, locate the sin_tool tool, and edit it's config.
  • Define a channel (a name-value pair in the [channels] section of the config) corresponding to the del.icio.us or flickr feed you want to pull into your site. 
e.g., to pull in links and photos of the New Orleans Symposium
delicious_plonesymposium2005=http://del.icio.us/rss/tag/plonesymposium2005
flickr_plonesymposium2005=http://www.flickr.com/services/feeds/photos_public.gne?tags=plonesymposium2005&format=rss_091
  • Define a map (a name-value pair in the [maps] section of the config) combining the feeds you are interested in displaying
e.g., completing the example above:
plonesymposium2005-pics=flickr_plonesymposium2005
plonesymposium2005-links=delicious_plonesymposium2005

  • Finally, if you would like these feeds to appear on the sidebar, in the zmi, edit the Portal's root properties, and add these portlets to your left or right slot:
here/sin_tool/macros/plonesymposium2005-links
here/sin_tool/macros/plonesymposium2005-pics

  • Even w/out displaying your links on the sidebar, the CMFSin tool will expose your links at these urls:

/sinList?synmap=plonesymposium2005-links
/sinList?synmap=plonesymposium2005-pics

For a live example, see http://mrenoch.objectis.net/

For more information about del.icio.us and flickr feeds, see:



Contribute

Something wrong or out of date? Anybody can edit or create a new article in the knowledge base. Simply create an account on this site, log in, and click the Edit button to contribute.