<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress Support Forums Tag: aggregation</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress Support Forums Tag: aggregation</description>
<language>en</language>
<pubDate>Fri, 09 Jan 2009 00:30:37 +0000</pubDate>

<item>
<title>CMoseley on "Integrating Aggrss into bbPress theme?"</title>
<link>http://bbpress.org/forums/topic/integrating-aggrss-into-bbpress-theme#post-4977</link>
<pubDate>Tue, 27 Feb 2007 23:30:42 +0000</pubDate>
<dc:creator>CMoseley</dc:creator>
<guid isPermaLink="false">4977@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I'm not sure exactly what your asking.  I copied and pasted the code in my WordPress template into my bbPress template.  Works fine in WordPress, gives me the above error in bbPress.&#60;br /&#62;
The code I used was:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
	if ($rs = aggrss(&#38;#39;http://onctalk.com/wp-commentsrss2-custom.php&#38;#39;))
	{
	// dump the structure
	//echo &#38;quot;&#38;lt;pre&#38;gt;&#38;quot;;
	//print_r($rs);
	//echo &#38;quot;&#38;lt;/pre&#38;gt;&#38;quot;;
		echo &#38;quot;&#38;lt;a href=&#38;#39;&#38;quot; . $rs[link] . &#38;quot;&#38;#39; style=&#38;#39;color: #000000; font-weight: bold;&#38;#39; &#38;gt;&#38;quot; . $rs[title] . &#38;quot;&#38;lt;/a&#38;gt;&#38;quot;;
		echo $rs[description] . &#38;quot;&#38;lt;br /&#38;gt;&#38;quot;;

		foreach ($rs[&#38;#39;items&#38;#39;] as $item)
		{
			echo &#38;quot;&#38;lt;p&#38;gt;&#38;lt;a href=&#38;#39;&#38;quot; .$item[&#38;#39;link&#38;#39;]. &#38;quot;&#38;#39;&#38;gt;&#38;quot; . $item[&#38;#39;title&#38;#39;] . &#38;quot;&#38;lt;/a&#38;gt;&#38;lt;br/&#38;gt;&#38;quot; .html_entity_decode($item[&#38;#39;description&#38;#39;]). &#38;quot;&#38;lt;/p&#38;gt;&#38;quot;;
		}
		if ($rs[&#38;#39;items_count&#38;#39;] &#38;lt;= 0) { echo &#38;quot;Sorry, no items found in the RSS file &#38;lt;img src=&#38;#39;http://www.soderlind.no/wp-includes/images/smilies/icon_sad.gif&#38;#39; alt=&#38;#39;:-(&#38;#39; class=&#38;#39;wp-smiley&#38;#39; /&#38;gt; &#38;quot;; }
	}
	else
	{
		echo &#38;quot;&#38;lt;!-- It&#38;#39;s not possible to reach RSS file --&#38;gt;&#38;quot;;
	}
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>fel64 on "Integrating Aggrss into bbPress theme?"</title>
<link>http://bbpress.org/forums/topic/integrating-aggrss-into-bbpress-theme#post-4810</link>
<pubDate>Fri, 23 Feb 2007 22:58:15 +0000</pubDate>
<dc:creator>fel64</dc:creator>
<guid isPermaLink="false">4810@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;It can't find the function get() because no such function exists - unless you're sure it exists in your wordpress plugins or something? Are you sure that's the function you want to be calling in that template file on line 127?
&#60;/p&#62;</description>
</item>
<item>
<title>CMoseley on "Integrating Aggrss into bbPress theme?"</title>
<link>http://bbpress.org/forums/topic/integrating-aggrss-into-bbpress-theme#post-4809</link>
<pubDate>Fri, 23 Feb 2007 22:41:55 +0000</pubDate>
<dc:creator>CMoseley</dc:creator>
<guid isPermaLink="false">4809@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I use &#60;a href=&#34;http://soderlind.no/archives/2004/11/08/aggrss-an-rss-aggregator/&#34;&#62;aggrss&#60;/a&#62; to do syndication of my own website's RSS feeds to the front page (&#60;a href=&#34;http://onctalk.com&#34;&#62;OncTalk&#60;/a&#62;) and I want to be able to do the same thing on my bbPress &#60;a href=&#34;http://onctalk.com/bbPress/&#34;&#62;theme&#60;/a&#62;  (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:&#60;br /&#62;
Fatal error: Call to undefined function: get() in /usr/home/josh/domains/onctalk.com/public_html/wp-content/plugins/aggrss.php on line 127&#60;/p&#62;
&#60;p&#62;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.&#60;/p&#62;
&#60;p&#62;This is the code around line 127  from aggrss.php:&#60;br /&#62;
(From line 123-131)&#60;br /&#62;
function aggrss($rssurl,$striptags=false,$num=0) {&#60;br /&#62;
	global $lastRSS;&#60;br /&#62;
	$lastRSS-&#38;gt;CDATA= ($striptags) ? &#34;strip&#34; : &#34;content&#34; ;&#60;br /&#62;
	$lastRSS-&#38;gt;items_limit=$num;&#60;br /&#62;
	if ($aggr = $lastRSS-&#38;gt;Get($rssurl))&#60;br /&#62;
		return $aggr;&#60;br /&#62;
	else&#60;br /&#62;
		return 0;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;Full view of the code can be found &#60;a href=&#34;http://soderlind.no/download/aggrss.php.txt&#34;&#62;here&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;Any help in getting this fixed/solved would be much appreciated.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
