WordPress.org

Ready to get started?Download WordPress

Forums

Confused about WP RSS Handling. (6 posts)

  1. Rundy
    Member
    Posted 9 years ago #

    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.

  2. /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/.

  3. Rundy
    Member
    Posted 9 years ago #

    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?

  4. Avenir
    Member
    Posted 9 years ago #

    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.

  5. 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.

  6. Rundy
    Member
    Posted 9 years ago #

    Got it.

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.