Commit 633839fb authored by fred's avatar fred

add soundfile lengths in podcast rss

parent d8a5e014
......@@ -13,7 +13,7 @@
<title>{% if soundfile.fragment %}{{ soundfile.title }} - {% endif %}{{ soundfile.episode.title }}</title>
<link>{{ base_url }}{% url 'episode-view' slug=soundfile.episode.slug emission_slug=soundfile.episode.emission.slug %}</link>
<description>{{ soundfile.episode.text|striptags }}</description>
<enclosure url="{{ base_url }}{{ soundfile|format_url:'mp3' }}" type="audio/mpeg"/>
<enclosure url="{{ base_url }}{{ soundfile|format_url:'mp3' }}" length="{{ soundfile|format_length:'mp3' }}" type="audio/mpeg"/>
<guid>{{ base_url }}{{ soundfile.episode.get_absolute_url }}#{{ soundfile.id }}</guid>
<pubDate>{{ soundfile.episode.creation_timestamp|rfc822 }}</pubDate>
</item>
......
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