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.

Archive /

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

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

RSS aggregator

Go to End

5 Posts   4678 Views

Decisive Flow

Community Member, 73 Posts

21 March 2007 at 1:16pm

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");


Administrator, 690 Posts

21 March 2007 at 3:01pm

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`)");


Community Member, 17 Posts

22 March 2007 at 5:40am

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


Community Member, 5 Posts

17 May 2007 at 9:34pm

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 ;)


49 Posts

31 March 2008 at 4:05am

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...