]> git.deb.at Git - deb/hackedgotchi.git/blob - templates/atom.xml.dj
Add new derivative Kali Linux
[deb/hackedgotchi.git] / templates / atom.xml.dj
1 <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
2 <feed xmlns="http://www.w3.org/2005/Atom">
3
4   <title>{{ name }}</title>
5   <link rel="self" href="{{ feed }}"/>
6   <link href="{{ link }}"/>
7   <id>{{ feed }}</id>
8   <updated>{{ date_iso }}</updated>
9   <generator uri="{{ generator }}">{{ generator }}</generator>
10
11 {% for item in Items %}
12   <entry xml:lang="{% firstof item.channel_language "en" %}">
13         <title type="html" xml:lang="{% firstof item.title_language "en" %}">{{ item.title }}</title>
14         <link href="{{ item.link }}"/>
15         <id>{{ item.id }}</id>
16         <updated>{{ item.date_iso }}</updated>
17         <summary type="html" xml:lang="{% firstof item.summary_language "en" %}">{{ item.summary }}</summary>
18         <content type="html" xml:lang="{% firstof item.content_language "en" %}">{{ item.content }}</content>
19         <author>
20           <name>{% firstof item.author_name item.channel_author_name item.channel_name %}</name>
21           {% if item.author_email or item.channel_author_email %} <email>{% firstof item.author_email item.channel_author_email %}</email> {% else %} <uri>{{ item.channel_link }}</uri> {% endif %}
22         </author>
23         <source>
24           <title type="html">{% firstof item.channel_title item.channel_name %}</title>
25           {% if item.channel_subtitle %}<subtitle type="html">{{ item.channel_subtitle }}</subtitle>{% endif %}
26           <link rel="self" href="{{ item.channel_url }}"/>
27           <id>{% firstof item.channel_id item.channel_url %}</id> {% if item.channel_updated_iso %}<updated>{{ item.channel_updated_iso }}</updated>{% endif %} {% if item.channel_rights %}<rights type="html">{{ item.channel_rights }}</rights>{% endif %}
28         </source>
29   </entry>
30   {% endfor %}
31 </feed>