<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>futuretrack5: Pimping a PHP Bulleting Board</title>
    <link>http://futuretrack5.com/articles/2006/06/29/pimping-a-php-bulleting-board</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>"Pimping a PHP Bulleting Board" by Dave Rosen</title>
      <description>&lt;p&gt;Very neat Mike! Welcome to the future ;)&lt;/p&gt;</description>
      <pubDate>Thu, 29 Jun 2006 05:57:20 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:e0ebf5ed-36dd-4db4-b3c5-1d61aeabbdc8</guid>
      <link>http://futuretrack5.com/articles/2006/06/29/pimping-a-php-bulleting-board#comment-223</link>
    </item>
    <item>
      <title>Pimping a PHP Bulleting Board</title>
      <description>&lt;p&gt;A few weeks ago I installed &lt;a href="http://www.phpbb.com/" title="phpBB2"&gt;phpBB2&lt;/a&gt; on one of my Linux servers at work. A colleague enquired about an &lt;span class="caps"&gt;RSS&lt;/span&gt; feed, so I whipped up a little &lt;span class="caps"&gt;PHP&lt;/span&gt; script.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;What is &lt;span class="caps"&gt;RSS&lt;/span&gt;?&lt;/b&gt;
&lt;br /&gt;Like &lt;a href="http://www.xhtmlized.com/" title="XHTMLized.com"&gt;&lt;span class="caps"&gt;XHTML&lt;/span&gt;&lt;/a&gt;, &lt;span class="caps"&gt;RSS&lt;/span&gt; is also an &lt;span class="caps"&gt;XML&lt;/span&gt; document. The purpose of &lt;span class="caps"&gt;RSS&lt;/span&gt; is to share/syndicate information with your visitors and affiliate sites.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;In English?&lt;/b&gt;
&lt;br /&gt;&lt;span class="caps"&gt;RSS&lt;/span&gt; is a &lt;span class="caps"&gt;URL&lt;/span&gt; with a collection of news/blog articles associated with a website. Each article has a link to the article, a title, a brief description, an author and a publishing date. If you have interesting content, your visitors will bookmark your &lt;span class="caps"&gt;RSS&lt;/span&gt; &amp;#8220;feed&amp;#8221; to let them know when to come back.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Pimp my board!&lt;/b&gt;
&lt;br /&gt;&lt;a href="http://www.mikeskinner.net/rss2_phpBB2_FutureTrack5.com.txt" title="Download PHP 4/5 file to generate an RSS2 feed for phpBB2"&gt;Download &lt;span class="caps"&gt;PHP 4&lt;/span&gt;/5 file to generate an &lt;span class="caps"&gt;RSS2&lt;/span&gt; feed for phpBB2&lt;/a&gt;
&lt;br /&gt;1) Just drop the &lt;span class="caps"&gt;PHP&lt;/span&gt; file into your phpBB directory (the one with config.php in it).
&lt;br /&gt;2) Set the value of $BaseURL and $BBTitle.
&lt;br /&gt;3) Then add the following inside the &lt;span class="caps"&gt;HEAD&lt;/span&gt; tags of any phpBB template that you have installed:
&lt;br /&gt;&amp;lt;link href=&amp;#8221;http://server/phpBB2/file.php&amp;#8221; rel=&amp;#8221;alternate&amp;#8221; title=&amp;#8221;RSS&amp;#8221; type=&amp;#8221;application/rss+xml&amp;#8221; /&amp;gt;
&lt;br /&gt;(alter the href attribute to point to the &lt;span class="caps"&gt;PHP&lt;/span&gt; file that you saved)&lt;/p&gt;
&lt;p&gt;This script displays newest posts at the top, in the following format: &lt;i&gt;post-id#) username: post-title&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;Feel free to modify this script to your heart&amp;#8217;s content.&lt;/p&gt;
&lt;p&gt;In other news, &lt;a href="http://www.digg.com/" title="Digg"&gt;Digg&lt;/a&gt; v3 is out. It&amp;#8217;s a great example of &lt;a href="http://www.xhtmlized.com/" title="XHTMLized.com"&gt;XHTMLized&lt;/a&gt; Web 2.0 goodness from a collaborative news site.&lt;/p&gt;</description>
      <pubDate>Thu, 29 Jun 2006 03:50:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:74e1b4ac-7ee4-4899-b1bf-fef5a7290827</guid>
      <author>Mike Skinner</author>
      <link>http://futuretrack5.com/articles/2006/06/29/pimping-a-php-bulleting-board</link>
      <trackback:ping>http://futuretrack5.com/articles/trackback/222</trackback:ping>
    </item>
  </channel>
</rss>
