-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathrss_feed_template.xml
More file actions
26 lines (26 loc) · 959 Bytes
/
rss_feed_template.xml
File metadata and controls
26 lines (26 loc) · 959 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>
Cosmic Python
</title>
<description>
Simple patterns for building complex apps
</description>
<link>https://cosmicpython.com</link>
<lastBuildDate>{{date}}</lastBuildDate>
<pubDate>Sat, 4 Jan 2020 19:15:54 -0500</pubDate>
<atom:link href="https://cosmicpython.com/rss.xml" rel="self" type="application/rss+xml" />
{% for item in posts %}
<item>
<title>{{ item.title }}</title>
<description>
{{item.blog_subheading}}
</description>
<link>{{item.link}}</link>
<pubDate>{{item.rfc2822_date}}</pubDate>
<dc:creator>{{ item.author }}</dc:creator>
<guid>{{item.link}}</guid>
</item>
{% endfor %}
</channel>
</rss>