diff options
Diffstat (limited to 'templates/feed.atom.j2')
-rw-r--r-- | templates/feed.atom.j2 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/feed.atom.j2 b/templates/feed.atom.j2 new file mode 100644 index 00000000..0a201ff2 --- /dev/null +++ b/templates/feed.atom.j2 | |||
@@ -0,0 +1,12 @@ | |||
1 | <?xml version="1.0" encoding="utf-8" ?> | ||
2 | <feed xmlns="http://www.w3.org/2005/Atom"> | ||
3 | <author>Author's name</author</author> | ||
4 | <title>Feed title</title> | ||
5 | {% for item in items %} | ||
6 | <entry> | ||
7 | <title>{{ item[0] }}</title> | ||
8 | <link href="{{ item[1] }}" /> | ||
9 | <content type="html">{{ item[2] }}</content> | ||
10 | </entry> | ||
11 | {% endfor %} | ||
12 | </feed> | ||