]> git.0d.be Git - panikweb-esperanzah.git/commitdiff
add itunes:explicit at the feed level
authorFrédéric Péters <fpeters@0d.be>
Thu, 19 Sep 2019 14:59:31 +0000 (16:59 +0200)
committerFrédéric Péters <fpeters@0d.be>
Mon, 6 Jan 2020 12:50:34 +0000 (13:50 +0100)
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: