streamrecord/templates/podcast.html

24 lines
1.2 KiB
HTML
Raw Permalink Normal View History

2014-08-28 21:41:01 -07:00
<?xml version="1.0" encoding="UTF-8" ?>n")
<rss version="2.0">
2014-08-26 11:46:47 -07:00
<channel>
2014-08-28 21:41:01 -07:00
<title>{{ stream.name }}</title>
2014-08-26 11:46:47 -07:00
<description>Stream ID: {{ stream.id }}</description>
2014-08-28 21:42:59 -07:00
<link>http://192.168.1.200:30000/api/getPodcast?id={{ stream.id }}</link>
2014-08-28 21:41:01 -07:00
<ttl>60</ttl>
2014-08-28 22:03:11 -07:00
<!--<image><url>http://192.168.1.200:30000/api/getImage?id={{ stream.id }}</url><title>{{ stream.name }}</title><link>http://192.168.1.200:30000/api/getPodcast?id={{ stream.id }}</link></image>-->
2014-08-28 21:41:01 -07:00
<copyright>Streamrecord 2014</copyright>
<lastBuildDate>{{ builddate }}</lastBuildDate>
<pubDate>{{ builddate }}</pubDate>
<webMaster>streamrecord@raid.local</webMaster>
2014-08-26 11:46:47 -07:00
{% for file in stream.files %}
2014-08-28 21:41:01 -07:00
<item>
2014-08-26 11:46:47 -07:00
<title>{{ file.filename }}</title>
2014-08-28 21:47:18 -07:00
<description>{{ file.mbytes }} MB</description>
2014-08-28 21:41:01 -07:00
<link>http://192.168.1.200:30000/api/download?id={{ stream.id }}&amp;fn={{ file.filenum }}</link>
<guid>http://192.168.1.200:30000/api/download?id={{ stream.id }}&amp;fn={{ file.filenum }}</guid>
2014-08-28 21:45:13 -07:00
<pubDate>{{ file.date }}</pubDate>
2014-08-28 21:41:01 -07:00
<enclosure url="http://192.168.1.200:30000/api/download?id={{ stream.id }}&amp;fn={{ file.filenum }}" length="{{ file.bytes }}" type="audio/mpeg" />
</item>
2014-08-26 11:46:47 -07:00
{% endfor %}
</channel>
</rss>