20 lines
1.1 KiB
HTML
20 lines
1.1 KiB
HTML
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
|
|
<channel>
|
|
<title>Radio Feed - {{ stream.name}}</title>
|
|
<link>http://192.168.1.200:3000/api/getPodcast?id=1</link>
|
|
<description>Stream ID: {{ stream.id }}</description>
|
|
<atom:link href="http://192.168.1.200:3000/api/getPodcast?id={{ stream.id }}" rel="self"/>
|
|
<generator>python-feedgen</generator>
|
|
<language>en</language>
|
|
<lastBuildDate>{{ builddate }}</lastBuildDate>
|
|
{% for file in stream.files %}
|
|
<item>
|
|
<title>{{ file.filename }}</title>
|
|
<link>http://192.168.1.200:3000/api/download?id={{ stream.id }}&fn={{ file.filenum }}</link>
|
|
<guid isPermaLink="false">http://192.168.1.200:3000/api/download?id={{ stream.id }}&fn={{ file.filenum }}</guid>
|
|
<media:content url="http://192.168.1.200:3000/api/download?id={{ stream.id }}&fn={{ file.filenum }}" fileSize="{{ file.bytes }}"/>
|
|
<pubDate>Wed, 30 Jul 2014 23:49:00 +0100</pubDate>
|
|
</item>
|
|
{% endfor %}
|
|
</channel>
|
|
</rss> |