For various projects lately I’ve been using Yahoo! Pipes to automatically create aggregations of multiple RSS Feeds to that can then be reused somewhere else like a Facebook Page’s Notes section (where you can only add one RSS feed) or a sidebar on a blog (e.g. the project updates shown on the GECO blog).
I know that some of you will be dab hands with Yahoo! Pipes but it can be a bit scary to get started with so I thought I’d share my “How To…” guide for building aggregated RSS feeds with Pipes here.
Building a Good Aggregation of Feeds
The first thing to do is identify which feeds you want to combine. This is a matter of deciding what is available and what your audience actually wants to see. Generally an aggregation of blog posts, youtube videos and similar content (that is posted infrequently and stays relevant for a while) will work well. Twitter tends to be updated frequently and dominate a feed so Twitter generally works better as a separate channel (unless you are using it sparingly for key announcements or update your other channels frequently).
Once you have identified your feeds…
How to Create an RSS Aggregation Pipe (click on any image for a larger view)
- Go to Yahoo! Pipes
- Login with your Yahoo! Login (or you may need to register for a new one)
- Choose to “Create a pipe” and a new screen will appear that looks a little like a squared paper.
The squared area is where you will pull in different types of feed, tools, etc. On the left hand side you have a range of menus of options, operators, sources, outputs etc.
- Click on “Sources” and from the list click on “Fetch Feed”. This will bring up a wee blue box.
- Paste or type the URL for your first feed into the blank text part of this box
- Repeat the above process until all Feeds have been added.
- Next click on “Operators” and from the list click on “Union”. This is a box with lots of connecting dots at the top.
- Click on the dot underneath one of your “Fetch Feeds” boxes – a blue pipe will appear. Keep the mouse button held whilst you connect the other end to one of the dots of the “Union” box.
- Continue connecting your Fetch Feed elements to the Union operator until all feeds are connected.
- Click on “Operators” link and select “Sort”. This will allow you to organise the posts from your various feeds.
- Select to Sort by “item.pubDate” (the publication date) in “descending” order – this will display the newest post first as you would expect in RSS feeds.
- Now connect the dot under the “Union” box to the top of the “Sort” box in the same way as before.
- Click on “Operators” link and from the list click on “Create RSS”. Set Title to “item.title”; Description to “item.description”; Link to “item.link”; PubDate to “item.pubDate”; Author to “item.author”.
- Now connect the dot under the “Sort” box to the top of the “Create RSS” box in the same way as before.
- Next connect the dot under the “Create RSS” box to the top of the “Pipe Output” box in the same way as before.
You should now have a pipe for combining feeds!
Once everything works as you expect click “save”.
For most Pipes you will want to click on “List” to check that your Pipe is working as expected.
From here you can choose to change the URL for your pipe to something more memorable (to do this click on “edit” next to the “Pipe Web Address”). You can also choose to Publish your Pipe (which will allow others to see/clone it) and to receive your Pipe output in a variety of useful formats. For an RSS feed click on “Get as an RSS”.
The RSS feed will look fairly weird because although you can rename the URL to your pipe but the RSS feed will usually be a long numeric URL like this:
However the actual RSS feed should work well and that URL means you have a single aggregated RSS feed that can be plugged in to Facebook or any Feedreader or feed displaying tool of your choice.
A Few Tips on Pipes
You can access your Pipes by clicking on My Pipes anywhere on the site. You can Clone a Pipe (make a copy to edit and use) or you can Clone other peoples Pipes (so you could copy and adapt the one used above).
Pipes is about to switch to the Version 2 Pipes Engine so when you are offered the chance to upgrade to V.2 it is worth considering. However V.2 is not quite as reliable as V.1 yet.