Comments on: Customizing WordPress feed contentbioneural.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 WindowsBy: Submarine- April 17, 2008 Bruce, here is a link to a post I wrote about this error.http://www.bioneural.net/feeder/?FeederAction=clicked&feed=Comments+on+Articles+%28RSS... By: Bruce- April 16, 2008 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: Error in Category Icons : you must deactivate and reactivate this plugin. Deactivating reactivating had no effect.http://www.bioneural.net/feeder/?FeederAction=clicked&feed=Comments+on+Articles+%28RSS... By: Submarine- April 16, 2008 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) : function bm_caticons_excerpt_rss($content) $content = get_cat_icon('echo=false&link=false').''.$content; return $content; add_filter('the_excerpt_rss','bm_caticons_excerpt_rss');http://www.bioneural.net/feeder/?FeederAction=clicked&feed=Comments+on+Articles+%28RSS... By: Bruce- April 14, 2008 quote post="920"This Decription tag must be where WP puts the Tagline thenquote Yes, WP properly inserts the tagline feed description via in themeheader.php and in wp-includesfeed-rss2.php. Adding more tags in Reading Settings won't make it any more valid D. since you still can't nest inside ; they should be on the same level inside .http://www.bioneural.net/feeder/?FeederAction=clicked&feed=Comments+on+Articles+%28RSS... By: David- April 14, 2008 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 Decription 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.http://www.bioneural.net/feeder/?FeederAction=clicked&feed=Comments+on+Articles+%28RSS... By: Bruce- April 14, 2008 I just tried subscribing to your feed in Bloglines D.: the feed description is " artist in nature " and, interestingly, your feed image does show. However, viewing your XML source in NNW you have this nested in the tag. The spec requires a feed image to be within an tag and, if that is used, with 3 required sub-elements for url, title , and link. Check on Google for XML examples (e.g. here) to be convinced of the uniqueness of your approach ;-)http://www.bioneural.net/feeder/?FeederAction=clicked&feed=Comments+on+Articles+%28RSS... By: David- April 14, 2008 I've been using this for years - as I don't use the straplinessub headers - RSS 2 Specs say " is an optional sub-element of " - 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.http://www.bioneural.net/feeder/?FeederAction=clicked&feed=Comments+on+Articles+%28RSS... By: Bruce- April 14, 2008 quote post="920"an image link in the General Settings - Taglinequote Interesting idea D. Although this does trick the Feed Validator an img inside is not consistent with the RSS 2.0 spec, which specifies a required "Phrase or sentence describing the channel" and puts feed images inside a separate 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...http://www.bioneural.net/feeder/?FeederAction=clicked&feed=Comments+on+Articles+%28RSS... By: David- April 14, 2008 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 ;)http://www.bioneural.net/feeder/?FeederAction=clicked&feed=Comments+on+Articles+%28RSS... |