X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=templates%2Fatom.xml.dj;fp=templates%2Fatom.xml.dj;h=3aaa064e5cf85300450f570ccaea705902738407;hb=39bd1259d9ba738bc9fbac8101812b4643d72df2;hp=0000000000000000000000000000000000000000;hpb=64c0de03b96e78b62ba1190ceb5fcffe909c16d3;p=deb%2Fhackedgotchi.git diff --git a/templates/atom.xml.dj b/templates/atom.xml.dj new file mode 100644 index 0000000..3aaa064 --- /dev/null +++ b/templates/atom.xml.dj @@ -0,0 +1,31 @@ + + + + {{ name }} + + + {{ feed }} + {{ date_iso }} + {{ generator }} + +{% for item in Items %} + + {{ item.title }} + + {{ item.id }} + {{ item.date_iso }} + {{ item.summary }} + {{ item.content }} + + {% firstof item.author_name item.channel_author_name item.channel_name %} + {% if item.author_email or item.channel_author_email %} {% firstof item.author_email item.channel_author_email %} {% else %} {{ item.channel_link }} {% endif %} + + + {% firstof item.channel_title item.channel_name %} + {% if item.channel_subtitle %}{{ item.channel_subtitle }}{% endif %} + + {% firstof item.channel_id item.channel_url %} {% if item.channel_updated_iso %}{{ item.channel_updated_iso }}{% endif %} {% if item.channel_rights %}{{ item.channel_rights }}{% endif %} + + + {% endfor %} +