<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<feed xmlns="http://www.w3.org/2005/Atom">

  <title>{{ name }}</title>
  <link rel="self" href="{{ feed }}"/>
  <link href="{{ link }}"/>
  <id>{{ feed }}</id>
  <updated>{{ date_iso }}</updated>
  <generator uri="{{ generator }}">{{ generator }}</generator>

{% for item in Items %}
  <entry xml:lang="{% firstof item.channel_language "en" %}">
	<title type="html" xml:lang="{% firstof item.title_language "en" %}">{{ item.title }}</title>
	<link href="{{ item.link }}"/>
	<id>{{ item.id }}</id>
	<updated>{{ item.date_iso }}</updated>
	<summary type="html" xml:lang="{% firstof item.summary_language "en" %}">{{ item.summary }}</summary>
	<content type="html" xml:lang="{% firstof item.content_language "en" %}">{{ item.content }}</content>
	<author>
	  <name>{% firstof item.author_name item.channel_author_name item.channel_name %}</name>
	  {% 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 %}
	</author>
	<source>
	  <title type="html">{% firstof item.channel_title item.channel_name %}</title>
	  {% if item.channel_subtitle %}<subtitle type="html">{{ item.channel_subtitle }}</subtitle>{% endif %}
	  <link rel="self" href="{{ item.channel_url }}"/>
	  <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 %}
	</source>
  </entry>
  {% endfor %}
</feed>
