-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
podcast.xml
executable file
·48 lines (44 loc) · 2.32 KB
/
podcast.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xml:lang="{{ site.lang }}">
<channel>
<atom:link href="{{ site.url }}/podcast.rss" rel="self" type="application/rss+xml" />
<title>{{ site.title }}</title>
<link>{{ site.url }}{{ site.baseurl }}</link>
<language>{{ site.lang }}</language>
<copyright>© {{ site.time | date: "%Y" }} {{ site.author }}</copyright>
<itunes:subtitle>{{ site.subtitle | xml_escape }}</itunes:subtitle>
<itunes:author>{{ site.author }}</itunes:author>
<itunes:summary>{{ site.description | xml_escape }}</itunes:summary>
<description>{{ site.description | xml_escape }}</description>
<webMaster>{{ site.email }} ({{ site.author }})</webMaster>
<itunes:owner>
<itunes:name>{{ site.author }}</itunes:name>
<itunes:email>{{ site.email }}</itunes:email>
</itunes:owner>
<itunes:image href="{{ site.url }}{{ site.baseurl }}/images/itunes.png" />
<itunes:type>episodic</itunes:type>
<itunes:category text="Arts" />
<itunes:keywords>Archival Video</itunes:keywords>
<itunes:explicit>no</itunes:explicit>
{% for post in site.posts %}
<item>
<title>{{ post.title | xml_escape }}</title>
<itunes:author>{{ site.author }}</itunes:author>
<itunes:subtitle>{{ site.title | xml_escape }}: {{ post.title | xml_escape }}</itunes:subtitle>
<itunes:summary>{{ post.summary | xml_escape }}</itunes:summary>
<itunes:image href="{{ site.url }}/images/itunes.png" />
<enclosure url="{{ post.file }}" length="{{ post.length }}" type="video/mp4"/>
<guid isPermaLink="true">{{ site.url }}{{ site.baseurl }}{{ post.url }}</guid>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<itunes:duration>{{ post.duration }}</itunes:duration>
<itunes:explicit>{{ post.explicit }}</itunes:explicit>
<description>{{ post.summary | xml_escape }}
The complete show post with further details is found at {{ site.url }}{{ site.baseurl }}{{ post.url }}</description>
<itunes:keywords>{{ post.keywords }}</itunes:keywords>
<itunes:block>{{ post.block }}</itunes:block>
</item>
{% endfor %}
</channel>
</rss>