<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Can PHP be used in RSS XML files? (E.g. a varible as the description?</title>
	<atom:link href="http://www.learnxmlws.com/can-php-be-used-in-rss-xml-files-e-g-a-varible-as-the-description/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.learnxmlws.com/can-php-be-used-in-rss-xml-files-e-g-a-varible-as-the-description/</link>
	<description></description>
	<lastBuildDate>Sun, 18 Dec 2011 08:00:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Jake Cigar</title>
		<link>http://www.learnxmlws.com/can-php-be-used-in-rss-xml-files-e-g-a-varible-as-the-description/#comment-2567</link>
		<dc:creator>Jake Cigar</dc:creator>
		<pubDate>Tue, 09 Mar 2010 22:23:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnxmlws.com/can-php-be-used-in-rss-xml-files-e-g-a-varible-as-the-description/#comment-2567</guid>
		<description>a million ways to do it... look for an already written module to use... headers for the http, silly little rss version differences... they can drive ya crazy</description>
		<content:encoded><![CDATA[<p>a million ways to do it&#8230; look for an already written module to use&#8230; headers for the http, silly little rss version differences&#8230; they can drive ya crazy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: howsureyouare</title>
		<link>http://www.learnxmlws.com/can-php-be-used-in-rss-xml-files-e-g-a-varible-as-the-description/#comment-2568</link>
		<dc:creator>howsureyouare</dc:creator>
		<pubDate>Tue, 09 Mar 2010 22:23:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnxmlws.com/can-php-be-used-in-rss-xml-files-e-g-a-varible-as-the-description/#comment-2568</guid>
		<description>you should use rss in php file and send it as application/rss+xml</description>
		<content:encoded><![CDATA[<p>you should use rss in php file and send it as application/rss+xml</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: clievers</title>
		<link>http://www.learnxmlws.com/can-php-be-used-in-rss-xml-files-e-g-a-varible-as-the-description/#comment-2569</link>
		<dc:creator>clievers</dc:creator>
		<pubDate>Tue, 09 Mar 2010 22:23:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnxmlws.com/can-php-be-used-in-rss-xml-files-e-g-a-varible-as-the-description/#comment-2569</guid>
		<description>Yes, you could create a .php file that does whatever you need it to do, but output its content as xml.

&lt;?php 
    header(&quot;Pragma: no-cache&quot;); 
    header(&quot;Content-Type: text/xml&quot;);
    echo &quot;&lt;?xml version=\&quot;1.0\&quot; encoding=\&quot;iso-8859-1\&quot;?&gt;\n&quot;; 

   /* Do your PHP stuff */

   echo &quot;&lt;node&gt;&quot;;
   echo &quot;&lt;/node&gt;&quot;;
?&gt;</description>
		<content:encoded><![CDATA[<p>Yes, you could create a .php file that does whatever you need it to do, but output its content as xml.</p>
<p>&lt;?php<br />
    header(&quot;Pragma: no-cache&quot;);<br />
    header(&quot;Content-Type: text/xml&quot;);<br />
    echo &quot;&lt;?xml version=\&quot;1.0\&quot; encoding=\&quot;iso-8859-1\&quot;?&gt;\n&quot;; </p>
<p>   /* Do your PHP stuff */</p>
<p>   echo &quot;&lt;node&gt;&quot;;<br />
   echo &quot;&lt;/node&gt;&quot;;<br />
?&gt;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

