Syndication Errors Fixed

Feed Validator (screenshot)

It seems that the default WordPress configuration for generating RSS 2.0 feeds is bogus. This is the case for both the entry and comment feeds. However, I fixed my feeds by editing the following files for WordPress:

  • wp-rss2.php (responsible for generating the RSS 2.0 entry feed) - I commented out the two content:encoded statements. I have failed to find any adequate documentation as to why one needs to use a content:encoded element in addition to the description element. The RSS 2.0 Specification does not say anything about a content:encoded element so I opted to just use the description element per specification. Details shown here:
    wp-rss2.php (screenshot)
  • wp-commentsrss2.php (responsible for generating the RSS 2.0 Comments feed) - The code suffered the same fate with the content:encoded element mentioned above. Details shown here:
    wp-commentsrss2.php (screenshot)

Applying these fixes resulted in valid RSS feeds. I no longer see any errors when using the Feed Validator or when using Feed Demon to read the feeds.

Tags:

Sunday, July 16th, 2006 Announcements

No comments yet.

Leave a comment

You must be logged in to post a comment.

Search

 

Categories