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