This repository was archived by the owner on Mar 11, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeed.xml
More file actions
53 lines (43 loc) · 1.98 KB
/
feed.xml
File metadata and controls
53 lines (43 loc) · 1.98 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
---
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
<channel>
<title>{{ site.podcast.title }}</title>
<link>{{ site.url }}</link>
<language>ru</language>
<copyright>{{ site.podcast.copyright }}</copyright>
<itunes:subtitle>{{ site.podcast.subtitle }}</itunes:subtitle>
<itunes:author>{{ site.podcast.author }}</itunes:author>
<itunes:summary>{{ site.podcast.summary }}</itunes:summary>
<description>{{ site.podcast.summary }}</description>
<itunes:owner>
<itunes:name>{{ site.author }}</itunes:name>
<itunes:email>{{ site.email }}</itunes:email>
</itunes:owner>
<itunes:image href="{{ site.podcast.artwork_path | absolute_url | replace: 'https', 'http' }}"/>
<itunes:category text="{{ site.podcast.category }}">
{% for subcategory in site.podcast.subcategories %}
<itunes:category text="{{ subcategory }}"/>
{% endfor %}
</itunes:category>
<itunes:explicit>no</itunes:explicit>
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
{% for post in site.categories.podcast %}
<item>
<title>{{ post.number }}. {{ post.title }}</title>
<itunes:author>{{ site.podcast.author }}</itunes:author>
<itunes:subtitle>{{ post.summary }}</itunes:subtitle>
<itunes:summary>{{ post.summary }}</itunes:summary>
<itunes:image href="{{ site.podcast.artwork_path | absolute_url | replace: 'https', 'http' }}"/>
<enclosure length="{{ post.length }}" url="{{ post.mp3_url | replace: 'https', 'http' }}" type="audio/mpeg"/>
<guid>{{ post.url | absolute_url }}</guid>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<itunes:duration>{{ post.duration }}</itunes:duration>
<itunes:explicit>no</itunes:explicit>
<description><![CDATA[{{ post.content | strip_newlines }}]]></description>
</item>
{% endfor %}
</channel>
</rss>