<?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"
	>
<channel>
	<title>Comments on: Customizing WordPress feed content</title>
	<atom:link href="http://www.bioneural.net/2008/04/13/customizing-wordpress-feed-content/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bioneural.net/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fwww.bioneural.net%2F2008%2F04%2F13%2Fcustomizing-wordpress-feed-content%2F%23comment-&amp;seed_title=Customizing+WordPress+feed+content</link>
	<description>bioneural.net is for stuff worth sharing: commentary by Bruce McKenzie. Major topics covered are gadgets, informatics, Internet, Mac, mobile, musings, New Zealand, photography, Project Koru, quicklinks, rant, rave, travel and Windows</description>
	<pubDate>Sat, 26 Jul 2008 03:00:13 +0000</pubDate>
	
		<item>
		<title>By: Submarine</title>
		<link>http://www.bioneural.net/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fwww.bioneural.net%2F2008%2F04%2F13%2Fcustomizing-wordpress-feed-content%2F%23comment-76634&amp;seed_title=Customizing+WordPress+feed+content#comment-76634</link>
		<dc:creator>Submarine</dc:creator>
		<pubDate>Thu, 17 Apr 2008 15:35:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.bioneural.net/?p=920#comment-76634</guid>
		<description>Bruce, here is a &lt;a href="http://categoryicons.wordpress.com/2008/03/31/error-in-category-icons-you-must-deactivate-and-reactivate-this-plugin/" rel="nofollow"&gt;link&lt;/a&gt; to a post I wrote about this error.

</description>
		<content:encoded><![CDATA[<p>Bruce, here is a <a href="http://categoryicons.wordpress.com/2008/03/31/error-in-category-icons-you-must-deactivate-and-reactivate-this-plugin/" rel="nofollow">link</a> to a post I wrote about this error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruce</title>
		<link>http://www.bioneural.net/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fwww.bioneural.net%2F2008%2F04%2F13%2Fcustomizing-wordpress-feed-content%2F%23comment-76631&amp;seed_title=Customizing+WordPress+feed+content#comment-76631</link>
		<dc:creator>Bruce</dc:creator>
		<pubDate>Wed, 16 Apr 2008 22:10:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.bioneural.net/?p=920#comment-76631</guid>
		<description>Thanks Submarine. I tried this, disabling my above customizations, turning off the AntiLeech plugin in case it was interfering... but the best I could do was the following error on feed validation:

&lt;blockquote&gt;
Error in Category Icons : you must deactivate and reactivate this plugin.
&lt;/blockquote&gt;

Deactivating/ reactivating had no effect.</description>
		<content:encoded><![CDATA[<p>Thanks Submarine. I tried this, disabling my above customizations, turning off the AntiLeech plugin in case it was interfering... but the best I could do was the following error on feed validation:</p>
<blockquote cite="http://www.bioneural.net/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fwww.bioneural.net%2F2008%2F04%2F13%2Fcustomizing-wordpress-feed-content%2F%23comment-76631&amp;seed_title=Customizing+WordPress+feed+content#comment-"><p>
Error in Category Icons : you must deactivate and reactivate this plugin.
</p>
</blockquote>
<p>Deactivating/ reactivating had no effect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Submarine</title>
		<link>http://www.bioneural.net/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fwww.bioneural.net%2F2008%2F04%2F13%2Fcustomizing-wordpress-feed-content%2F%23comment-76628&amp;seed_title=Customizing+WordPress+feed+content#comment-76628</link>
		<dc:creator>Submarine</dc:creator>
		<pubDate>Wed, 16 Apr 2008 21:40:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.bioneural.net/?p=920#comment-76628</guid>
		<description>Hi Bruce,

to add category icons in the feeds, I tried this and it worked (I don't know if the code will appear correctly) :

&lt;code&gt;
function bm_caticons_excerpt_rss($content) {
    $content = get_cat_icon('echo=false&#38;link=false').''.$content;
    return $content;
}
add_filter('the_excerpt_rss','bm_caticons_excerpt_rss');
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Hi Bruce,</p>
<p>to add category icons in the feeds, I tried this and it worked (I don't know if the code will appear correctly) :</p>
<p><code><br />
function bm_caticons_excerpt_rss($content) {<br />
    $content = get_cat_icon('echo=false&amp;link=false').''.$content;<br />
    return $content;<br />
}<br />
add_filter('the_excerpt_rss','bm_caticons_excerpt_rss');<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruce</title>
		<link>http://www.bioneural.net/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fwww.bioneural.net%2F2008%2F04%2F13%2Fcustomizing-wordpress-feed-content%2F%23comment-76624&amp;seed_title=Customizing+WordPress+feed+content#comment-76624</link>
		<dc:creator>Bruce</dc:creator>
		<pubDate>Mon, 14 Apr 2008 17:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.bioneural.net/?p=920#comment-76624</guid>
		<description>[quote post="920"]This Decription tag must be where WP puts the Tagline then[/quote]

Yes, WP properly inserts the tagline/ feed description via &lt;code&gt;&#60;?php bloginfo("description") ?&#62;&lt;/code&gt; in theme/header.php and &lt;code&gt;&#60;?php bloginfo_rss("description") ?&#62;&lt;/code&gt; in wp-includes/feed-rss2.php.

Adding more tags in &lt;em&gt;Reading Settings&lt;/em&gt; won't make it any more valid D. since you still can't nest &lt;code&gt;&#60;image&#62;&lt;/code&gt; inside &lt;code&gt;&#60;description&#62;&lt;/code&gt;; they should be on the same level inside &lt;code&gt;&#60;channel&#62;&lt;/code&gt;.</description>
		<content:encoded><![CDATA[<blockquote cite="http://www.bioneural.net/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fwww.bioneural.net%2F2008%2F04%2F13%2Fcustomizing-wordpress-feed-content%2F%23comment-76624&amp;seed_title=Customizing+WordPress+feed+content#comment-"><p>
This Decription tag must be where WP puts the Tagline then</p>
</blockquote>
<p>Yes, WP properly inserts the tagline/ feed description via <code>&lt;?php bloginfo("description") ?&gt;</code> in theme/header.php and <code>&lt;?php bloginfo_rss("description") ?&gt;</code> in wp-includes/feed-rss2.php.</p>
<p>Adding more tags in <em>Reading Settings</em> won't make it any more valid D. since you still can't nest <code>&lt;image&gt;</code> inside <code>&lt;description&gt;</code>; they should be on the same level inside <code>&lt;channel&gt;</code>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.bioneural.net/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fwww.bioneural.net%2F2008%2F04%2F13%2Fcustomizing-wordpress-feed-content%2F%23comment-76623&amp;seed_title=Customizing+WordPress+feed+content#comment-76623</link>
		<dc:creator>David</dc:creator>
		<pubDate>Mon, 14 Apr 2008 16:56:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.bioneural.net/?p=920#comment-76623</guid>
		<description>Yep, seen that. I checked it in most readers I could think of, when designing the Demeter rss.xsl files, and it seems to work :)

This &lt;em&gt;Decription&lt;/em&gt; tag must be where WP puts the Tagline then, I suppose I could wrap it in more tags... The other required sub-elements can be as for the main feed.</description>
		<content:encoded><![CDATA[<p>Yep, seen that. I checked it in most readers I could think of, when designing the Demeter rss.xsl files, and it seems to work :)</p>
<p>This <em>Decription</em> tag must be where WP puts the Tagline then, I suppose I could wrap it in more tags... The other required sub-elements can be as for the main feed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruce</title>
		<link>http://www.bioneural.net/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fwww.bioneural.net%2F2008%2F04%2F13%2Fcustomizing-wordpress-feed-content%2F%23comment-76622&amp;seed_title=Customizing+WordPress+feed+content#comment-76622</link>
		<dc:creator>Bruce</dc:creator>
		<pubDate>Mon, 14 Apr 2008 13:12:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.bioneural.net/?p=920#comment-76622</guid>
		<description>I just tried subscribing to your feed in Bloglines D.: the feed description is "&#60;img src="http://david-hall.net/images/gravatar.png" /&#62;~ artist in nature ~" and, interestingly, your feed image &lt;em&gt;does&lt;/em&gt; show.

However, viewing your XML source in NNW you have this nested in the &#60;description&#62; tag. The spec requires a feed image to be within an &#60;image&#62; tag and, if that is used, with 3 required sub-elements for url, title , and link. Check on Google for XML examples (e.g. &lt;a href="http://www.ibm.com/developerworks/xml/library/x-rss20/" rel="nofollow"&gt;here&lt;/a&gt;) to be convinced of the uniqueness of your approach ;-)</description>
		<content:encoded><![CDATA[<p>I just tried subscribing to your feed in Bloglines D.: the feed description is "&lt;img src="http://david-hall.net/images/gravatar.png" /&gt;~ artist in nature ~" and, interestingly, your feed image <em>does</em> show.</p>
<p>However, viewing your XML source in NNW you have this nested in the &lt;description&gt; tag. The spec requires a feed image to be within an &lt;image&gt; tag and, if that is used, with 3 required sub-elements for url, title , and link. Check on Google for XML examples (e.g. <a href="http://www.ibm.com/developerworks/xml/library/x-rss20/" rel="nofollow">here</a>) to be convinced of the uniqueness of your approach ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.bioneural.net/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fwww.bioneural.net%2F2008%2F04%2F13%2Fcustomizing-wordpress-feed-content%2F%23comment-76621&amp;seed_title=Customizing+WordPress+feed+content#comment-76621</link>
		<dc:creator>David</dc:creator>
		<pubDate>Mon, 14 Apr 2008 12:48:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.bioneural.net/?p=920#comment-76621</guid>
		<description>I've been using this for years - as I don't use the straplines/sub headers - RSS 2 Specs say "&#60;image&#62; is an optional sub-element of &#60;channel&#62;" - so is that within an element within the channel or does it really want a separate element?

Setting the excerpt can be far more descriptive in isolation - depends to a large degree on which news reader you use of course.

</description>
		<content:encoded><![CDATA[<p>I've been using this for years - as I don't use the straplines/sub headers - RSS 2 Specs say "&lt;image&gt; is an optional sub-element of &lt;channel&gt;" - so is that within an element within the channel or does it really want a separate element?</p>
<p>Setting the excerpt can be far more descriptive in isolation - depends to a large degree on which news reader you use of course.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruce</title>
		<link>http://www.bioneural.net/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fwww.bioneural.net%2F2008%2F04%2F13%2Fcustomizing-wordpress-feed-content%2F%23comment-76620&amp;seed_title=Customizing+WordPress+feed+content#comment-76620</link>
		<dc:creator>Bruce</dc:creator>
		<pubDate>Mon, 14 Apr 2008 09:17:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.bioneural.net/?p=920#comment-76620</guid>
		<description>[quote post="920"]an image link in the General Settings - Tagline[/quote]

Interesting idea D. Although this does trick the Feed Validator an img inside &lt;code&gt;&#60;description&#62;&lt;/code&gt; is not consistent with the RSS 2.0 spec, which specifies a &lt;em&gt;required&lt;/em&gt; "Phrase or sentence describing the channel" and puts feed images inside a separate &lt;code&gt;&#60;image&#62;&lt;/code&gt; channel sub-element. Furthermore, any URL entered as a tagline is rendered as text in the blog header.

[quote post="920"]Also, if you want a different "excerpt"...write a different one in the "Excerpt" box ;)[/quote]

Correct. I've always put my "intro" into ecto's main editing area, with the main body of the post in the "Extended" editing area. When I post these two areas are automatically separated by &lt;code&gt;&#60;!--more--&#62;&lt;/code&gt;. But ecto also has a "Summary" editing area, which can contain a different version of the article known as the "excerpt". I've never used this, but if I did I imagine the contents would be used for &lt;code&gt;the_excerpt()&lt;/code&gt; in place of the post intro. 

So technically I guess I'm not using &lt;code&gt;the_excerpt()&lt;/code&gt; in my feeds or on my blog, but rather &lt;em&gt;Summary&lt;/em&gt; in &lt;em&gt;Reading Settings&lt;/em&gt; means "intro" and &lt;em&gt;Full text&lt;/em&gt; means "intro + extended" using only the &lt;code&gt;the_content()&lt;/code&gt;. Confusing, huh? 

I wonder how many other folk using offline editors are doing this without realizing the bit of their post before &lt;code&gt;&#60;!--more--&#62;&lt;/code&gt; is part of &lt;code&gt;the_content()&lt;/code&gt; and not &lt;code&gt;the_excerpt()&lt;/code&gt;? This would explain why I had to set &lt;em&gt;Full text&lt;/em&gt; to get my hack to work.</description>
		<content:encoded><![CDATA[<blockquote cite="http://www.bioneural.net/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fwww.bioneural.net%2F2008%2F04%2F13%2Fcustomizing-wordpress-feed-content%2F%23comment-76620&amp;seed_title=Customizing+WordPress+feed+content#comment-"><p>
an image link in the General Settings - Tagline</p>
</blockquote>
<p>Interesting idea D. Although this does trick the Feed Validator an img inside <code>&lt;description&gt;</code> is not consistent with the RSS 2.0 spec, which specifies a <em>required</em> "Phrase or sentence describing the channel" and puts feed images inside a separate <code>&lt;image&gt;</code> channel sub-element. Furthermore, any URL entered as a tagline is rendered as text in the blog header.</p>
<blockquote cite="http://www.bioneural.net/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fwww.bioneural.net%2F2008%2F04%2F13%2Fcustomizing-wordpress-feed-content%2F%23comment-76620&amp;seed_title=Customizing+WordPress+feed+content#comment-"><p>
Also, if you want a different "excerpt"...write a different one in the "Excerpt" box ;)</p>
</blockquote>
<p>Correct. I've always put my "intro" into ecto's main editing area, with the main body of the post in the "Extended" editing area. When I post these two areas are automatically separated by <code>&lt;!--more--&gt;</code>. But ecto also has a "Summary" editing area, which can contain a different version of the article known as the "excerpt". I've never used this, but if I did I imagine the contents would be used for <code>the_excerpt()</code> in place of the post intro. </p>
<p>So technically I guess I'm not using <code>the_excerpt()</code> in my feeds or on my blog, but rather <em>Summary</em> in <em>Reading Settings</em> means "intro" and <em>Full text</em> means "intro + extended" using only the <code>the_content()</code>. Confusing, huh? </p>
<p>I wonder how many other folk using offline editors are doing this without realizing the bit of their post before <code>&lt;!--more--&gt;</code> is part of <code>the_content()</code> and not <code>the_excerpt()</code>? This would explain why I had to set <em>Full text</em> to get my hack to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.bioneural.net/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fwww.bioneural.net%2F2008%2F04%2F13%2Fcustomizing-wordpress-feed-content%2F%23comment-76619&amp;seed_title=Customizing+WordPress+feed+content#comment-76619</link>
		<dc:creator>David</dc:creator>
		<pubDate>Mon, 14 Apr 2008 07:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.bioneural.net/?p=920#comment-76619</guid>
		<description>Simply adding an image link in the General Settings - Tagline will put desired image in RSS2 feeds.

Also, if you want a different "excerpt" or synopsis of a feed without people having to read the post. or the first few lines of your post is not suitable for an excerpt - write a different one in the "Excerpt" box ;)</description>
		<content:encoded><![CDATA[<p>Simply adding an image link in the General Settings - Tagline will put desired image in RSS2 feeds.</p>
<p>Also, if you want a different "excerpt" or synopsis of a feed without people having to read the post. or the first few lines of your post is not suitable for an excerpt - write a different one in the "Excerpt" box ;)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
