CheckRSS Check a feed

CheckRSS › Blog › Under the hood

Atom vs RSS 2.0 vs JSON Feed: which feed format to publish

How RSS 2.0, Atom 1.0 and JSON Feed differ in required fields, dates, content and identifiers, what 3,300 real sites publish, and which one to pick.

Under the hoodCheckRSS6 min read

Every feed reader in use today understands RSS 2.0 and Atom 1.0, and most of the maintained ones also read JSON Feed. So the choice of format rarely decides whether people can subscribe. It decides how much room you have to get small things wrong, and how much work the feed is to generate. This article puts the three side by side, with minimal working examples and the numbers from our own crawl of the web.

Where each format came from

RSS has a messy family tree. RSS 1.0 (2000) is built on RDF and still turns up on academic publishers and older Linux sites. RSS 2.0 came out in 2002 as a simpler, non-RDF format, and in 2003 its specification moved to Harvard's Berkman Center under a Creative Commons license. The text is now kept by the RSS Advisory Board at rssboard.org. It is frozen: nobody adds features to RSS 2.0 itself, everything new arrives as a namespace.

Atom was written partly in reaction to that. The authors wanted a format with a precise specification and no ambiguity about what a field contains. It became RFC 4287 in 2005, published by the IETF.

JSON Feed is the newcomer. Manton Reece and Brent Simmons (the author of NetNewsWire) published version 1.0 in 2017, and version 1.1 in 2020. The idea is that most developers would rather produce and consume JSON than XML, and that a feed is a simple enough thing to describe in it.

The same post in three formats

Here is the smallest feed with one item that a strict validator accepts, in each format.

RSS 2.0:

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>Example Blog</title>
  <link>https://example.com/</link>
  <description>Notes on examples</description>
  <atom:link href="https://example.com/feed.xml" rel="self" type="application/rss+xml"/>
  <item>
    <title>Hello world</title>
    <link>https://example.com/hello/</link>
    <guid isPermaLink="true">https://example.com/hello/</guid>
    <pubDate>Mon, 16 Nov 2026 08:00:00 GMT</pubDate>
    <description>The first post.</description>
  </item>
</channel>
</rss>

Atom 1.0:

<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Example Blog</title>
  <id>https://example.com/</id>
  <updated>2026-11-16T08:00:00Z</updated>
  <author><name>Jane Doe</name></author>
  <link rel="self" href="https://example.com/atom.xml"/>
  <link rel="alternate" href="https://example.com/"/>
  <entry>
    <title>Hello world</title>
    <id>https://example.com/hello/</id>
    <link rel="alternate" href="https://example.com/hello/"/>
    <updated>2026-11-16T08:00:00Z</updated>
    <summary>The first post.</summary>
  </entry>
</feed>

JSON Feed 1.1:

{
  "version": "https://jsonfeed.org/version/1.1",
  "title": "Example Blog",
  "home_page_url": "https://example.com/",
  "feed_url": "https://example.com/feed.json",
  "items": [
    {
      "id": "https://example.com/hello/",
      "url": "https://example.com/hello/",
      "title": "Hello world",
      "content_text": "The first post.",
      "date_published": "2026-11-16T08:00:00Z"
    }
  ]
}

Required fields

RSS 2.0 requires only three things on the channel: title, link and description. An item needs either a title or a description, and nothing else. That leniency is why so many hand-built RSS feeds work at all, and also why so many of them lack dates or identifiers.

Atom requires more. The feed must have an id, a title and an updated date. Every entry needs an id, a title and an updated date too, and an author must be named either on the feed or on each entry. A feed that skips any of these is invalid, which is annoying at first and useful later: you find out on day one, not after readers start showing duplicates.

JSON Feed requires version and title on the feed and id on each item, plus at least one of content_html or content_text. Everything else, including dates, is optional.

RSS 2.0Atom 1.0JSON Feed 1.1
Item identifierguid (optional)id (required)id (required)
Date formatRFC 822RFC 3339RFC 3339
Full contentcontent:encoded (extension)content type="html"content_html
Summarydescriptionsummarysummary
Authorauthor (an email) or dc:creatorauthor with nameauthors array
MIME typeapplication/rss+xmlapplication/atom+xmlapplication/feed+json

