RSS Elements and the Structure of an RSS 2.0 Feed

RSS, short for Really Simple Syndication, is an XML-based format that lets websites publish their content in a standardized and automatic way, such as news, blog posts or product updates. To make sure RSS readers, including this reader, can interpret feeds correctly, certain elements must be present. Below you will find the most important parts of an RSS feed according to the RSS 2.0 specification.

Basic RSS Feed Structure

A typical RSS feed with posts uses three hierarchy levels:

  <rss version="2.0">
    <channel>
      <title>Title of the feed</title>
      <link>https://www.example.com</link>
      <description>Short description of the feed</description>

      <item>
        <title>Title of an article</title>
        <link>https://www.example.com/article1</link>
        <description>Short description of the article</description>
        <pubDate>Mon, 07 Oct 2025 10:00:00 +0200</pubDate>
        <guid>https://www.example.com/article1</guid>
      </item>

    </channel>
  </rss>
  

Recommended: declare XML version and encoding at the beginning (<?xml version="1.0" encoding="UTF-8"?>). The document ends with the closing </rss> tag.

Required Elements

  • <title> - name of the feed, for example "Example Online - News"
  • <link> - the URL of the related website
  • <description> - a short description of the feed or content area

According to the specification, these three tags are required. Without them, an RSS feed is considered invalid.

Optional but Recommended Elements

  • <language> - language code, for example en-US or de-DE
  • <copyright> - for example "© 2025 Example Ltd."
  • <managingEditor> - email address of the responsible editor
  • <webMaster> - technical contact
  • <pubDate> - publication date of the latest feed
  • <lastBuildDate> - date of the latest change
  • <category> - topic assignment, for example "Technology"
  • <generator> - software or CMS that created the feed
  • <ttl> - "Time to Live": recommended update frequency in minutes

Important Item Elements

A channel can contain zero, one or many <item> elements. In normal news or blog feeds, each item usually represents one post or update.

  • <title> - title of the post
  • <link> - direct URL to the article
  • <description> - short text or excerpt of the content
  • <author> - author or email address, optional
  • <category> - category to which the post belongs
  • <guid> - stable unique identifier, often the article URL
  • <pubDate> - publication date of the post    → format according to RFC 822, for example "Mon, 07 Oct 2025 10:00:00 +0200"
  • <enclosure> - reference to media files (audio, video etc.)

Extensions and Namespaces

Many modern feeds use additional XML namespaces, for example:

  • xmlns:media="http://search.yahoo.com/mrss/" → for Media RSS (images, podcasts etc.)
  • xmlns:dc="http://purl.org/dc/elements/1.1/" → for Dublin Core metadata (author, license etc.)
  • xmlns:atom="http://www.w3.org/2005/Atom" → for compatibility with Atom feeds

These extensions are optional, but they improve compatibility with modern readers.

Charset and Encoding

The standard is UTF-8. However, many older feeds use ISO-8859-1 or Windows-1252. Modern readers detect and convert this automatically - including this RSS reader. Declaring the encoding directly in the XML header is recommended:

  <?xml version="1.0" encoding="UTF-8"?>
  

Validation and Tools

To make sure that a feed is formatted correctly, you can use the following tools:

A valid feed can be detected reliably by many feed readers, browser plugins and technical tools.

Summary

  • 🔹 RSS uses <rss> and <channel>; feeds with posts also contain one or more <item> entries
  • 🔹 At channel level, title, link and description are required
  • 🔹 Optional elements such as <category> or <pubDate> improve display, sorting and processing
  • 🔹 Use UTF-8 as the default encoding
  • 🔹 Validate feeds regularly

Last updated: September 2026 - based on the official RSS 2.0 specification from the RSS Advisory Board.

RSS 2.0 Quick Reference (expand/collapse)
Essential RSS 2.0 elements (Channel & Item)
Element Level Required Description Example
<title> channel Yes Feed title My News Feed
<link> channel Yes Website URL https://example.com/
<description> channel Yes Short feed description Latest updates from ...
<language> channel Recommended Language code (BCP 47) en-US
<lastBuildDate> channel Recommended Latest change of the feed Mon, 07 Oct 2025 10:00:00 +0200
<pubDate> channel Optional Publication date of the feed Mon, 07 Oct 2025 10:00:00 +0200
<category> channel Optional Topic assignment Technology
<generator> channel Optional Creating software WordPress
<ttl> channel Optional Recommended update interval (min.) 60
<item> / <title> item Required if no description Title of the post New version released
<item> / <link> item Recommended Direct link to the post https://example.com/article
<item> / <description> item Required if no title Short text/teaser All changes at a glance ...
<item> / <pubDate> item Recommended Date/time of the post (RFC 822/2822) Mon, 07 Oct 2025 10:00:00 +0200
<item> / <guid> item Recommended Stable unique identifier https://example.com/article
<item> / <enclosure> item Optional Media file (audio/video) url=... length=... type=...

Note: According to RSS 2.0, each <item> must contain at least <title> or <description>. In practice, readers also benefit from a stable <guid> and, where possible, a link and publication date. For date values, clients usually use RFC 822/2822 format. Language codes according to BCP 47, for example en-US.