Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.


Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

RSS aggregator


5 Posts   4053 Views

Decisive Flow

21 March 2007 at 1:16pm Community Member, 73 Posts

We are in desperate need of an RSS aggregator that will agregate our two feeds (one form our PlanHQ blog and one from our PlanHQ advice area) into one.

In November last year, it looks like Sam put something in the support wiki about creating a new page type that does just that:

Has there been any progress on this? we are happy to pay to get it developed, but need it urgently

James started some code which looks like this, but doesn't work yet:

   function rss() {
      $rss = new RSSFeed($this->Children(), $this->Link(), "PlanHQ Blog", "", "Title", "Content", "Author");

   function CombinedList() {
      return DataObject::get("SiteTree", "ParentID IN (`AdviceHolder`,`BlogHolder`)", "greatest(`AdviceEntry`.`Date`,`BlogEntry`.`Date`)");
   function allrss() {
      $rss = new RSSFeed($this->CombinedList(), $this->Link(), "PlanHQ - Business Planning Advice and News", "", "Title", "Content", "Author");


21 March 2007 at 3:01pm Administrator, 685 Posts

The piece of CombinedList that says "ParentID IN (`AdviceHolder`,`BlogHolder`)" is wrong.

ParentID will be a number. You will need to make a list of all the ID #s of the advice holder pages.

$holders = DataObject::get("SiteTree", "ClassName IN ('AdviceHolder', 'BlogHolder')");
foreach($holders as $holder) $holderIDs[] = $holder->ID;
$CSV_holderIDs = implode(", ", $holderIDs);

return DataObject::get("SiteTree", "ParentID IN ($CSV_holderIDs)", "greatest(`AdviceEntry`.`Date`,`BlogEntry`.`Date`)");


22 March 2007 at 5:40am Community Member, 17 Posts

.. or you could just write a Yahoo! Pipe and feed that into it?


17 May 2007 at 9:34pm Community Member, 5 Posts

I too was playing with some code for use with the site, didn't get too far, but it's a much requested feature. Planets ;)


31 March 2008 at 4:05am 49 Posts

Has this come any further? Which is the easiest way to include rss feeds to a ss-site? I've tried Yahoo's pipes but I can't figure out how to do? It works just fine on a plain html-site but it won't show up on my ss-site...