WordPress.org

Ready to get started?Download WordPress

Forums

HOWTO - Atom 1.0 feed (3 posts)

  1. theshaft
    Member
    Posted 8 years ago #

    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.

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

    http://trac.wordpress.org/ticket/1526

    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.

  3. theshaft
    Member
    Posted 8 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags