-
Notifications
You must be signed in to change notification settings - Fork 3
/
feed.xml
58 lines (58 loc) · 2.42 KB
/
feed.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
---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ site.title | xml_escape }}</title>
<description>{{ site.description | xml_escape }}</description>
<link>{{ site.url }}{{ site.baseurl }}/</link>
<language>zh-CN</language>
<atom:link href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/rss+xml"/>
<image>
<title>{{ site.title | xml_escape }}</title>
<link>{{ site.url }}{{ site.baseurl }}/</link>
<url>http://7sbn7z.com5.z0.glb.clouddn.com/threecast-logo.jpg</url>
</image>
<itunes:author>{{ site.data.author.name }}</itunes:author>
<itunes:subtitle>{{ site.description | xml_escape | truncatewords 250 }}</itunes:subtitle>
<itunes:summary>Podcast by Threecast.</itunes:summary>
<itunes:owner>
<itunes:name>{{ site.data.author.name }}</itunes:name>
<itunes:email>{{ site.data.author.email }}</itunes:email>
</itunes:owner>
<itunes:explicit>No</itunes:explicit>
<itunes:image href="http://7sbn7z.com5.z0.glb.clouddn.com/threecast-logo.jpg"/>
<itunes:category text="Technology" />
{% for post in site.categories.podcast %}
<item>
<title>{{ post.title | xml_escape }}</title>
<description><![CDATA[
{{ post.content }}
]]>
</description>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link>
<guid isPermaLink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid>
{% for tag in post.tags %}
<category>{{ tag | xml_escape }}</category>
{% endfor %}
{% for cat in post.categories %}
<category>{{ cat | xml_escape }}</category>
{% endfor %}
<enclosure url="{{ post.audiolink}}" length="{{ post.bytelength }}" type="{{ post.podcasttype }}" />
<itunes:author>{{ site.data.author.name }}</itunes:author>
<itunes:explicit>No</itunes:explicit>
<itunes:subtitle> <![CDATA[
{{ post.excerpt }}
]]>
</itunes:subtitle>
<itunes:summary> <![CDATA[
{{ post.content }}
]]>
</itunes:summary>
<itunes:duration>{{ post.podcastlength }}</itunes:duration>
</item>
{% endfor %}
</channel>
</rss>