gremmie@1: <?xml version="1.0" encoding="UTF-8"?> gremmie@1: <rss version="2.0" gremmie@1: xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" gremmie@1: xmlns:atom="http://www.w3.org/2005/Atom"> gremmie@1: <channel> gremmie@1: {% if channel %} gremmie@1: <atom:link href="{{ request.build_absolute_uri }}" rel="self" type="application/rss+xml" /> gremmie@1: <title>{{ channel.title }}</title> gremmie@1: <link>{{ channel.link }}</link> gremmie@1: <language>{{ channel.language }}</language> gremmie@1: <copyright>{{ channel.copyright }}</copyright> gremmie@1: <itunes:subtitle>{{ channel.subtitle }}</itunes:subtitle> gremmie@1: <itunes:author>{{ channel.author }}</itunes:author> gremmie@1: <itunes:summary>{{ channel.description }}</itunes:summary> gremmie@1: <description>{{ channel.description }}</description> bgneal@143: <itunes:keywords>{{ channel.keywords }}</itunes:keywords> gremmie@1: <itunes:owner> gremmie@1: <itunes:name>{{ channel.owner_name }}</itunes:name> gremmie@1: <itunes:email>{{ channel.owner_email }}</itunes:email> gremmie@1: </itunes:owner> gremmie@1: <itunes:image href="{{ channel.image.url }}" /> gremmie@1: <itunes:category text="{{ channel.category }}" /> gremmie@1: <itunes:explicit>{{ channel.explicit }}</itunes:explicit> gremmie@1: {% for item in channel.item_set.all %} gremmie@1: <item> gremmie@1: <title>{{ item.title }}</title> gremmie@1: <itunes:author>{{ item.author }}</itunes:author> gremmie@1: <itunes:subtitle>{{ item.subtitle }}</itunes:subtitle> gremmie@1: <itunes:summary>{{ item.summary }}</itunes:summary> gremmie@1: <enclosure url="{{ item.enclosure_url }}" length="{{ item.enclosure_length }}" type="{{ item.enclosure_type }}" /> gremmie@1: <guid>{{ item.enclosure_url }}</guid> gremmie@1: <pubDate>{{ item.pubdate|date:"D, d M Y H:i:s O" }}</pubDate> gremmie@1: <itunes:duration>{{ item.duration }}</itunes:duration> gremmie@1: <itunes:keywords>{{ item.keywords }}</itunes:keywords> gremmie@1: <itunes:explicit>{{ item.explicit }}</itunes:explicit> gremmie@1: </item> gremmie@1: {% endfor %} gremmie@1: {% endif %} gremmie@1: </channel> gremmie@1: </rss>