-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrss.xml
42 lines (40 loc) · 1.72 KB
/
rss.xml
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
xmlns:georss="http://www.georss.org/georss"
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>Klovanych.org</title>
<atom:link
href="{{ url_for("rss") }}"
rel="self" type="application/rss+xml" />
<link>{{ url_for("blog") }}</link>
<description><![CDATA[]]></description>
<language>en</language>
<pubDate>{{ posts | first | getattr("date") | strftime("%a, %d %b %Y %H:%M:%S %z") }}</pubDate>
<lastBuildDate>{{ now() | strftime("%a, %d %b %Y %H:%M:%S %z") }}</lastBuildDate>
<generator>{{ meta.generator }}</generator>
<webMaster>[email protected] (Nazar Klovanych)</webMaster>
<image>
<url>{{ url_for("index") }}static/img/the-goat.png</url>
<title>Nazar Klovanych</title>
<link>{{ url_for("blog") }}</link>
</image>
{% for post in posts %}
<item>
<title>{{ post.title }}</title>
<link>{{ url_for("posts", slug=post.slug) }}</link>
<author>{{ post.author|default("[email protected] (Nazar Klovanych)") }}</author>
<guid isPermaLink="false">{{ url_for("posts", slug=post.slug) }}</guid>
<pubDate>{{ post.date|strftime("%a, %d %b %Y %H:%M:%S %z") }}</pubDate>
<description><![CDATA[{{ post.html|safe }}]]></description>
</item>
{% endfor %}
</channel>
</rss>