<?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>Watty Stuff &#187; simplexml</title>
	<atom:link href="http://www.wattystuff.net/tag/simplexml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wattystuff.net</link>
	<description>Musings on Technology, Broadband and Consumer Issues</description>
	<lastBuildDate>Fri, 15 Jul 2011 09:53:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>XML, RSS, PHP and SimpleXMLElement</title>
		<link>http://www.wattystuff.net/2009/10/xml-rss-php-and-simplexmlelement/</link>
		<comments>http://www.wattystuff.net/2009/10/xml-rss-php-and-simplexmlelement/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 22:22:44 +0000</pubDate>
		<dc:creator>Watty</dc:creator>
				<category><![CDATA[About Watty Stuff]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[RSS]]></category>
		<category><![CDATA[simplexml]]></category>

		<guid isPermaLink="false">http://www.wattystuff.net/?p=55</guid>
		<description><![CDATA[A lot of people have multipage PHP scripts to read &#60;content:encoded&#62; CDATA part of RSS believing that SimpleXML in PHP can&#8217;t do it. Well it can! content is referring to  the Namespace used. viz at the start of the Feed is the clue: &#60;rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/"&#62; This Guy explains it well Here is another [...]]]></description>
			<content:encoded><![CDATA[<p>A lot of people have multipage PHP scripts to read <strong>&lt;content:encoded&gt; CDATA</strong> part of RSS believing that SimpleXML in PHP can&#8217;t do it.</p>
<p>Well it can!</p>
<p>content is referring to  the Namespace used.</p>
<p>viz at the start of the Feed is the clue:</p>
<pre>&lt;rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:content="http://purl.org/rss/1.0/modules/content/"&gt;</pre>
<p><a href="http://blog.stuartherbert.com/php/2007/01/07/using-simplexml-to-parse-rss-feeds/" target="_blank">This Guy explains it well</a> Here is <a href="http://debuggable.com/posts/parsing-xml-using-simplexml:480f4dfe-6a58-4a17-a133-455acbdd56cb">another good post</a><br />
The <a href="http://www.techtir.ie/">Techtir.ie portal</a> has the &#8220;posts&#8221; content filled in from Forum Posts via RSS by including content:encoded and CDATA  parts in the RSS feeds, using only a fragment of PHP in the &#8220;post&#8221; via SimpleXMLElement.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wattystuff.net/2009/10/xml-rss-php-and-simplexmlelement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

