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 @@ +<?xml version="1.0" encoding="utf-8" ?> +<feed xmlns="http://www.w3.org/2005/Atom"> + <author>Author's name</author</author> + <title>Feed title</title> + {% for item in items %} + <entry> + <title>{{ item[0] }}</title> + <link href="{{ item[1] }}" /> + <content type="html">{{ item[2] }}</content> + </entry> + {% endfor %} +</feed> |