I've taken James Snell's Atom 1.0 templates for WordPress, fixed them up a little bit, and packaged them as a plugin (instead of replacing the files in the WordPress install, which makes it hard to upgrade WordPress).
I'm using the plugin on this blog, so check out the BSBlog feed for sample output.
The plugin replaces all WordPress feeds. RSS will no longer be available, and Atom 1.0 will be served at most of the generated URLs that previously served RSS. This includes blog?feed=rss and blog/feed/ links. Navigating to blog/wp-rss2.php will still give the RSS feed. Users should edit their theme so that the blog/feed link is labeled as Atom (or Feed), and there is no link to blog/feed/atom/.
rel="alternate"
consistently to work around a buggy Safari RSS implementation.
$GLOBAL["posts"]
was already set
before calling wp()
, which caused a warning trying to
construct the URL parameters.