X-Git-Url: https://git.deb.at/w?p=deb%2Fhackedgotchi.git;a=blobdiff_plain;f=templates%2Frss20.xml.dj;fp=templates%2Frss20.xml.dj;h=743f2eb368d2fd1dacc4f00ae4c2916f0ba30b82;hp=0000000000000000000000000000000000000000;hb=b9000d554a40e938f0a8cd16403676d59c01b674;hpb=39bd1259d9ba738bc9fbac8101812b4643d72df2;ds=sidebyside diff --git a/templates/rss20.xml.dj b/templates/rss20.xml.dj new file mode 100644 index 0000000..743f2eb --- /dev/null +++ b/templates/rss20.xml.dj @@ -0,0 +1,20 @@ + + + + + {{ name }} + {{ link }} + en + {{ name }} - {{ link }} + +{% for item in Items %} + + {{ item.channel_name }}>{% if item.title %}: {{ item.title_plain }}{% endif %} + {{ item.id }} + {{ item.link }} + {% if item.content %} {% if item.channel_face %} <img src="http://planet.debian.org/heads/{{ item.channel_face }}" width="{{ item.channel_facewidth }}" height="{{ item.channel_faceheight }}" alt="" align="right" style="float: right;"> {% endif %} {{ item.content }} {% endif %} + {{ item.date_822 }} +{% if item.author_email %} {% if item.author_name %} {{ item.author_email }} ({{ item.author_name }}) {% else %} {{ item.author_email }} {% endif %} {% endif %} + {% endfor %} + +