RSSFeeds.com

RSS Feed Examples and Templates

Copy-ready, valid examples of every common feed type. Each one passes our validator, can be downloaded as a file and is explained so you can adapt it to your own site.

Updated

Illustration of RSS feed example templates and code files

Choose a Template

ExampleUse it for
Minimal RSS 2.0 Feedrss-2-0-minimal.xml
Blog Feed with Full Text and Imagesrss-2-0-blog-full-text.xml
News Feed with Media and WebSubrss-2-0-news-with-images.xml
Podcast Feedpodcast-feed.xml
Atom 1.0 Feedatom-feed.xml
JSON Feed 1.1json-feed.json
RSS 1.0 (RDF) Feedrss-1-0-rdf.xml

Prefer a form? The Feed Generator builds these for you. Every element is explained in the RSS 2.0 reference.

Diagram of the structure of an RSS 2.0 feed: rss root, channel and items with title, link, guid, pubDate and enclosure
The structure of an RSS 2.0 feed: one channel with any number of items.

Minimal RSS 2.0 Feed

The smallest feed that is valid and works well in every reader: the three required channel elements, a self link and one complete item.

rss-2-0-minimal.xml
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Example Site</title>
    <link>https://example.com/</link>
    <description>The latest updates from Example Site.</description>
    <atom:link href="https://example.com/feed.xml" rel="self" type="application/rss+xml" />
    <language>en</language>
    <item>
      <title>Hello world</title>
      <link>https://example.com/hello-world</link>
      <guid isPermaLink="true">https://example.com/hello-world</guid>
      <pubDate>Wed, 11 Nov 2026 09:00:00 +0000</pubDate>
      <description>The first post on Example Site.</description>
    </item>
  </channel>
</rss>

Download rss-2-0-minimal.xml · Validate this example · View it

Blog Feed with Full Text and Images

A typical blog feed: summary in description, the full article in content:encoded, the author in dc:creator and a featured image in media:content.

rss-2-0-blog-full-text.xml
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
  xmlns:atom="http://www.w3.org/2005/Atom"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:media="http://search.yahoo.com/mrss/">
  <channel>
    <title>Field Notes</title>
    <link>https://example.com/</link>
    <description>Essays on slow travel, maps and small towns.</description>
    <atom:link href="https://example.com/feed.xml" rel="self" type="application/rss+xml" />
    <language>en-us</language>
    <copyright>© 2026 Field Notes</copyright>
    <lastBuildDate>Tue, 10 Nov 2026 08:30:00 +0000</lastBuildDate>
    <generator>Example CMS</generator>
    <docs>https://www.rssboard.org/rss-specification</docs>
    <image>
      <url>https://example.com/logo-144.png</url>
      <title>Field Notes</title>
      <link>https://example.com/</link>
    </image>
    <item>
      <title>Reading a Topographic Map in Ten Minutes</title>
      <link>https://example.com/posts/topographic-maps</link>
      <guid isPermaLink="true">https://example.com/posts/topographic-maps</guid>
      <pubDate>Tue, 10 Nov 2026 08:30:00 +0000</pubDate>
      <dc:creator>Mara Lindqvist</dc:creator>
      <category>Maps</category>
      <category>Guides</category>
      <comments>https://example.com/posts/topographic-maps#comments</comments>
      <description>Contour lines look like fingerprints until you know three simple rules.</description>
      <content:encoded><![CDATA[
        <p>Contour lines look like fingerprints until you know three simple rules.</p>
        <figure><img src="https://example.com/img/topo.jpg" alt="A topographic map on a wooden table"><figcaption>A 1:25,000 map of the Ardennes.</figcaption></figure>
        <h2>Rule one: lines never cross</h2>
        <p>Every line connects points of the same height.</p>
      ]]></content:encoded>
      <media:content url="https://example.com/img/topo-1200.jpg" medium="image" type="image/jpeg" width="1200" height="630" />
    </item>
    <item>
      <title>The Last Ferry to Vlieland</title>
      <link>https://example.com/posts/vlieland</link>
      <guid isPermaLink="true">https://example.com/posts/vlieland</guid>
      <pubDate>Thu, 05 Nov 2026 17:00:00 +0000</pubDate>
      <dc:creator>Mara Lindqvist</dc:creator>
      <category>Travel</category>
      <description>An island without cars, and the slowest crossing of the year.</description>
      <content:encoded><![CDATA[<p>An island without cars, and the slowest crossing of the year.</p>]]></content:encoded>
      <media:content url="https://example.com/img/ferry-1200.jpg" medium="image" type="image/jpeg" width="1200" height="630" />
    </item>
  </channel>
</rss>

Download rss-2-0-blog-full-text.xml · Validate this example · View it

News Feed with Media and WebSub

