RSS 2.0
<rss>
The root element of an RSS feed. It carries the version attribute and exactly one <channel>, and nothing else.
RSS has no namespace of its own — the core elements are unqualified, which is why extension modules like content: and itunes: have to declare theirs on this element. That absence is also why an RSS feed and an arbitrary XML file are told apart by root element name alone.
version="2.0" is the only version worth emitting. RSS 0.91 and 0.92 still exist in the wild, and their element sets differ enough that a reader written for 2.0 will quietly drop content.
- Format
- RSS 2.0
- Namespace
- None — RSS elements are unqualified
- Parent
- None — this is the document element
- How many
- Exactly one, as the document element.
What our validator does
The feed validator warns when the version attribute is missing or is not 2.0, and errors when there is no <channel>.
Broken and fixed
Both documents below are well-formed XML — that is the point of this corpus — and both are run through the validator on every test run. The verdicts here are what it returned, not what we expect it to.
<?xml version="1.0" encoding="UTF-8"?>
<rss>
<channel>
<title>Example</title>
<link>https://example.com/</link>
<description>Notes from the example farm.</description>
<item><title>Hen lays egg</title></item>
</channel>
</rss><rss> has no version attribute. RSS 2.0 documents should carry version="2.0".<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Example</title>
<link>https://example.com/</link>
<description>Notes from the example farm.</description>
<atom:link href="https://example.com/feed.xml" rel="self" type="application/rss+xml"/>
<item>
<title>Hen lays egg</title>
<link>https://example.com/egg</link>
<guid>https://example.com/egg</guid>
<pubDate>Mon, 10 Aug 2026 09:00:00 GMT</pubDate>
</item>
</channel>
</rss>Where it reaches
- FormatsRSS 2.0The format page: root element, media type and constraints.
- ToolsRSS & Atom feed validatorRuns these checks against your own feed, item by item.
- NamespacesRSS content moduleThe commonest extension declared on this element.
Related elements
- <channel>The feed itself: three required children — title, link and description — and every item beneath them.
- <item>One entry in the feed. Every child is optional except that it must have a title or a description.
- <feed>The root element of an Atom document, and the one place the specification names three children as required rather than recommended.
Get started
Bring order to the XML your team can't afford to ignore.
Create a free account and get a private workspace to search, validate, diff, and monitor your XML feeds, sitemaps, schemas, and vendor integrations.