Posts tagged ‘simplepie’

Simple as Pie

The eagle eyed amongst you will have noticed that I’ve added a ‘VSO feeds’ section to the side bar. I wanted to be able to aggregate feeds from other VSO volunteers to show on my site, unfortunately the RSS widget built into WordPress won’t aggregate feeds for you – you’d need to create a new wdiget for each feed – not really what I wanted.

However, I did find the SimplePie Plugin for WordPress which has done exactly what I needed and was very straightforward to get up and running. The display is all done via templates and is very configurable. The only (very small) niggle that I have is that you need to specify the feed urls in the code, rather than in the WordPress admin pages, e.g.

<?php
echo @SimplePieWP(array(
     'http://markvso.blogspot.com/feeds/posts/default',
     'http://siddypen.wordpress.com/feed',

http://nonoincambodia.blogspot.com/feeds/posts/default'

      ), array(
     'items' => 10,
     'date_format' => 'j M Y',
     'truncate_item_description' => 100
  ));
?>

At the moment I’m only showing feeds from 3 blogs, but if you have a feed that you’d like me to add then please send it on.

Rather unfortunately the blogging system that VSO uses (http://www.vso-stories.net/) doesn’t provide RSS feeds of the postings (!) – though it does provide an email subscription service. So there are several other blogs I’d like to include in my aggregator which would be very relevant, e.g. Julian Bass’s blog, but I can’t until vso-stories provides an RSS feed factility :-(