handler.addQuickElement('itunes:subtitle', emission.subtitle)
if emission.title:
handler.addQuickElement('itunes:author', emission.title)
- else:
- handler.addQuickElement('itunes:author', 'Radio Panik')
for category in emission.categories.all():
if category.itunes_category:
handler.addQuickElement('itunes:category', None, {'text': category.itunes_category})
+ else:
+ handler.addQuickElement('itunes:author', 'Radio Panik')
def root_attributes(self):
attrs = super(RssCustomPodcastsFeed, self).root_attributes()