uho/html/templates/show_RSS.jinja.xml

45 lines
1.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>The Podcast UHO!</title> <link>https://uho.rizom.si/podcast_rss.xml</link>
<language>en-us</language>
<copyright>© 2024 Zavod Rizoma</copyright>
<itunes:author>Zavod Rizoma</itunes:author>
<description>{{about_show}}</description>
<itunes:summary>{{about_show}}</itunes:summary>
<itunes:type>music</itunes:type>
<itunes:owner>
<itunes:name>{{show_name}}</itunes:name>
<itunes:email>{{show_email}}</itunes:email>
</itunes:owner>
<itunes:image href="https://uho.rizom.si/images/podcast-main.jpeg"/>
<itunes:category text="Music"/>
<itunes:explicit>false</itunes:explicit>
{% for rss_item in episodes %}
<item>
<title>#{{rss_item.episode_number}} : {{rss_item.episode_artists}} {{rss_item.episode_date[0][0]}} </title> <link>https://uho.rizom.si/episode/{{rss_item.episode_number}}</link>
<itunes:episodeType>full</itunes:episodeType>
<itunes:title>The Podcast UHO! Episode # {{rss_item.episode_number}}</itunes:title>
<itunes:summary>{{rss_item.episode_artists}} For full playlist details see: https://uho.rizom.si/episode/{{rss_item.eepisode_number}}
</itunes:summary>
<itunes:image href="{{rss_item.episode_image}}"/>
<description>{{rss_item.episode_artists}} For full playlist details see: https://uho.rizom.si/episode/{{rss_item.episode_number}}
</description>
<enclosure
length="{{rss_item.episode_duration[0]}}"
type="audio/mpeg"
url="{{rss_item.episode_mp3_url}}"
/>
<guid>{{rss_item.episode_number}}</guid>
<pubDate>{{rss_item.episode_date[0][0]}}</pubDate>
<itunes:duration>{{rss_item.episode_duration[0]}}</itunes:duration>
<itunes:explicit>false</itunes:explicit>
</item>
{% endfor %}
</channel>
</rss>