<?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>Tom&#039;s Blog &#187; generate rss</title>
	<atom:link href="http://www.thomasnorberg.com/tag/generate-rss/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thomasnorberg.com</link>
	<description>Where anything is everything</description>
	<lastBuildDate>Wed, 14 Apr 2010 20:43: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>My own RSS for music files from PHP</title>
		<link>http://www.thomasnorberg.com/2009/05/my-own-rss-for-music-files-from-php/</link>
		<comments>http://www.thomasnorberg.com/2009/05/my-own-rss-for-music-files-from-php/#comments</comments>
		<pubDate>Fri, 29 May 2009 18:45:53 +0000</pubDate>
		<dc:creator>Thomas Norberg</dc:creator>
				<category><![CDATA[HTML Code, Java, PHP and Wordpress]]></category>
		<category><![CDATA[Code Breaking]]></category>
		<category><![CDATA[generate rss]]></category>
		<category><![CDATA[music folder]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[RSS]]></category>

		<guid isPermaLink="false">http://www.thomasnorberg.com/?p=1718</guid>
		<description><![CDATA[If you have read the previous post about the <a href="http://www.thomasnorberg.com/2009/05/17/website-music-player/">Website Music Player</a> than you should be able to understand a little more about what is said in this post.

I was searching for hours and hours the other day and found some snippets of code to generate my music RSS and wow I love IT! I used PHP and xml to generate the RSS format.

I first had thought about how I generated the .xml code from the <a href="http://www.thomasnorberg.com/wp-content/plugins/mp3-player-plugin-for-wordpress/playlist.php">media player list</a> and then found some things that could help in order to generate the correct information for the RSS feed.

So here is the code that I made that works: (put this code in a <code>music_rss.php</code> file)<br /><div><img src="http://www.thomasnorberg.com/wp-content/plugins/gd-star-rating/gfx.php?value=9.0" /></div><div>Rating: 9.0/<strong>10</strong> (1 vote cast)</div><br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://www.thomasnorberg.com/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br />]]></description>
		<wfw:commentRss>http://www.thomasnorberg.com/2009/05/my-own-rss-for-music-files-from-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
