annotate gpp/templates/podcast/feed.xml @ 197:2baadae33f2e

Got autocomplete working for the member search. Updated django and ran into a bug where url tags with comma separated kwargs starting consuming tons of CPU throughput. The work-around is to cut over to using spaces between arguments. This is now allowed to be consistent with other tags. Did some query optimization for the news app.
author Brian Neal <bgneal@gmail.com>
date Sat, 10 Apr 2010 04:32:24 +0000
parents 1ed461fd2030
children 6e425c9b9d16
rev   line source
gremmie@1 1 <?xml version="1.0" encoding="UTF-8"?>
gremmie@1 2 <rss version="2.0"
gremmie@1 3 xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
gremmie@1 4 xmlns:atom="http://www.w3.org/2005/Atom">
gremmie@1 5 <channel>
gremmie@1 6 {% if channel %}
gremmie@1 7 <atom:link href="{{ request.build_absolute_uri }}" rel="self" type="application/rss+xml" />
gremmie@1 8 <title>{{ channel.title }}</title>
gremmie@1 9 <link>{{ channel.link }}</link>
gremmie@1 10 <language>{{ channel.language }}</language>
gremmie@1 11 <copyright>{{ channel.copyright }}</copyright>
gremmie@1 12 <itunes:subtitle>{{ channel.subtitle }}</itunes:subtitle>
gremmie@1 13 <itunes:author>{{ channel.author }}</itunes:author>
gremmie@1 14 <itunes:summary>{{ channel.description }}</itunes:summary>
gremmie@1 15 <description>{{ channel.description }}</description>
bgneal@143 16 <itunes:keywords>{{ channel.keywords }}</itunes:keywords>
gremmie@1 17 <itunes:owner>
gremmie@1 18 <itunes:name>{{ channel.owner_name }}</itunes:name>
gremmie@1 19 <itunes:email>{{ channel.owner_email }}</itunes:email>
gremmie@1 20 </itunes:owner>
gremmie@1 21 <itunes:image href="{{ channel.image.url }}" />
gremmie@1 22 <itunes:category text="{{ channel.category }}" />
gremmie@1 23 <itunes:explicit>{{ channel.explicit }}</itunes:explicit>
gremmie@1 24 {% for item in channel.item_set.all %}
gremmie@1 25 <item>
gremmie@1 26 <title>{{ item.title }}</title>
gremmie@1 27 <itunes:author>{{ item.author }}</itunes:author>
gremmie@1 28 <itunes:subtitle>{{ item.subtitle }}</itunes:subtitle>
gremmie@1 29 <itunes:summary>{{ item.summary }}</itunes:summary>
gremmie@1 30 <enclosure url="{{ item.enclosure_url }}" length="{{ item.enclosure_length }}" type="{{ item.enclosure_type }}" />
gremmie@1 31 <guid>{{ item.enclosure_url }}</guid>
gremmie@1 32 <pubDate>{{ item.pubdate|date:"D, d M Y H:i:s O" }}</pubDate>
gremmie@1 33 <itunes:duration>{{ item.duration }}</itunes:duration>
gremmie@1 34 <itunes:keywords>{{ item.keywords }}</itunes:keywords>
gremmie@1 35 <itunes:explicit>{{ item.explicit }}</itunes:explicit>
gremmie@1 36 </item>
gremmie@1 37 {% endfor %}
gremmie@1 38 {% endif %}
gremmie@1 39 </channel>
gremmie@1 40 </rss>