forked from gmkzwwg/pRoJEct-VeXEd
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpodcast.xml
51 lines (51 loc) · 3.56 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
---
layout: null
---
<?xml version='1.0' encoding='utf-8'?>
<rss version='2.0' xmlns:content='http://purl.org/rss/1.0/modules/content/' xmlns:itunes='http://www.itunes.com/dtds/podcast-1.0.dtd'>
<channel>
<title>{{ site.podcast.title }}</title>
<description>{{ site.podcast.description }}</description>
<link>{{ '/' | absolute_url }}</link>
<itunes:author>{{ site.podcast.author }}</itunes:author>
<itunes:email>{{ site.podcast.email }}</itunes:email>
<itunes:image href='{{ site.podcast.logo | absolute_url }}'/>
<language>{{ site.podcast.language }}</language>
<copyright>copyright © {{ site.podcast.author }}</copyright>
<itunes:owner>
<itunes:name>{{ site.podcast.author }}</itunes:name>
<itunes:email>{{ site.podcast.email }}</itunes:email>
</itunes:owner>
<itunes:category text='{{ site.podcast.category }}'>
<itunes:category text='{{ site.podcast.subcategory }}'/>
</itunes:category>
<itunes:type>{{ site.podcast.type }}</itunes:type>
<itunes:explicit>{{ site.podcast.explicit }}</itunes:explicit>
<itunes:complete>{{ site.podcast.complete }}</itunes:complete>
<itunes:block>{{ site.podcast.block }}</itunes:block>
{% for post in site.posts %}
{% capture year %}{{post.date | date: "%Y"}}{% endcapture %}
<item>
<title>{{ post.excerpt }}: {{ post.title }}</title>
<guid isPermaLink="false">{{ post.excerpt }}</guid>
<itunes:title>{{ post.excerpt }}: {{ post.title }}</itunes:title>
<itunes:author>Andrew Grathwohl</itunes:author>
<itunes:season>{{ year }}</itunes:season>
<itunes:episode>{{ post.episode }}</itunes:episode>
<itunes:episodeType>{{ post.episodeType | default: "full" }}</itunes:episodeType>
<itunes:explicit>{{ post.explicit | default: false }}</itunes:explicit>
<itunes:summary><![CDATA[<a href="{{ site.url }}{{ post.url }}"><h1>{{ post.title }}</h1></a> <br><br>A work of Sonic Multiplicities performed by {{ post.author }} on {{ post.instrument }}. <br><br><h2>Downloads </h2><p><a href="https://sonicmultiplicities.audio/feed/downloads/{{ post.excerpt }}.opus">OPUS</a> <a href="https://sonicmultiplicities.audio/feed/downloads/{{ post.excerpt }}.flac">FLAC</a> <a href="https://sonicmultiplicities.audio/feed/{{ post.excerpt }}.mp3">MP3</a> </p><br><br><p>{{ post.content }}</p>]]></itunes:summary>
{% if post.cover %}
<itunes:image href="{{ post.cover | prepend: 'https:'}}"/>
{% else %}
<itunes:image href="{{ site.podcast.logo }}"/>
{% endif %}
<link>https://{{ post.stream_url }}</link>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<itunes:duration>{{ post.duration | xml_escape }}</itunes:duration>
<enclosure url='https://{{ post.stream_url }}' length='{{ post.duration | xml_escape }}'/>
<description><![CDATA[<a href="{{ site.url }}{{ post.url }}"><h1>{{ post.title }}</h1></a><br><br>A work of Sonic Multiplicities performed by {{ post.author }} on {{ post.instrument }}.<br><br><h2>Downloads</h2><p><a href="https://sonicmultiplicities.audio/feed/downloads/{{ post.excerpt }}.opus">OPUS</a> <a href="https://sonicmultiplicities.audio/feed/downloads/{{ post.excerpt }}.flac">FLAC</a> <a href="https://sonicmultiplicities.audio/feed/{{ post.excerpt }}.mp3">MP3</a></p><br><br><p>{{ post.content }}</p>]]></description>
</item>
{% endfor %}
</channel>
</rss>