<?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>PHP Tutorials Code Snippets and Php Tips &#187; xml feed</title>
	<atom:link href="http://readytousesolutions.com/phpblog/tag/xml-feed/feed/" rel="self" type="application/rss+xml" />
	<link>http://readytousesolutions.com/phpblog</link>
	<description>PHP tutorials - Examples of the most useful scripts</description>
	<lastBuildDate>Thu, 23 Sep 2010 06:54:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>PHP Tutorial : Create a RSS / XMLS Feed</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-create-a-rss-xmls-feed/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-create-a-rss-xmls-feed/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 06:37:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Usefull PHP]]></category>
		<category><![CDATA[dynamic feed]]></category>
		<category><![CDATA[feed]]></category>
		<category><![CDATA[php dynamic feed]]></category>
		<category><![CDATA[php dynamic rss xml feed]]></category>
		<category><![CDATA[php feed]]></category>
		<category><![CDATA[php feed header]]></category>
		<category><![CDATA[php header]]></category>
		<category><![CDATA[php rss xml feed]]></category>
		<category><![CDATA[php xml feed]]></category>
		<category><![CDATA[rss feed]]></category>
		<category><![CDATA[rss header]]></category>
		<category><![CDATA[rss xml feed]]></category>
		<category><![CDATA[xml feed]]></category>
		<category><![CDATA[xml header]]></category>

		<guid isPermaLink="false">http://www.crivionweb.com/phpblog/?p=172</guid>
		<description><![CDATA[Welcome, In this tutorial I will show you how to create a basic rss / xml feed with php. Basically, if you know how to create a feed in notepad, wordpad or whatever text editor, this will be easy. The &#8230; <a href="http://readytousesolutions.com/phpblog/php-tutorial-create-a-rss-xmls-feed/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Welcome,</p>
<p>In this tutorial I will show you how to create a basic rss / xml feed with php. Basically, if you know how to create a feed in notepad, wordpad or whatever text editor, this will be easy. The difference between creating a php xml / rss feed and a &#8220;normal&#8221; one it&#8217;s that you can do this feed dinamyc later, by extracting feed elements from a database such as MySQL.</p>
<pre class="php">
<span class="phpScriptTag"><span class="phpOperator">&lt;</span><span class="phpOperator">?</span>php</span>
$XMLoutput <span class="phpOperator">=</span> <span class="phpString">"<span class="phpOperator">&lt;</span><span class="phpOperator">?</span><span class="htmlText">xml version</span><span class="phpOperator">=</span>\"</span><span class="phpNumber">1</span><span class="phpOperator">.</span><span class="phpNumber">0</span>\&quot;<span class="phpScriptTag"><span class="phpOperator">?</span><span class="phpOperator">&gt;</span></span>
<span class="htmlOtherTag">&lt;rss version=\&quot;2.0\&quot;&gt;</span>
<span class="htmlOtherTag">&lt;channel&gt;</span>
<span class="htmlOtherTag">&lt;title&gt;</span>PHP RSS XML FEED<span class="htmlOtherTag">&lt;/title&gt;</span>
<span class="htmlOtherTag">&lt;link&gt;</span>http://www.exampledomain.com/RSS-XML-FEED.php<span class="htmlOtherTag">&lt;/link&gt;</span>
<span class="htmlOtherTag">&lt;description&gt;</span>RSS Feed Description<span class="htmlOtherTag">&lt;/description&gt;</span>
<span class="htmlOtherTag">&lt;language&gt;</span>en-us<span class="htmlOtherTag">&lt;/language&gt;</span>
<span class="htmlOtherTag">&lt;pubDate&gt;</span>dd/mm/yy<span class="htmlOtherTag">&lt;/pubDate&gt;</span>
<span class="htmlOtherTag">&lt;lastBuildDate&gt;</span>dd/mm/yy<span class="htmlOtherTag">&lt;/lastBuildDate&gt;</span>
&quot;;
$XMLoutput .= &quot; <span class="htmlOtherTag">&lt;item&gt;</span>
<span class="htmlOtherTag">&lt;title&gt;</span>A title here<span class="htmlOtherTag">&lt;/title&gt;</span>
<span class="htmlOtherTag">&lt;link&gt;</span>Some link here<span class="htmlOtherTag">&lt;/link&gt;</span>
<span class="htmlOtherTag">&lt;description&gt;</span>description goes here<span class="htmlOtherTag">&lt;/description&gt;</span>
<span class="htmlOtherTag">&lt;/item&gt;</span>&quot;;
$XMLoutput .= &quot;<span class="htmlOtherTag">&lt;/channel&gt;</span><span class="htmlOtherTag">&lt;/rss&gt;</span>&quot;;
header(&quot;Content-Type: application/rss+xml&quot;);
print $XMLoutput;
?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-create-a-rss-xmls-feed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

