<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>GeekShed IRC &#187; topic</title>
	<atom:link href="http://www.geekshed.net/tag/topic/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geekshed.net</link>
	<description>GeekShed IRC Network</description>
	<lastBuildDate>Sun, 29 Aug 2010 13:42:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Topic RSS</title>
		<link>http://www.geekshed.net/2009/10/topic-rss/</link>
		<comments>http://www.geekshed.net/2009/10/topic-rss/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 23:33:21 +0000</pubDate>
		<dc:creator>Phil</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[channel]]></category>
		<category><![CDATA[feed]]></category>
		<category><![CDATA[for you]]></category>
		<category><![CDATA[RSS]]></category>
		<category><![CDATA[topic]]></category>

		<guid isPermaLink="false">http://www.geekshed.net/?p=79</guid>
		<description><![CDATA[We have setup the following RSS feeds that track topic changes. For the current topic of every channel on the network use: feed://rss.geekshed.net/ For a feed that returns the current topic of any channel you specify replace, &#8220;help&#8221; with the channel name you want: feed://rss.geekshed.net/?type=single&#038;channel=help For a feed that returns the last 10 topics of...]]></description>
			<content:encoded><![CDATA[<p>We have setup the following RSS feeds that track topic changes.</p>
<p>For the current topic of every channel on the network use: <a href="feed://rss.geekshed.net/">feed://rss.geekshed.net/</a> </p>
<p>For a feed that returns the current topic of any channel you specify replace, &#8220;help&#8221; with the channel name you want: <a href="feed://rss.geekshed.net/?type=single&#038;channel=help">feed://rss.geekshed.net/?type=single&#038;channel=help</a></p>
<p>For a feed that returns the last 10 topics of any single channel you specify replace, &#8220;chris&#8221; with the channel name you want: <a href="feed://rss.geekshed.net/?type=singlehistory&#038;channel=chris">feed://rss.geekshed.net/?type=singlehistory&#038;channel=chris</a></p>
<p>For example, you could use this free script to display your chat&#8217;s current topic or history of topics on your web site.</p>
<p>Note: Do not include the pound sign in your channel name.</p>
<p>The GeekShed topic RSS service also supports switching of topic and main body. This may help with ease of use in some RSS readers.</p>
<p>To use the new switch feature, simply tag &#038;switch onto the end of your RSS feed URL. For example: <a href="http://rss.geekshed.net?type=singlehistory&#038;channel=help&#038;switch">http://rss.geekshed.net?type=singlehistory&#038;channel=help&#038;switch</a></p>
<p>
To use the data from this RSS feed to put the current topic on your website, use the following code:
<br /><br />
<code>&lt;?php<br />
// Edit This<br />
$chan = 'phil';<br />
<br />
// Don't edit this<br />
$xml = simplexml_load_file('http://rss.geekshed.net/?type=single&amp;channel='.$chan);<br />
?&gt;<br />
<br />
&lt;!-- Edit this HTML to suit your layout --&gt;<br />
#&lt;?php echo $chan; ?&gt; Topic: &lt;?php echo htmlentities($xml-&gt;channel-&gt;item-&gt;description); ?&gt;<br />
</code>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekshed.net/2009/10/topic-rss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
