Support » Fixing WordPress » HOWTO – Atom 1.0 feed

  • I have written a small article about how to convert the default WordPress Atom 0.3 feed to a full-featured Atom 1.0 feed, which validates properly. It’s titled:
    Design the perfect Atom feed for WordPress

    Here are some notes:
    I also provide some brief info about how to enhance your Atom feed with RSS extension modules. In this article, I implement the Creative Commons RSS 2.0 module, so that the feed can contain CC license info. This is an example and it’s there just to show you how to implement RSS extensions to your Atom feed.

    All modifications need to be done to the default wp-atom.php file. Keep a backup first, so that you can revert back to the default 0.3 feed, but I am sure you will not. Most bots seem to prefer the Atom feed over the RSS one.

    Keep in mind that this solution is not official and should be considered only as a hack.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator James Huff


    If you don’t mind using .diff patches, there is a patch for Atom 1.0 support listed under this bug report:

    Apparently, Matt is going to wait until WP v2.1 to remove the Atom 0.3 feed and implement an Atom 1.0 feed, but some users want to see the Atom 1.0 feed implemented in the WP v2.0 release. If you agree or disagree with this, please add your comments to the fore-mentioned bug report.

    I used the latest diff file while I was experimenting with the Atom feed (and actually provide a link to the page you mentioned). It took some days because I wanted to see the actual results in the search engines. I was not aware that I could login to the Trac using this account. I have some feedback to submit.

    The reasons I wrote this article were:

    • to help current wordpress 1.5.2 users have a valid Atom 1.0 feed without having to patch or modify any other files, except for wp-atom.php
    • to help them, through a small example, understand how to customize their Atom feed and add more features using RSS modules

    …and I totally disagree with the fact that the Atom 1.0 implementation will be delayed until WP v2.1.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HOWTO – Atom 1.0 feed’ is closed to new replies.