Atom 1.0 Feed Problems
Just upgraded to WP 2.3. All OK apart from some minor Atom 1.0 feeds issues. The feeds were validated here, and DO validate as Atom 1.0 feeds:
The following issues came up:
1. TEXT/HTML MEDIA TYPE ERROR
My feed http://domain.com/wp/feed/atom/ has the following on line 13
<link rel=”alternate” type=”text/html” href=”http://domain.com/wp” />
Feed Validator thinks this media type shouldn’t be specified in Atom feeds.
2. SCRIPT TAG ERROR
Feed Validator thinks this may create problems with some Atom/RSS readers.
3. SELF-REFERENCE ERROR
I may be out on a limb here, but I thought as RSS 2.0 feeds could reference WP categories, the same could be done with the latest Atom 1.0 standard. So I’m specifying the following in header.php:
<link rel=”alternate” type=”application/atom+xml” title=”Atom 1.0 – Category: XYZ” href=”http://domain.com/wp/category/xyz/feed/atom/” />
Netnewswire and Safari read it just fine, but the self reference on line 15 of the feed, points back to the generic Atom feed not the category feed:
<link rel=”self” type=”application/atom+xml” href=”http://domain.com/wp/feed/atom/” />
FeedValidator picks up the error.
Am I expecting too much, doing something wrong, or is this a bug?
- The topic ‘Atom 1.0 Feed Problems’ is closed to new replies.