-
Notifications
You must be signed in to change notification settings - Fork 15
/
podcast.xml
71 lines (68 loc) · 3.53 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
xmlns:rawvoice="http://www.rawvoice.com/rawvoiceRssModule/">
<channel>
<title>{{ site.podcast_title | xml_escape }}</title>
<atom:link href="{{ site.url }}{{ site.podcast_feed_url }}" rel="self" type="application/rss+xml" />
<link>{{ site.url }}</link>
<description>{{ site.podcast_description }}</description>
<lastBuildDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}</lastBuildDate>
<copyright>© {{ site.time | date: "%Y" }} {{ site.podcast_title | xml_escape }}</copyright>
<language>en-US</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>http://jekyllrb.com</generator>
<itunes:summary>{{ site.podcast_summary }}</itunes:summary>
<itunes:author>{{ site.podcast_author }}</itunes:author>
<itunes:explicit>{{ site.podcast_explicit }}</itunes:explicit>
<itunes:image href="{{ site.url }}{{ site.podcast_album_art }}" />
<itunes:owner>
<itunes:name>{{ site.podcast_owner }}</itunes:name>
<itunes:email>{{ site.podcast_email }}</itunes:email>
</itunes:owner>
<managingEditor>{{ site.podcast_email }} ({{ site.podcast_owner }})</managingEditor>
<itunes:subtitle>{{ site.podcast_subtitle }}</itunes:subtitle>
<image>
<title>{{ site.podcast_title | xml_escape }}</title>
<url>{{ site.url }}{{ site.podcast_album_art }}</url>
<link>{{ site.url }}</link>
</image>
<itunes:category text="{{ site.podcast_category }}">
<itunes:category text="{{ site.podcast_subcategory_one }}" />
<itunes:category text="{{ site.podcast_subcategory_two }}" />
</itunes:category>
{% assign all_podcasts = site.publications | where:"category","podcast" %}
{% for episode in all_podcasts %}
<item>
<title>{{ episode.title | xml_escape }}</title>
<link>{{ site.url }}{{ episode.url }}</link>
<pubDate>{{ episode.date | date: "%a, %d %b %Y %T %z" }}</pubDate>
<dc:creator><![CDATA[{{ site.podcast_author | cdata_escape }}]]></dc:creator>
{% for category in episode.tags %}
<category><![CDATA[{{ category | cdata_escape }}]]></category>
{% endfor %}
<guid isPermaLink="true">{{ site.url }}{{ episode.podcast_link }}</guid>
<description>
<![CDATA[{{ episode.summary | expand_urls: site.url | cdata_escape }}]]>
</description>
<enclosure url="{{ site.assets_server_url }}{{ episode.podcast_link }}" length="{{ episode.podcast_length }}" type="audio/mpeg" />
<itunes:subtitle><![CDATA[{{ episode.summary | strip_html | truncatewords: 50 | expand_urls: site.url | cdata_escape }}]]></itunes:subtitle>
<itunes:summary><![CDATA[{{ episode.summary | expand_urls: site.url | cdata_escape }}]]></itunes:summary>
<itunes:author>{{ site.podcast_author }}</itunes:author>
<itunes:image href="{{ site.url }}{{ site.podcast_album_art }}" />
<itunes:explicit>{{ site.podcast_explicit }}</itunes:explicit>
<itunes:duration>{{ episode.podcast_duration }}</itunes:duration>
</item>
{% endfor %}
</channel>
</rss>