-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpodcast.rss
47 lines (47 loc) · 2.16 KB
/
podcast.rss
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
---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
<channel>
<title>{{ site.title | xml_escape }}</title>
<link>{{ site.url }}{{ site.baseurl }}</link>
<language>en-us</language>
<!--
<itunes:subtitle>Subtitle of podcast</itunes:subtitle>
-->
<itunes:subtitle>{{ site.description | xml_escape }}</itunes:subtitle>
<itunes:author>Soft-wa.re/Developer</itunes:author>
<itunes:summary>An AI Generated Podcast</itunes:summary>
<description> {{ site.description | xml_escape }}</description>
<itunes:owner>
<itunes:name>Soft-wa.re/Developer</itunes:name>
<itunes:email>[email protected]</itunes:email>
</itunes:owner>
<itunes:category text="Technology">Technology</itunes:category>
<itunes:image href="https://soft-wa.re/favicon.png"></itunes:image>
<itunes:explicit>no</itunes:explicit>
{% for coll in site.collections %}
{% for post in coll.files %}
{% if post.extname == ".mp3" %}
<item>
<title>{{ post.name | replace: "-", " " | remove: ".markdown.mp3" | capitalize }}</title>
<itunes:summary>{{ post.content | xml_escape }}</itunes:summary>
<description>{{ post.content | xml_escape }}</description>
<link>{{ site.url }}/{{ post.collection }}/{{ post.name | remove: ".markdown.mp3" }}</link>
<enclosure url="{{ site.url }}/{{ post.collection }}/{{ post.name }}?raw=true" type="audio/mpeg"></enclosure>
<pubDate>
{{ post.modified_time }}
</pubDate>
<itunes:author>Soft-wa.re Developer</itunes:author>
<!--
<itunes:duration>00:32:16</itunes:duration>
-->
<itunes:explicit>no</itunes:explicit>
<guid>{{ site.url }}/{{ post.collection }}/{{ post.name }}</guid>
</item>
{% endif %}
{% endfor %}
{% endfor %}
</channel>
</rss>