A high-frequency news feed: non-URL guids with isPermaLink="false", a short ttl, a WebSub hub, thumbnails and photo credits.

rss-2-0-news-with-images.xml
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Example Daily – Technology</title>
    <link>https://news.example.com/technology</link>
    <description>Technology news from Example Daily.</description>
    <atom:link href="https://news.example.com/technology/rss.xml" rel="self" type="application/rss+xml" />
    <atom:link href="https://pubsubhubbub.appspot.com/" rel="hub" />
    <language>en-gb</language>
    <lastBuildDate>Wed, 11 Nov 2026 08:45:00 +0000</lastBuildDate>
    <ttl>15</ttl>
    <item>
      <title>City launches open data portal for public transport</title>
      <link>https://news.example.com/technology/open-data-transport</link>
      <guid isPermaLink="false">example-daily-2026-11-11-0042</guid>
      <pubDate>Wed, 11 Nov 2026 08:45:00 +0000</pubDate>
      <dc:creator>Sam Okafor</dc:creator>
      <category domain="https://news.example.com/sections">Technology</category>
      <description>Real-time bus and tram positions are now available to developers.</description>
      <media:thumbnail url="https://news.example.com/img/transport-640.jpg" width="640" height="360" />
      <media:content url="https://news.example.com/img/transport-1600.jpg" medium="image" type="image/jpeg" width="1600" height="900">
        <media:credit role="photographer">J. de Vries</media:credit>
        <media:description>A tram at a city stop at dusk.</media:description>
      </media:content>
    </item>
  </channel>
</rss>

Download rss-2-0-news-with-images.xml · Validate this example · View it

Podcast Feed

Everything Apple Podcasts requires, plus Podcasting 2.0 tags for transcripts, chapters, funding and guests.

podcast-feed.xml
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
  xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
  xmlns:podcast="https://podcastindex.org/namespace/1.0"
  xmlns:atom="http://www.w3.org/2005/Atom"
  xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>The Workshop Hour</title>
    <link>https://podcast.example.com/</link>
    <description>Conversations with people who make things by hand.</description>
    <atom:link href="https://podcast.example.com/feed.xml" rel="self" type="application/rss+xml" />
    <language>en</language>
    <copyright>© 2026 Workshop Media</copyright>
    <itunes:author>Workshop Media</itunes:author>
    <itunes:image href="https://podcast.example.com/cover-3000.jpg" />
    <itunes:category text="Arts">
      <itunes:category text="Design" />
    </itunes:category>
    <itunes:explicit>false</itunes:explicit>
    <itunes:type>episodic</itunes:type>
    <itunes:owner>
      <itunes:name>Workshop Media</itunes:name>
      <itunes:email>podcast@example.com</itunes:email>
    </itunes:owner>
    <podcast:locked>yes</podcast:locked>
    <podcast:guid>2f1c7a50-9d1e-5e4b-8c1a-1f2e3d4c5b6a</podcast:guid>
    <podcast:funding url="https://podcast.example.com/support">Support the show</podcast:funding>
    <item>
      <title>The Chair That Took a Year</title>
      <description>Furniture maker Ilse de Vries on patience, oak and failure.</description>
      <content:encoded><![CDATA[<p>Furniture maker Ilse de Vries on patience, oak and failure.</p><p><a href="https://podcast.example.com/42">Show notes and links</a></p>]]></content:encoded>
      <link>https://podcast.example.com/42</link>
      <guid isPermaLink="false">workshop-hour-042</guid>
      <pubDate>Mon, 09 Nov 2026 05:00:00 +0000</pubDate>
      <enclosure url="https://cdn.example.com/workshop-hour/042.mp3" length="48211968" type="audio/mpeg" />
      <itunes:duration>3012</itunes:duration>
      <itunes:episode>42</itunes:episode>
      <itunes:season>3</itunes:season>
      <itunes:episodeType>full</itunes:episodeType>
      <itunes:explicit>false</itunes:explicit>
      <podcast:transcript url="https://podcast.example.com/transcripts/042.vtt" type="text/vtt" />
      <podcast:chapters url="https://podcast.example.com/chapters/042.json" type="application/json+chapters" />
      <podcast:person role="guest" href="https://example.com/ilse">Ilse de Vries</podcast:person>
    </item>
  </channel>
</rss>

Download podcast-feed.xml · Validate this example · View it

Atom 1.0 Feed

A changelog in Atom with tag URIs as IDs, published and updated dates, categories and HTML content.

