Skip to main content

XML format

RSS 2.0

The most widely deployed syndication format. Namespace-free at its core, extension-heavy in practice.

RSS 2.0 is unusual among XML formats in declaring no namespace of its own: <rss version="2.0"> and its children are unqualified. Everything beyond the basics arrives as an imported namespace — Atom for a self link, the content module for full HTML bodies, iTunes for podcast metadata.

That design makes RSS forgiving to write and awkward to validate. Two feeds can both be correct RSS and share almost no elements, so consuming feeds reliably means inspecting the structure a publisher actually emits rather than trusting the spec.

Constraints that bite

  • The version attribute must be "2.0"; RSS 1.0 is a different format with an <rdf:RDF> root.
  • <channel> requires title, link and description; items require at least a title or a description.
  • pubDate must be RFC 822, not ISO 8601 — a common source of silently ignored dates.
  • HTML in <description> must be escaped or wrapped in CDATA; raw markup makes the feed malformed.
  • <author> is specified to hold an email address, which is why bylines usually use <dc:creator>.
Root element
<rss>
Media type
application/rss+xml
Extensions
.xml, .rss
Namespaces
None — unqualified elements
XMLDir label
rss

Specification: RSS 2.0 specification

A minimal valid document

Every example on this site is checked against the same parser the workspace uses, so what you see below is known to be well-formed.

rss.xml
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Example feed</title>
    <link>https://example.com/</link>
    <description>Latest posts</description>
    <atom:link href="https://example.com/rss.xml" rel="self" type="application/rss+xml"/>
    <item>
      <title>First post</title>
      <link>https://example.com/first</link>
      <guid isPermaLink="true">https://example.com/first</guid>
      <pubDate>Mon, 20 Jul 2026 09:00:00 GMT</pubDate>
    </item>
  </channel>
</rss>

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.