Commit eec7b388 authored by fred's avatar fred

mark all podcasts with "radio panik" as the owner

parent bc451987
......@@ -843,18 +843,14 @@ class RssCustomPodcastsFeed(Rss201rev2Feed):
if category.itunes_category:
handler.addQuickElement('itunes:category', None, {'text': category.itunes_category})
handler.addQuickElement('itunes:author', emission.title)
handler.startElement('itunes:owner', {})
if emission.email:
handler.addQuickElement('itunes:email', emission.email)
handler.addQuickElement('itunes:name', emission.title)
handler.endElement('itunes:owner')
handler.addQuickElement('itunes:author', settings.RADIO_NAME)
handler.startElement('itunes:owner', {})
if emission.email:
handler.addQuickElement('itunes:email', emission.email)
else:
handler.addQuickElement('itunes:author', settings.RADIO_NAME)
handler.startElement('itunes:owner', {})
handler.addQuickElement('itunes:email', 'info@radiopanik.org')
handler.addQuickElement('itunes:name', settings.RADIO_NAME)
handler.endElement('itunes:owner')
handler.addQuickElement('itunes:name', settings.RADIO_NAME)
handler.endElement('itunes:owner')
def root_attributes(self):
attrs = super(RssCustomPodcastsFeed, self).root_attributes()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment