]> git.ipfire.org Git - ipfire.org.git/blame - src/templates/blog/feed.xml
blog: Implement read-only backend
[ipfire.org.git] / src / templates / blog / feed.xml
CommitLineData
f0714277
MT
1<?xml version="1.0" encoding="utf-8"?>
2<rss version="2.0"
3 xmlns:content="http://purl.org/rss/1.0/modules/content/"
4 xmlns:atom="http://www.w3.org/2005/Atom"
5 xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">
6 <channel>
7 <title>IPFire Blog</title>
8 <atom:link href="https://blog.ipfire.org/feed.xml" rel="self" type="application/rss+xml" />
9 <link>https://blog.ipfire.org</link>
10 <description>The official blog of the IPFire Project</description>
11 <lastBuildDate>{{ now }}</lastBuildDate>
12 <language>en-GB</language>
13 <sy:updatePeriod>hourly</sy:updatePeriod>
14 <sy:updateFrequency>1</sy:updateFrequency>
15
16 <image>
17 <url>https://www.ipfire.org{{ static_url("img/tux/ipfire_tux_32x32.png") }}</url>
18 <title>IPFire Blog</title>
19 <link>https://blog.ipfire.org</link>
20 <width>32</width>
21 <height>32</height>
22 </image>
23
24 <atom:link rel="payment" title="Donate!" href="https://www.ipfire.org/donate" type="text/html" />
25
26 {% for post in posts %}
27 <item>
28 <title>{{ post.title }}</title>
29 <link>https://blog.ipfire.org/post/{{ post.slug }}</link>
30 <author>{{ post.author.email }} ({{ post.author.name }})</author>
0a6875dc 31 <pubDate>{{ post.published_at.strftime("%a, %d %b %Y %H:%M:%S +0200") }}</pubDate>
f0714277 32 <guid isPermaLink="false"></guid>
0a6875dc 33 <description><![CDATA[{% raw post.html %}]]></description>
f0714277
MT
34 </item>
35 {% end %}
36 </channel>
37</rss>