<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[PunBB Forums - BBcode in RSS feeds]]></title>
		<link>http://punbb.informer.com/forums/topic/20604/bbcode-in-rss-feeds/</link>
		<description><![CDATA[The most recent posts in BBcode in RSS feeds.]]></description>
		<lastBuildDate>Sat, 20 Jun 2009 16:48:15 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: BBcode in RSS feeds]]></title>
			<link>http://punbb.informer.com/forums/post/128550/#p128550</link>
			<description><![CDATA[<div class="quotebox"><cite>ploufplouf wrote:</cite><blockquote><p>No new idea? The content of the RSS feed is crappy with bbcode :&#039;(<br />That could be cool to remove bbcode in RSS but how :&#039;(</p><p>Example in this feed : <a href="http://www.actubourse.fr/forum/feed-rss.xml">http://www.actubourse.fr/forum/feed-rss.xml</a></p><p>The result is crappy with google reader : <br /><a href="http://www.google.fr/reader/view/feed/http%3A%2F%2Fwww.actubourse.fr%2Fforum%2Ffeed-rss.xml">http://www.google.fr/reader/view/feed/h &#133; ed-rss.xml</a></p></blockquote></div><br /><p>I have done some modifications in the extern.php, I use do_bbcode_rss() from goundoulf on <a href="http://www.punbb.fr/forums/viewtopic.php?id=6174">http://www.punbb.fr/forums/viewtopic.php?id=6174</a></p><p>It works &#039;better&#039; with google reader.</p><p>Cool <img src="http://punbb.informer.com/forums/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (ploufplouf)]]></author>
			<pubDate>Sat, 20 Jun 2009 16:48:15 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/128550/#p128550</guid>
		</item>
		<item>
			<title><![CDATA[Re: BBcode in RSS feeds]]></title>
			<link>http://punbb.informer.com/forums/post/128463/#p128463</link>
			<description><![CDATA[<p>No new idea? The content of the RSS feed is crappy with bbcode :&#039;(<br />That could be cool to remove bbcode in RSS but how :&#039;(</p><p>Example in this feed : <a href="http://www.actubourse.fr/forum/feed-rss.xml">http://www.actubourse.fr/forum/feed-rss.xml</a></p><p>The result is crappy with google reader : <br /><a href="http://www.google.fr/reader/view/feed/http%3A%2F%2Fwww.actubourse.fr%2Fforum%2Ffeed-rss.xml">http://www.google.fr/reader/view/feed/h &#133; ed-rss.xml</a></p>]]></description>
			<author><![CDATA[dummy@example.com (ploufplouf)]]></author>
			<pubDate>Sat, 13 Jun 2009 17:21:22 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/128463/#p128463</guid>
		</item>
		<item>
			<title><![CDATA[Re: BBcode in RSS feeds]]></title>
			<link>http://punbb.informer.com/forums/post/122491/#p122491</link>
			<description><![CDATA[<p>No more suggestions?</p>]]></description>
			<author><![CDATA[dummy@example.com (NetworkShadow)]]></author>
			<pubDate>Fri, 09 Jan 2009 16:22:55 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/122491/#p122491</guid>
		</item>
		<item>
			<title><![CDATA[Re: BBcode in RSS feeds]]></title>
			<link>http://punbb.informer.com/forums/post/121958/#p121958</link>
			<description><![CDATA[<p>HTML in a feed can be very valuable IMO, you can easily export to a blog for example. Could this sort of thing be done with an extension? (I&#039;m not aware of the limitations of the extensions API)</p>]]></description>
			<author><![CDATA[dummy@example.com (NetworkShadow)]]></author>
			<pubDate>Fri, 02 Jan 2009 15:40:56 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/121958/#p121958</guid>
		</item>
		<item>
			<title><![CDATA[Re: BBcode in RSS feeds]]></title>
			<link>http://punbb.informer.com/forums/post/121873/#p121873</link>
			<description><![CDATA[<div class="quotebox"><cite>Garciat wrote:</cite><blockquote><p>Having HTML inside the RSS is not a good idea.</p></blockquote></div><p>It shouldn&#039;t cause any problems as such. The content is contained within CDATA tags. <img src="http://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (MattF)]]></author>
			<pubDate>Wed, 31 Dec 2008 21:16:39 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/121873/#p121873</guid>
		</item>
		<item>
			<title><![CDATA[Re: BBcode in RSS feeds]]></title>
			<link>http://punbb.informer.com/forums/post/121872/#p121872</link>
			<description><![CDATA[<p>I think you should get rid of the BBCode instead. Having HTML inside the RSS is not a good idea.</p><p>My regex skills are not very good, but you could try something like:<br /></p><div class="codebox"><pre><code>$cur_post[&#039;message&#039;] = preg_replace(&quot;/\[([a-z0-9*]+)([^\[]+?)?\]([^\[]+?)\[(\/[a-z0-9*]+)\]/i&quot;, &#039;$3&#039;, $cur_post[&#039;message&#039;]);</code></pre></div><p>On line <strong>335</strong>.</p>]]></description>
			<author><![CDATA[dummy@example.com (Garciat)]]></author>
			<pubDate>Wed, 31 Dec 2008 20:58:30 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/121872/#p121872</guid>
		</item>
		<item>
			<title><![CDATA[Re: BBcode in RSS feeds]]></title>
			<link>http://punbb.informer.com/forums/post/121868/#p121868</link>
			<description><![CDATA[<p>I tried the above hack and it didn&#039;t work. It just broke my RSS feed and gave me an error; the browser didn&#039;t even want to read it. Could you give us your extern.php file? Perhaps we did something wrong?</p>]]></description>
			<author><![CDATA[dummy@example.com (NetworkShadow)]]></author>
			<pubDate>Wed, 31 Dec 2008 19:33:51 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/121868/#p121868</guid>
		</item>
		<item>
			<title><![CDATA[Re: BBcode in RSS feeds]]></title>
			<link>http://punbb.informer.com/forums/post/121867/#p121867</link>
			<description><![CDATA[<p>Oops forgot about my own post over the holidays.<br />I&#039;ll give this a try and report back. Thanks for the tip.</p>]]></description>
			<author><![CDATA[dummy@example.com (NetworkShadow)]]></author>
			<pubDate>Wed, 31 Dec 2008 19:23:38 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/121867/#p121867</guid>
		</item>
		<item>
			<title><![CDATA[Re: BBcode in RSS feeds]]></title>
			<link>http://punbb.informer.com/forums/post/121746/#p121746</link>
			<description><![CDATA[<p>Thanks, but no luck. Still the same the rss feed</p><p><span class="postimg"><img src="http://i39.tinypic.com/2jerces.jpg" alt="http://i39.tinypic.com/2jerces.jpg" /></span></p>]]></description>
			<author><![CDATA[dummy@example.com (sonofsinner)]]></author>
			<pubDate>Mon, 29 Dec 2008 13:43:35 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/121746/#p121746</guid>
		</item>
		<item>
			<title><![CDATA[Re: BBcode in RSS feeds]]></title>
			<link>http://punbb.informer.com/forums/post/121650/#p121650</link>
			<description><![CDATA[<p>Try copy/paste again, it&#039;s work fine for me</p>]]></description>
			<author><![CDATA[dummy@example.com (Slavok)]]></author>
			<pubDate>Fri, 26 Dec 2008 16:10:42 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/121650/#p121650</guid>
		</item>
		<item>
			<title><![CDATA[Re: BBcode in RSS feeds]]></title>
			<link>http://punbb.informer.com/forums/post/121594/#p121594</link>
			<description><![CDATA[<p>Ive done just as you said, Now i got this </p><p>Parse error: syntax error, unexpected T_IF, expecting &#039;)&#039; in /home/jyholic/public_html/forum/extern.php on line 336</p>]]></description>
			<author><![CDATA[dummy@example.com (sonofsinner)]]></author>
			<pubDate>Thu, 25 Dec 2008 14:08:57 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/121594/#p121594</guid>
		</item>
		<item>
			<title><![CDATA[Re: BBcode in RSS feeds]]></title>
			<link>http://punbb.informer.com/forums/post/121379/#p121379</link>
			<description><![CDATA[<p>Try:add this after 330 line of extern.php:<br /></p><div class="codebox"><pre><code>include FORUM_ROOT.&#039;include/parser.php&#039;;</code></pre></div><p>Than add this code after 335 line of extern.php:<br /></p><div class="codebox"><pre><code>if ($forum_config[&#039;o_smilies&#039;] == &#039;1&#039;)
    $cur_post[&#039;message&#039;] = do_smilies($cur_post[&#039;message&#039;]);
if ($forum_config[&#039;p_message_bbcode&#039;] == &#039;1&#039;)
    $cur_post[&#039;message&#039;] = do_bbcode($cur_post[&#039;message&#039;]);</code></pre></div><p>Is there is what you want? Maybe it will be needed to add link to css-file to function &quot;output_rss&quot;</p>]]></description>
			<author><![CDATA[dummy@example.com (Slavok)]]></author>
			<pubDate>Sat, 20 Dec 2008 13:26:11 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/121379/#p121379</guid>
		</item>
		<item>
			<title><![CDATA[BBcode in RSS feeds]]></title>
			<link>http://punbb.informer.com/forums/post/121340/#p121340</link>
			<description><![CDATA[<p>Hey I was just wondering; is there anyway to translate the BBcode used in posts to html for the RSS feeds? It&#039;s the only issue I have with using the RSS. You could easily import forum posts to blogs etc if the BBcode didn&#039;t get put directly in the feeds.</p><p>Any ideas or thoughts? Thanks!</p>]]></description>
			<author><![CDATA[dummy@example.com (NetworkShadow)]]></author>
			<pubDate>Fri, 19 Dec 2008 15:18:42 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/121340/#p121340</guid>
		</item>
	</channel>
</rss>
