<?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: WordPress Sitemap Class</title>
	<atom:link href="http://code.garyjones.co.uk/wordpress-sitemap-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://code.garyjones.co.uk/wordpress-sitemap-class/</link>
	<description>A store for the bits of code I&#039;m always forgetting...</description>
	<lastBuildDate>Sun, 05 Feb 2012 16:43:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Alex</title>
		<link>http://code.garyjones.co.uk/wordpress-sitemap-class/#comment-1501</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Mon, 12 Dec 2011 02:29:58 +0000</pubDate>
		<guid isPermaLink="false">http://code.garyjones.co.uk/?p=174#comment-1501</guid>
		<description>Hi Gary,

Hey, thanks for your help. Much appreciated!

Alex</description>
		<content:encoded><![CDATA[<p>Hi Gary,</p>
<p>Hey, thanks for your help. Much appreciated!</p>
<p>Alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary</title>
		<link>http://code.garyjones.co.uk/wordpress-sitemap-class/#comment-1407</link>
		<dc:creator>Gary</dc:creator>
		<pubDate>Thu, 08 Dec 2011 11:46:34 +0000</pubDate>
		<guid isPermaLink="false">http://code.garyjones.co.uk/?p=174#comment-1407</guid>
		<description>Hi Alex,

I&#039;ve updated the post to unmangle what WordPress did to it. You may need to tweak the code inside the final function if it&#039;s not outputting anything.</description>
		<content:encoded><![CDATA[<p>Hi Alex,</p>
<p>I&#8217;ve updated the post to unmangle what WordPress did to it. You may need to tweak the code inside the final function if it&#8217;s not outputting anything.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://code.garyjones.co.uk/wordpress-sitemap-class/#comment-1349</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Mon, 05 Dec 2011 01:36:33 +0000</pubDate>
		<guid isPermaLink="false">http://code.garyjones.co.uk/?p=174#comment-1349</guid>
		<description>Great stuff! Thanks for posting this code.

I&#039;m a bit of a newbie to this. I have copied and pasted the code into a PHP page (new, blank page) and have replaced character encodings (eg. &gt;) with the correct character.

But I still get an error showing up in the following line of code:

&lt;pre&gt;&lt;code&gt;if ( &#039;pages&#039; === $section ) {
	$output .= &#039;_headingLevel . &#039;&gt;&#039; . $this-&gt;_pagesText . &#039;_headingLevel . &#039;&gt;&#039; . &quot;\n&quot;
	. &#039;&#039; . &quot;\n&quot; . wp_list_pages(&#039;echo=0&amp;show_date=&#039; . $this-&gt;_showPageDate . &#039;&amp;date_format=&#039; . $this-&gt;_pagesDateFormat . &#039;&amp;title_li=&amp;&#039; . $this-&gt;_customPagesQuery) . &#039;&#039; . &quot;\n&quot;;
}
&lt;/code&gt;&lt;/pre&gt;

I wonder if you can help me spot the error?

Many thanks

Alex</description>
		<content:encoded><![CDATA[<p>Great stuff! Thanks for posting this code.</p>
<p>I&#8217;m a bit of a newbie to this. I have copied and pasted the code into a PHP page (new, blank page) and have replaced character encodings (eg. &gt;) with the correct character.</p>
<p>But I still get an error showing up in the following line of code:</p>
<pre><code>if ( 'pages' === $section ) {
	$output .= '_headingLevel . '&gt;' . $this-&gt;_pagesText . '_headingLevel . '&gt;' . "\n"
	. '' . "\n" . wp_list_pages('echo=0&amp;show_date=' . $this-&gt;_showPageDate . '&amp;date_format=' . $this-&gt;_pagesDateFormat . '&amp;title_li=&amp;' . $this-&gt;_customPagesQuery) . '' . "\n";
}
</code></pre>
<p>I wonder if you can help me spot the error?</p>
<p>Many thanks</p>
<p>Alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary</title>
		<link>http://code.garyjones.co.uk/wordpress-sitemap-class/#comment-292</link>
		<dc:creator>Gary</dc:creator>
		<pubDate>Thu, 30 Sep 2010 01:47:36 +0000</pubDate>
		<guid isPermaLink="false">http://code.garyjones.co.uk/?p=174#comment-292</guid>
		<description>Hi Edward,
Thank you for taking the time to comment. As other comments might reveal, it&#039;s not totally fool-proof, but for the most part, it opens up a new way of thinking with regard to customisations like this.</description>
		<content:encoded><![CDATA[<p>Hi Edward,<br />
Thank you for taking the time to comment. As other comments might reveal, it&#8217;s not totally fool-proof, but for the most part, it opens up a new way of thinking with regard to customisations like this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Edward Beckett</title>
		<link>http://code.garyjones.co.uk/wordpress-sitemap-class/#comment-288</link>
		<dc:creator>Edward Beckett</dc:creator>
		<pubDate>Tue, 28 Sep 2010 20:55:51 +0000</pubDate>
		<guid isPermaLink="false">http://code.garyjones.co.uk/?p=174#comment-288</guid>
		<description>Gary ...

This is one of the most impressive demonstrations I&#039;ve seen on working with customization via the thesis theme. I&#039;ve seen several different methodologies to creating templates and custom pages ... However, your use of working with OO classes seems to be the most elegant thus far...

Thanks for such an excellent post 

EB</description>
		<content:encoded><![CDATA[<p>Gary &#8230;</p>
<p>This is one of the most impressive demonstrations I&#8217;ve seen on working with customization via the thesis theme. I&#8217;ve seen several different methodologies to creating templates and custom pages &#8230; However, your use of working with OO classes seems to be the most elegant thus far&#8230;</p>
<p>Thanks for such an excellent post </p>
<p>EB</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://code.garyjones.co.uk/wordpress-sitemap-class/#comment-278</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Fri, 24 Sep 2010 12:26:42 +0000</pubDate>
		<guid isPermaLink="false">http://code.garyjones.co.uk/?p=174#comment-278</guid>
		<description>I ave copied everything over as you suggest but get a php error Parse error: syntax error, unexpected T_STRING on line 214 any ideas why that might be?  tried both php4 and php5 versions in case.
Thanks</description>
		<content:encoded><![CDATA[<p>I ave copied everything over as you suggest but get a php error Parse error: syntax error, unexpected T_STRING on line 214 any ideas why that might be?  tried both php4 and php5 versions in case.<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://code.garyjones.co.uk/wordpress-sitemap-class/#comment-136</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Sat, 28 Aug 2010 17:47:59 +0000</pubDate>
		<guid isPermaLink="false">http://code.garyjones.co.uk/?p=174#comment-136</guid>
		<description>Now I get the same on 215..

Parse error: syntax error, unexpected T_STRING in /home2/user/public_html/my domain/wp-content/themes/thesis_17/custom/classes/GT_Sitemap.php on line 215</description>
		<content:encoded><![CDATA[<p>Now I get the same on 215..</p>
<p>Parse error: syntax error, unexpected T_STRING in /home2/user/public_html/my domain/wp-content/themes/thesis_17/custom/classes/GT_Sitemap.php on line 215</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary</title>
		<link>http://code.garyjones.co.uk/wordpress-sitemap-class/#comment-135</link>
		<dc:creator>Gary</dc:creator>
		<pubDate>Sat, 28 Aug 2010 16:08:11 +0000</pubDate>
		<guid isPermaLink="false">http://code.garyjones.co.uk/?p=174#comment-135</guid>
		<description>Hi Sean,

There was an error in the code on line 76 that probably only would have been parsed if you&#039;re running PHP4. Give that a try now.</description>
		<content:encoded><![CDATA[<p>Hi Sean,</p>
<p>There was an error in the code on line 76 that probably only would have been parsed if you&#8217;re running PHP4. Give that a try now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://code.garyjones.co.uk/wordpress-sitemap-class/#comment-134</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Sat, 28 Aug 2010 15:13:35 +0000</pubDate>
		<guid isPermaLink="false">http://code.garyjones.co.uk/?p=174#comment-134</guid>
		<description>Hey Gary,

I am getting an error on line 77...any idea why?

Parse error: syntax error, unexpected T_STRING in /home2/username/public_html/mysite/wp-content/themes/thesis_17/custom/classes/GT_Sitemap.php on line 77</description>
		<content:encoded><![CDATA[<p>Hey Gary,</p>
<p>I am getting an error on line 77&#8230;any idea why?</p>
<p>Parse error: syntax error, unexpected T_STRING in /home2/username/public_html/mysite/wp-content/themes/thesis_17/custom/classes/GT_Sitemap.php on line 77</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WordPress Sitemap Class for PHP 4 — Gary&#039;s Code</title>
		<link>http://code.garyjones.co.uk/wordpress-sitemap-class/#comment-76</link>
		<dc:creator>WordPress Sitemap Class for PHP 4 — Gary&#039;s Code</dc:creator>
		<pubDate>Sun, 15 Aug 2010 23:15:16 +0000</pubDate>
		<guid isPermaLink="false">http://code.garyjones.co.uk/?p=174#comment-76</guid>
		<description>[...] see WordPress Sitemap Class for the main write-up and code [...]</description>
		<content:encoded><![CDATA[<p>[...] see WordPress Sitemap Class for the main write-up and code [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

