-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpodcast.rss
More file actions
61 lines (60 loc) · 3.09 KB
/
podcast.rss
File metadata and controls
61 lines (60 loc) · 3.09 KB
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
---
layout: null
---
<?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 }}{{ site.baseurl }}/podcast.rss" rel="self" type="application/rss+xml" />
<title>{{ site.title }}</title>
<description>{{ site.description | xml_escape }}</description>
<link>{{ site.url }}{{ site.baseurl }}</link>
<language>{{ site.lang }}</language>
<managingEditor>{{ site.author.email }} ({{ site.author.name }})</managingEditor>
<webMaster>{{ site.author.email }} ({{ site.author.name }})</webMaster>
<copyright>{{ site.time | date: '%Y' }} {{ site.title }}</copyright>
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
<image>
<link>{{ site.url }}{{ site.baseurl }}</link>
<url>{{ site.url }}{{ site.baseurl }}/public/img/itunes.jpg</url>
<title>{{ site.title }}</title>
</image>
<itunes:subtitle>{{ site.tagline | xml_escape }}</itunes:subtitle>
<itunes:author>{{ site.author.name }}</itunes:author>
<itunes:summary>{{ site.description | xml_escape }}</itunes:summary>
<itunes:keywords>{{ site.keywords }}</itunes:keywords>
<itunes:owner>
<itunes:name>{{ site.author.name }}</itunes:name>
<itunes:email>{{ site.author.email }}</itunes:email>
</itunes:owner>
<itunes:image href="{{ site.url }}{{ site.baseurl }}/public/img/itunes.jpg" />
<itunes:category text="Society & Culture">
<itunes:category text="Personal Journals" />
</itunes:category>
<itunes:category text="Comedy">
<itunes:category text="Comedy Interviews" />
</itunes:category>
<itunes:category text="Business">
<itunes:category text="Careers" />
</itunes:category>
<itunes:explicit>no</itunes:explicit>
{% for post in site.posts %}{% if post.publish != "no" %}
<item>
<title>{{ post.title | xml_escape }}</title>
<link>{{ site.url }}{{ site.baseurl }}{{ post.url }}</link>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<description>{{ post.summary | xml_escape }}</description>
<guid isPermaLink="true">{{ site.url }}{{ site.baseurl }}{{ post.url }}</guid>
<enclosure url="https://op3.dev/e,pg=5f755896-2724-51d0-adca-70bd8ea4b1f5/radiodaal-content.arashtaher.com/{{ post.name | split: '.' | first }}.mp3" length="{{ post.length }}" type="audio/mp3"/>
<itunes:author>{{ site.author.name }}</itunes:author>
<itunes:subtitle>{{ site.fa_title }}: {{ post.title }}</itunes:subtitle>
<itunes:summary>{{ post.summary | default: post.excerpt | xml_escape }}</itunes:summary>
<itunes:duration>{{ post.duration }}</itunes:duration>
<itunes:keywords>{{ post.keywords | join: ', ' }}</itunes:keywords>
<itunes:image href={%if post.cover %}"{{ site.url }}{{ post.cover }}"{% else %}"{{ site.url }}{{ site.baseurl }}/public/img/itunes.jpg"{% endif %} />
<itunes:explicit>{{ post.explicit | default: "no" }}</itunes:explicit>
<itunes:block>{{ post.block | default: "no" }}</itunes:block>
</item>
{% endif %}{% endfor %}
</channel>
</rss>