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-USorde-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)
| 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 | Practically required | Title of the post | New version released |
<item> / <link> | item | Practically required | Direct link to the post | https://example.com/article |
<item> / <description> | item | Recommended | 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 | Unique ID (stable) | https://example.com/article |
<item> / <enclosure> | item | Optional | Media 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.