Integrating Aggrss into bbPress theme?
-
I use aggrss to do syndication of my own website’s RSS feeds to the front page (OncTalk) and I want to be able to do the same thing on my bbPress theme (which is nearly identically to my WordPress theme). I’ve setup integration between the two theme systems, and I know it works becuase all of my WordPress Conditional tags and things I’m using in my bbPress theme are working, but when I put in aggrss, I get this error:
Fatal error: Call to undefined function: get() in /usr/home/josh/domains/onctalk.com/public_html/wp-content/plugins/aggrss.php on line 127
When looking up the code on that, I didn’t seen anything blatantly obvious that would cuase a screw up, but im still a beginner at this.
This is the code around line 127 from aggrss.php:
(From line 123-131)
function aggrss($rssurl,$striptags=false,$num=0) {
global $lastRSS;
$lastRSS->CDATA= ($striptags) ? “strip” : “content” ;
$lastRSS->items_limit=$num;
if ($aggr = $lastRSS->Get($rssurl))
return $aggr;
else
return 0;
}
Full view of the code can be found here.
Any help in getting this fixed/solved would be much appreciated.
- You must be logged in to reply to this topic.