atom-feed.xml
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>tag:dev.example.com,2026:changelog</id>
  <title>Example API Changelog</title>
  <subtitle>Release notes for the Example API.</subtitle>
  <updated>2026-11-09T14:02:00Z</updated>
  <link rel="alternate" type="text/html" href="https://dev.example.com/changelog" />
  <link rel="self" type="application/atom+xml" href="https://dev.example.com/changelog.atom" />
  <author>
    <name>Example API Team</name>
    <uri>https://dev.example.com/</uri>
  </author>
  <icon>https://dev.example.com/favicon-64.png</icon>
  <logo>https://dev.example.com/logo-400x200.png</logo>
  <rights>© 2026 Example Inc.</rights>
  <generator uri="https://dev.example.com/">Example Docs</generator>
  <entry>
    <id>tag:dev.example.com,2026:release-4.2.0</id>
    <title>Version 4.2.0</title>
    <link rel="alternate" type="text/html" href="https://dev.example.com/changelog/4.2.0" />
    <published>2026-11-09T14:02:00Z</published>
    <updated>2026-11-09T14:02:00Z</updated>
    <category term="webhooks" label="Webhooks" />
    <summary type="text">Webhooks now retry with exponential backoff.</summary>
    <content type="html">&lt;p&gt;Webhooks now retry with exponential backoff, up to 8 attempts.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>tag:dev.example.com,2026:release-4.1.3</id>
    <title>Version 4.1.3</title>
    <link rel="alternate" type="text/html" href="https://dev.example.com/changelog/4.1.3" />
    <updated>2026-10-28T09:00:00Z</updated>
    <summary type="text">Fixes a rounding bug in invoice totals.</summary>
  </entry>
</feed>

Download atom-feed.xml · Validate this example · View it

JSON Feed 1.1

A JSON Feed with authors, language, an image, tags and an audio attachment.

json-feed.json
{
  "version": "https://jsonfeed.org/version/1.1",
  "title": "Plant Diary",
  "home_page_url": "https://plants.example.com/",
  "feed_url": "https://plants.example.com/feed.json",
  "description": "Notes from a balcony garden.",
  "icon": "https://plants.example.com/icon-512.png",
  "favicon": "https://plants.example.com/favicon-64.png",
  "language": "en",
  "authors": [{ "name": "Sam Okafor", "url": "https://plants.example.com/about" }],
  "items": [
    {
      "id": "https://plants.example.com/2026/11/chilli-harvest",
      "url": "https://plants.example.com/2026/11/chilli-harvest",
      "title": "The Last Chilli Harvest",
      "summary": "Forty-one peppers from one plant.",
      "content_html": "<p>Forty-one peppers from one plant. Here is what worked.</p>",
      "image": "https://plants.example.com/img/chilli-1200.jpg",
      "date_published": "2026-11-08T10:00:00+01:00",
      "tags": ["harvest", "chilli"]
    },
    {
      "id": "https://plants.example.com/2026/10/repotting",
      "url": "https://plants.example.com/2026/10/repotting",
      "title": "Repotting Before Winter",
      "content_text": "Roots grow slowly in the cold, so do it now.",
      "date_published": "2026-10-20T09:30:00+02:00",
      "attachments": [
        { "url": "https://plants.example.com/audio/repotting.mp3", "mime_type": "audio/mpeg", "size_in_bytes": 4718592, "duration_in_seconds": 295 }
      ]
    }
  ]
}

Download json-feed.json · Validate this example · View it

RSS 1.0 (RDF) Feed

The RDF-based format with an rdf:Seq of items and Dublin Core dates, for reference.

rss-1-0-rdf.xml
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns="http://purl.org/rss/1.0/"
  xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel rdf:about="https://journal.example.com/index.rdf">
    <title>Example Journal</title>
    <link>https://journal.example.com/</link>
    <description>New articles from Example Journal.</description>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="https://journal.example.com/articles/42" />
      </rdf:Seq>
    </items>
  </channel>
  <item rdf:about="https://journal.example.com/articles/42">
    <title>Article 42</title>
    <link>https://journal.example.com/articles/42</link>
    <description>Abstract of the article.</description>
    <dc:creator>A. Researcher</dc:creator>
    <dc:date>2026-11-11T09:00:00Z</dc:date>
  </item>
</rdf:RDF>

Download rss-1-0-rdf.xml · Validate this example · View it

How to Adapt an Example

  1. Replace every example.com URL with your own, and keep all URLs absolute.
  2. Give each item a guid that will never change, such as the permalink or a database ID with isPermaLink="false".
  3. Write dates in the right format: RFC 822 in RSS, RFC 3339 in Atom and JSON Feed.
  4. Remove elements you don't need rather than leaving them empty.
  5. Upload the file and point an autodiscovery tag to it, as explained in How to Create an RSS Feed.
  6. Check the result with the Feed Validator.
Cheat sheet of feed date formats: RFC 822 for RSS and RFC 3339 for Atom and JSON Feed with code examples
Date formats for RSS, Atom and JSON Feed.