Source: Simple RSS, Atom, and JSON feed for your blog
RSS
1<?xml version="1.0" encoding="utf-8"?>
2<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
3 <channel>
4 <title>Example website title</title>
5 <link>https://example.com</link>
6 <description>Example website description.</description>
7 <atom:link href="https://example.com/rss.xml" rel="self" type="application/rss+xml" />
8 <item>
9 <title>Post one</title>
10 <link>https://example.com/posts-one</link>
11 <description>Post one content.</description>
12 <guid isPermaLink="true">https://example.com/posts-one</guid>
13 <pubDate>Mon, 22 May 2023 13:00:00 -0600</pubDate>
14 </item>
15 <item>
16 <title>Post two</title>
17 <link>https://example.com/posts-two</link>
18 <description>Post two content.</description>
19 <guid isPermaLink="true">https://example.com/posts-two</guid>
20 <pubDate>Mon, 15 May 2023 13:00:00 -0600</pubDate>
21 </item>
22 </channel>
23</rss>Atom
1<?xml version="1.0" encoding="utf-8"?>
2<feed xmlns="http://www.w3.org/2005/Atom">
3 <id>http://example.com/</id>
4 <title>Example website title</title>
5 <updated>2023-05-22T13:00:00.000Z</updated>
6 <author>
7 <name>John Doe</name>
8 </author>
9 <link href="https://example.com/atom.xml" rel="self" type="application/rss+xml" />
10 <subtitle>Example website description.</subtitle>
11 <entry>
12 <id>https://example.com/posts-one</id>
13 <title>Post one</title>
14 <link href="https://example.com/posts-one"/>
15 <updated>2023-05-22T13:00:00.000Z</updated>
16 <summary type="html">https://example.com/posts-one</summary>
17 <content type="html">Post one content.</content>
18 </entry>
19 <entry>
20 <id>https://example.com/posts-two</id>
21 <title>Post two</title>
22 <link href="https://example.com/posts-two"/>
23 <updated>2023-05-15T13:00:00.000Z</updated>
24 <summary type="html">https://example.com/posts-two</summary>
25 <content type="html">Post two content.</content>
26 </entry>
27</feed>JSON
1{
2 "version": "https://jsonfeed.org/version/1.1",
3 "title": "Example website title",
4 "home_page_url": "https://example.com",
5 "feed_url": "https://example.com/feed.json",
6 "description": "Example website description.",
7 "items": [
8 {
9 "id": "https://example.com/posts-one",
10 "url": "https://example.com/posts-one",
11 "title": "Post one content.",
12 "content_text": "Post one content.",
13 "date_published": "2023-05-22T13:00:00.000Z"
14 },
15 {
16 "id": "https://example.com/posts-two",
17 "url": "https://example.com/posts-two",
18 "title": "Post two content.",
19 "content_text": "Post two content.",
20 "date_published": "2023-05-15T13:00:00.000Z"
21 }
22 ]
23}