Dates

This is the difference that causes the most broken feeds. RSS 2.0 uses the date format from RFC 822, the old email standard: Mon, 16 Nov 2026 08:00:00 GMT, or with a numeric offset, Mon, 16 Nov 2026 09:00:00 +0100. Day and month names are in English, always. Templates that format dates through the server's locale end up writing lun., 16 nov. 2026 and readers cannot parse it.

Atom and JSON Feed use RFC 3339, the same shape as ISO 8601: 2026-11-16T08:00:00Z. Most programming languages print it with one standard call, which removes a whole class of mistakes. If you generate RSS by hand, the format-string traps are covered in our post on encoding, date and enclosure errors.

Content: escaped HTML and its variants

In RSS 2.0, description was meant for a summary but is widely used for the full post, as HTML escaped into text or wrapped in CDATA. To carry both a summary and the full text, publishers add the content module and put the article in content:encoded. Readers know the convention, but nothing in the core spec says which of the two a reader should prefer.

Atom makes it explicit. summary and content are separate elements, and each carries a type attribute: text, html (escaped HTML) or xhtml (inline XHTML in a div). A reader never has to guess whether a string contains markup.

JSON Feed has content_html and content_text as separate fields, and a summary. Because it is JSON, there is no escaping to get wrong: a string is a string.

Identifiers

A reader uses the item identifier to decide whether it has seen an item before. In RSS 2.0 that is guid, which is optional. When it is missing, readers fall back on the link, or on a hash of the title and text, and the item comes back as new every time a typo is fixed. In our crawl, 88 working RSS feeds left out guid on their items, and 10 reused the same guid for different items, which makes readers drop all but one.

Atom's id and JSON Feed's id are required. The usual choice is the permanent URL of the post, or a tag URI such as tag:example.com,2026:post-123 if URLs might change.

What publishers actually use

On 15 November 2026 we checked the feeds of 5,518 well known sites for the feed directory. Of the 3,329 with a working feed, the main feed broke down like this:

  • RSS 2.0: 3,005 sites
  • Atom 1.0: 248
  • RSS 1.0 (RDF): 17
  • Older RSS 0.91 and 0.92: 6
  • Atom 0.3, a pre-standard draft: 4
  • JSON Feed: a handful, though more sites offer one next to an XML feed

RSS 2.0 wins by sheer inertia: it is what WordPress, most news CMSs and most podcast hosts produce. Atom is the default on Blogger, on GitHub and in Jekyll's jekyll-feed plugin. You can see Atom in practice on the Android Developers Blog, Chrome Releases, Planet Debian and php.net. RDF lives on at Nature, Debian Security Advisories and DistroWatch. For JSON Feed, look at Baldur Bjarnason or the Coder Radio podcast.

The served Content-Type is less tidy. Only 1,932 sites labeled their feed application/rss+xml. 698 sent application/xml, 504 text/xml, and 62 sent text/html, which some readers reject outright. The format is only half of publishing a feed; the server has to say what it is sending.

Which one to publish

If your platform already produces a feed, keep it, whatever the format. Switching formats changes nothing for subscribers and risks a new address.

If you are writing the generator yourself, pick Atom when you want the validator to catch mistakes early and you are happy with the extra required fields. Pick RSS 2.0 when the feed is for podcasts (Apple Podcasts and Spotify only read RSS 2.0 with the iTunes namespace, see our podcast feed guide) or when you need an extension that only exists for RSS.

JSON Feed makes sense as a second feed next to one of the XML formats, especially if your build is already in JavaScript and you want readers like NetNewsWire to get clean content. Announce each feed with its own link rel="alternate" tag and the right type, so readers and the feed finder can offer both.

Whatever you choose, run the result through the feed checker before announcing it. It reads all three formats and flags the missing identifiers, malformed dates and wrong content types described above.

More from the blog