comparison gpp/templates/podcast/feed.xml @ 403:6e425c9b9d16

In support of #161; improve query performance of the feed view; also cache the feed view in urls.py.
author Brian Neal <bgneal@gmail.com>
date Sun, 27 Mar 2011 18:22:48 +0000
parents 1ed461fd2030
children
comparison
equal deleted inserted replaced
402:9175392da056 403:6e425c9b9d16
19 <itunes:email>{{ channel.owner_email }}</itunes:email> 19 <itunes:email>{{ channel.owner_email }}</itunes:email>
20 </itunes:owner> 20 </itunes:owner>
21 <itunes:image href="{{ channel.image.url }}" /> 21 <itunes:image href="{{ channel.image.url }}" />
22 <itunes:category text="{{ channel.category }}" /> 22 <itunes:category text="{{ channel.category }}" />
23 <itunes:explicit>{{ channel.explicit }}</itunes:explicit> 23 <itunes:explicit>{{ channel.explicit }}</itunes:explicit>
24 {% for item in channel.item_set.all %} 24 {% for item in channel.items %}
25 <item> 25 <item>
26 <title>{{ item.title }}</title> 26 <title>{{ item.title }}</title>
27 <itunes:author>{{ item.author }}</itunes:author> 27 <itunes:author>{{ item.author }}</itunes:author>
28 <itunes:subtitle>{{ item.subtitle }}</itunes:subtitle> 28 <itunes:subtitle>{{ item.subtitle }}</itunes:subtitle>
29 <itunes:summary>{{ item.summary }}</itunes:summary> 29 <itunes:summary>{{ item.summary }}</itunes:summary>