<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
	>
<channel>
	<title>Comments on: Design the perfect Atom feed for WordPress</title>
	<atom:link href="http://www.g-loaded.eu/2005/12/08/wordpress-atom-feed/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.g-loaded.eu/2005/12/08/wordpress-atom-feed/</link>
	<description>An open-source software and technology related journal</description>
	<lastBuildDate>Fri, 03 Feb 2012 18:35:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: GNot</title>
		<link>http://www.g-loaded.eu/2005/12/08/wordpress-atom-feed/#comment-5126</link>
		<dc:creator>GNot</dc:creator>
		<pubDate>Mon, 27 Nov 2006 09:35:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.g-loaded.eu/?p=111#comment-5126</guid>
		<description>I hadn&#039;t noticed that the html type was available from the bloginfo() function. Thanks.</description>
		<content:encoded><![CDATA[<p>I hadn&#8217;t noticed that the html type was available from the bloginfo() function. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ahmad Gharbeia</title>
		<link>http://www.g-loaded.eu/2005/12/08/wordpress-atom-feed/#comment-5113</link>
		<dc:creator>Ahmad Gharbeia</dc:creator>
		<pubDate>Sat, 25 Nov 2006 01:19:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.g-loaded.eu/?p=111#comment-5113</guid>
		<description>In modifications starting from line 20 (of wp-atom.php v.1.5.2):
&lt;code&gt;
&lt;link rel=&quot;alternate&quot; type=&quot;text/html&quot; hreflang=&quot;&lt;?php echo get_option(&apos;rss_language&apos;); ?&gt;&quot; href=&quot;&lt;?php bloginfo_rss(&apos;home&apos;) ?&gt;&quot; /&gt;
&lt;/code&gt;
if you replace &lt;code&gt;type=&quot;text/html&quot;&lt;/code&gt; with the function call &lt;code&gt;type=&quot;&lt;?php bloginfo(&apos;html_type&apos;); ?&gt;&quot;&lt;/code&gt;,  then make sure that the blog&#039;s actual content-type is always present, if it ever gets changed, instead of hard coding it.
(posting again with escaped code, was stripped)</description>
		<content:encoded><![CDATA[<p>In modifications starting from line 20 (of wp-atom.php v.1.5.2):</p>
<p><code><br />
&lt;link rel=&quot;alternate&quot; type=&quot;text/html&quot; hreflang=&quot;&lt;?php echo get_option(&apos;rss_language&apos;); ?&gt;&quot; href=&quot;&lt;?php bloginfo_rss(&apos;home&apos;) ?&gt;&quot; /&gt;<br />
</code></p>
<p>if you replace <code>type=&quot;text/html&quot;</code> with the function call <code>type=&quot;&lt;?php bloginfo(&apos;html_type&apos;); ?&gt;&quot;</code>,  then make sure that the blog&#8217;s actual content-type is always present, if it ever gets changed, instead of hard coding it.</p>
<p>(posting again with escaped code, was stripped)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Boris</title>
		<link>http://www.g-loaded.eu/2005/12/08/wordpress-atom-feed/#comment-416</link>
		<dc:creator>Boris</dc:creator>
		<pubDate>Tue, 28 Mar 2006 08:15:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.g-loaded.eu/?p=111#comment-416</guid>
		<description>Thanks Raoul, it works now!
While trying myself I escaped the &#039;T&#039; and somehow lost the &#039;H&#039;... grrr...
Now WP 2.0.2 seems to be completely valid.</description>
		<content:encoded><![CDATA[<p>Thanks Raoul, it works now!<br />
While trying myself I escaped the &#8216;T&#8217; and somehow lost the &#8216;H&#8217;&#8230; grrr&#8230;<br />
Now WP 2.0.2 seems to be completely valid.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gnot</title>
		<link>http://www.g-loaded.eu/2005/12/08/wordpress-atom-feed/#comment-415</link>
		<dc:creator>Gnot</dc:creator>
		<pubDate>Tue, 28 Mar 2006 03:07:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.g-loaded.eu/?p=111#comment-415</guid>
		<description>Hi Boris,
You are right. The references of the form: &lt;code&gt;mysql2date(&#039;Y-m-dTH:i:sZ&#039; ...&lt;/code&gt; should be:
&lt;code&gt;mysql2date(&#039;Y-m-dTH:i:s&#039; ...&lt;/code&gt;
&lt;strong&gt;T&lt;/strong&gt; and &lt;strong&gt;Z&lt;/strong&gt; need to be escaped, otherwise they are translated to the current timezone and the difference from UTC time in seconds respectively. These are not needed because we use the UTC time in the timestamp.
I wrote this article in WP 1.5.2 and I am pretty sure it showed the backslashes correctly inside the &lt;code&gt;pre&lt;/code&gt; HTML tags. Now I need to put 2 backslashes, so that one is shown in the article. WP really pisses me off sometimes... or this was wrong from the beginning and neither I nor any other reader had noticed it. ;-)
Thanks for pointing this out!</description>
		<content:encoded><![CDATA[<p>Hi Boris,<br />
You are right. The references of the form: <code>mysql2date('Y-m-dTH:i:sZ' ...</code> should be:</p>
<p><code>mysql2date('Y-m-dTH:i:s' ...</code></p>
<p><strong>T</strong> and <strong>Z</strong> need to be escaped, otherwise they are translated to the current timezone and the difference from UTC time in seconds respectively. These are not needed because we use the UTC time in the timestamp.</p>
<p>I wrote this article in WP 1.5.2 and I am pretty sure it showed the backslashes correctly inside the <code>pre</code> HTML tags. Now I need to put 2 backslashes, so that one is shown in the article. WP really pisses me off sometimes&#8230; or this was wrong from the beginning and neither I nor any other reader had noticed it. ;-)</p>
<p>Thanks for pointing this out!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Boris</title>
		<link>http://www.g-loaded.eu/2005/12/08/wordpress-atom-feed/#comment-414</link>
		<dc:creator>Boris</dc:creator>
		<pubDate>Mon, 27 Mar 2006 22:17:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.g-loaded.eu/?p=111#comment-414</guid>
		<description>Thanks for this little tutorial, I&#039;m just on my way to get my Wordpress Atom Feed to 1.0. But I have a problem to get my time stamp (in &lt;updated&gt;) &lt;strong&gt;valid&lt;/strong&gt;.
If I use it as comes with Your code, the Feed Validator at W3C declares the date-time expression as invalid according to RFC-3339.
The given code &lt;code&gt;mysql2date(&#039;Y-m-dTH:i:sZ&#039; ...&lt;/code&gt; produces this date-time expression in my feed:
2006-03-27CEST21:03:107200
I tried to get around with the help of the validator&#039;s help (ehm...) in some ways, but I&#039;m rather confused now... Maybe You have some idea?</description>
		<content:encoded><![CDATA[<p>Thanks for this little tutorial, I&#8217;m just on my way to get my WordPress Atom Feed to 1.0. But I have a problem to get my time stamp (in &lt;updated&gt;) <strong>valid</strong>.</p>
<p>If I use it as comes with Your code, the Feed Validator at W3C declares the date-time expression as invalid according to RFC-3339.</p>
<p>The given code <code>mysql2date('Y-m-dTH:i:sZ' ...</code> produces this date-time expression in my feed:</p>
<p>2006-03-27CEST21:03:107200</p>
<p>I tried to get around with the help of the validator&#8217;s help (ehm&#8230;) in some ways, but I&#8217;m rather confused now&#8230; Maybe You have some idea?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gnot</title>
		<link>http://www.g-loaded.eu/2005/12/08/wordpress-atom-feed/#comment-81</link>
		<dc:creator>Gnot</dc:creator>
		<pubDate>Mon, 02 Jan 2006 02:40:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.g-loaded.eu/?p=111#comment-81</guid>
		<description>&lt;cite&gt;Tomjack&lt;/cite&gt;: Hello, thanks for your good words, but let&#039;s try to keep comments on-topic and things in-tact. You may use my email address if your comment is just a &quot;hello&quot; message. Thanks in advance for your understanding :-)</description>
		<content:encoded><![CDATA[<p><cite>Tomjack</cite>: Hello, thanks for your good words, but let&#8217;s try to keep comments on-topic and things in-tact. You may use my email address if your comment is just a &#8220;hello&#8221; message. Thanks in advance for your understanding :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomjack</title>
		<link>http://www.g-loaded.eu/2005/12/08/wordpress-atom-feed/#comment-76</link>
		<dc:creator>Tomjack</dc:creator>
		<pubDate>Sat, 31 Dec 2005 00:20:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.g-loaded.eu/?p=111#comment-76</guid>
		<description>hello, nice blog</description>
		<content:encoded><![CDATA[<p>hello, nice blog</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomjack</title>
		<link>http://www.g-loaded.eu/2005/12/08/wordpress-atom-feed/#comment-75</link>
		<dc:creator>Tomjack</dc:creator>
		<pubDate>Wed, 28 Dec 2005 11:22:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.g-loaded.eu/?p=111#comment-75</guid>
		<description>Hi There... Interesting blog :-)</description>
		<content:encoded><![CDATA[<p>Hi There&#8230; Interesting blog :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George</title>
		<link>http://www.g-loaded.eu/2005/12/08/wordpress-atom-feed/#comment-58</link>
		<dc:creator>George</dc:creator>
		<pubDate>Sun, 11 Dec 2005 20:24:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.g-loaded.eu/?p=111#comment-58</guid>
		<description>Thanks for the info Raoul, good job! - George</description>
		<content:encoded><![CDATA[<p>Thanks for the info Raoul, good job! &#8211; George</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gnot</title>
		<link>http://www.g-loaded.eu/2005/12/08/wordpress-atom-feed/#comment-54</link>
		<dc:creator>Gnot</dc:creator>
		<pubDate>Thu, 08 Dec 2005 19:34:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.g-loaded.eu/?p=111#comment-54</guid>
		<description>The code above was edited.
I removed the &quot;xhtml&quot; type from the &lt;code&gt;rights&lt;/code&gt; element too, just to be on the safe side.
George, thanks for your feedback.
&lt;strong&gt;UPDATE&lt;/strong&gt; [&lt;em&gt;December 9th, 2005&lt;/em&gt;]
In the above code only the following elements are set to type &quot;&lt;strong&gt;xhtml&lt;/strong&gt;&quot;:
- &lt;code&gt;subtitle&lt;/code&gt; : subelement of the &lt;code&gt;feed&lt;/code&gt; element
- &lt;code&gt;summary&lt;/code&gt; : subelement of the &lt;code&gt;entry&lt;/code&gt; element
- &lt;code&gt;content&lt;/code&gt; : subelement of the &lt;code&gt;entry&lt;/code&gt; element
This should not produce any problems with Google or with any other feed reader or engine or bot. At least, I haven&#039;t encountered any.
The problem &lt;cite&gt;George&lt;/cite&gt; indicated in the previous comment does not exist any more. The Google blogsearch lists the titles of my posts correctly.
</description>
		<content:encoded><![CDATA[<p>The code above was edited.<br />
I removed the &quot;xhtml&quot; type from the <code>rights</code> element too, just to be on the safe side.</p>
<p>George, thanks for your feedback.</p>
<p><strong>UPDATE</strong> [<em>December 9th, 2005</em>]<br />
In the above code only the following elements are set to type &quot;<strong>xhtml</strong>&quot;:<br />
- <code>subtitle</code> : subelement of the <code>feed</code> element<br />
- <code>summary</code> : subelement of the <code>entry</code> element<br />
- <code>content</code> : subelement of the <code>entry</code> element</p>
<p>This should not produce any problems with Google or with any other feed reader or engine or bot. At least, I haven&#8217;t encountered any.</p>
<p>The problem <cite>George</cite> indicated in the previous comment does not exist any more. The Google blogsearch lists the titles of my posts correctly.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

