WordPress.org

Support

Support » How-To and Troubleshooting » Confused about WP RSS Handling.

Confused about WP RSS Handling.

  • I’ll keep this short and sweet. Maybe someone can enlighten me. Why does the feed link in my blog point to “/feed/” as in:

    http://homefront.silverwarethief.com/feed/

    As best as I can see, that is a directory, not a rss file. Also, how are Atom, RSS 2.0 and such distinguished? Is it just one link for everything, or do I only have a link to one type of feed?

    Much confused over here.

    Thanks for any help or clarification.

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

    @macmanx

    /feed/ is a virtual link to wp-feed.php which automatically displays your feed as RSS2. You can distinguish your feeds by using /feed/RSS2/, /feed/RDF/, /feed/RSS/, and /feed/atom/.

    Ok, thanks. That is what I needed to know.

    So the default is to RSS2.

    If I didn’t put a link up to /feed/atom/ would an atom reader be out of luck or would an atom reader be able to somehow automatically find the atom feed?

    The default header includes <link> elements that point to all of the different feed URI’s to help feed readers with auto-discovery. If you clicked on that link in particular though, I think that it would just give you the RSS and an Atom reader would be out of luck.

    Moderator James Huff

    @macmanx

    Yes, a Feed Reader with Atom set as its default will be able to scour your site and pick out your Atom feed, but the RSS link on your site (assuming that it is still just /feed/) will always go to the RSS2 feed.

    Got it.

    Thanks to both for taking the time to respond. This helps me understand things better.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Confused about WP RSS Handling.’ is closed to new replies.
Skip to toolbar