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 complete RSS feed always consists of 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>
  

Important: The document always begins with the XML declaration (<?xml version="1.0" encoding="UTF-8"?>) and 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

  • <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> - unique ID, usually 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 is detected without problems by almost all feed readers, browser plugins and SEO tools.

Summary

  • 🔹 An RSS feed is a structured XML file with <rss>, <channel> and <item>
  • 🔹 Title, link and description are required
  • 🔹 Optional elements such as <category> or <pubDate> improve display and SEO
  • 🔹 Use UTF-8 as the default encoding
  • 🔹 Validate feeds regularly

Last updated: October 2025 - 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>channelYesFeed titleMy News Feed
<link>channelYesWebsite URLhttps://example.com/
<description>channelYesShort feed descriptionLatest updates from ...
<language>channelRecommendedLanguage code (BCP 47)en-US
<lastBuildDate>channelRecommendedLatest change of the feedMon, 07 Oct 2025 10:00:00 +0200
<pubDate>channelOptionalPublication date of the feedMon, 07 Oct 2025 10:00:00 +0200
<category>channelOptionalTopic assignmentTechnology
<generator>channelOptionalCreating softwareWordPress
<ttl>channelOptionalRecommended update interval (min.)60
<item> / <title>itemPractically requiredTitle of the postNew version released
<item> / <link>itemPractically requiredDirect link to the posthttps://example.com/article
<item> / <description>itemRecommendedShort text/teaserAll changes at a glance ...
<item> / <pubDate>itemRecommendedDate/time of the post (RFC 822/2822)Mon, 07 Oct 2025 10:00:00 +0200
<item> / <guid>itemRecommendedUnique ID (stable)https://example.com/article
<item> / <enclosure>itemOptionalMedia file (audio/video)url=... length=... type=...

Note: Many readers expect at least <title>, <link> or <description> inside <item>. For date values, clients usually use RFC 822/2822 format. Language codes according to BCP 47, for example en-US.