]> git.0d.be Git - panikweb.git/blobdiff - panikweb/views.py
add itunes:explicit at the feed level
[panikweb.git] / panikweb / views.py
index 069a4ac858f61ce41051b51895a19312ae2c0c33..0f879271c755577f5e70cf6af691278f72c4b1ee 100644 (file)
@@ -730,6 +730,7 @@ class RssCustomPodcastsFeed(Rss201rev2Feed):
             handler.addQuickElement('title', 'Radio Esperanzah!')
         handler.addQuickElement('url', image_url)
         handler.endElement('image')
+        handler.addQuickElement('itunes:explicit', 'no')  # invidividual items will get their own value
         handler.addQuickElement('itunes:image', None, {'href': image_url})
         if emission:
             if emission.subtitle: