<?xml version="1.0" encoding="UTF8"?>
<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>Lefthandedlayup &#187; xml</title>
	<atom:link href="http://www.lefthandedlayup.com/tag/xml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lefthandedlayup.com</link>
	<description></description>
	<lastBuildDate>Fri, 30 Dec 2011 02:37:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>XML Feed Finally Validating</title>
		<link>http://www.lefthandedlayup.com/2008/06/02/xml-feed-finally-validating/</link>
		<comments>http://www.lefthandedlayup.com/2008/06/02/xml-feed-finally-validating/#comments</comments>
		<pubDate>Mon, 02 Jun 2008 04:47:36 +0000</pubDate>
		<dc:creator>Gabriel Mercado</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[plug]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.lefthandedlayup.com/?p=555</guid>
		<description><![CDATA[I just fixed one of the most confounding problems I'd ever come across on WordPress, so I'm sharing how I did it because I definitely couldn't find the solution after weeks of trying. See I was trying to get the &#8230; <a href="http://www.lefthandedlayup.com/2008/06/02/xml-feed-finally-validating/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I just fixed one of the most confounding problems I'd ever come across on WordPress, so I'm sharing how I did it because I definitely couldn't find the solution after weeks of trying.</p>
<p>See I was trying to get the valid XML feed for a particular Tag or Category from this blog, <a href="http://archives.free.net.ph/message/20080428.104655.be455adc.en.html">a process I've instigated on PLUG's mailing list</a>, so that the <a href="http://linux.org.ph">PLUG website</a> can aggregate feeds tagged as 'plug' or 'open source' or 'foss' voluntarily submitted by its (currently 130+ strong) membership.</p>
<p>The problem was when I try to get the feed URL, for example:</p>
<p><a rel="nofollow" href="http://www.lefthandedlayup.com/index.php/tag/plug/feed">http://www.lefthandedlayup.com/index.php/tag/plug/feed</a></p>
<p>I get this error:</p>
<blockquote><p>XML Parsing Error: xml declaration not at start of external entity<br />
Location: http://www.lefthandedlayup.com/index.php/tag/plug/feed<br />
Line Number 2, Column 1:</p>
<p>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br />
^
</p></blockquote>
<p><span id="more-555"></span></p>
<p>After weeks of searching and asking <a href="http://wordpress.org/support/topic/179779?replies=1#post-772109">at the WordPress Forums</a> to no avail, I've finally tried validating at <a href="http://feedvalidator.org/">Feedvalidator</a>, which recommended amongst other things, <a href="http://feedvalidator.org/docs/error/WPBlankLine.html">I check my wp-rss2.php</a>.</p>
<p>And there I found it. What looks like this:</p>
<div align="center"><img src="http://www.lefthandedlayup.com/wp-content/uploads/2008/06/jun022008_error_01.jpg" alt="" title="jun022008_error_01" width="386" height="175" class="aligncenter size-full wp-image-556" /></div>
<p>should be like this:</p>
<div align="center"><img src="http://www.lefthandedlayup.com/wp-content/uploads/2008/06/jun022008_error_02.jpg" alt="" title="jun022008_error_02" width="386" height="175" class="aligncenter size-full wp-image-557" /></div>
<p>In short, remove the spaces on line #9 on your wp-rss2.php. Now it's validating. Check it <a rel="nofollow" href="http://www.lefthandedlayup.com/index.php/tag/plug/feed">here</a>.</p>
<p>Can't wait to apply it on the other sites. Basketball Exchange, in particular, has got XML errors up the wazoo.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lefthandedlayup.com/2008/06/02/xml-feed-finally-validating/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

