forked from r7kamura/yattecast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
feed.xml
40 lines (40 loc) · 2.04 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
---
---
<?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" xmlns:media="http://search.yahoo.com/mrss/" xml:lang="{{ site.language }}">
<channel>
<atom:link href="{{ site.github.url }}/feed.xml" rel="self" type="application/rss+xml" />
<link>{{ site.github.url }}/</link>
<title>{{ site.title }}</title>
<description>{{ site.description | xml_escape }}</description>
<media:keywords>{{ site.keywords }}</media:keywords>
<media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">Technology</media:category>
<language>{{ site.language }}</language>
<itunes:subtitle>{{ site.description | xml_escape }}</itunes:subtitle>
<itunes:author>{{ site.author }}</itunes:author>
<itunes:summary>{{ site.description | xml_escape }}</itunes:summary>
<itunes:keywords>{{ site.keywords }}</itunes:keywords>
<itunes:owner>
<itunes:name>{{ site.author }}</itunes:name>
<itunes:email>{{ site.email }}</itunes:email>
</itunes:owner>
<itunes:image href="{{ site.github.url }}/images/artwork.jpg" />
<itunes:category text="Technology"/>
<itunes:explicit>no</itunes:explicit>
{% for post in site.posts %}
<item>
<title>{{ post.title | xml_escape }}</title>
<link>{{ site.github.url }}{{ post.url }}</link>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<description>{{ post.content | xml_escape }}</description>
<guid isPermaLink="true">{{ site.github.url }}{{ post.url }}</guid>
<enclosure url="{{ site.github.url }}{{ post.audio_file_path }}" length="{{ post.audio_file_size }}" type="audio/mp3"/>
<itunes:author>{{ site.author }}</itunes:author>
<itunes:subtitle>{{ post.description }}</itunes:subtitle>
<itunes:duration>{{ post.duration }}</itunes:duration>
<itunes:explicit>no</itunes:explicit>
<media:thumbnail url="{{ site.github.url }}/images/artwork.jpg"/>
</item>
{% endfor %}
</channel>
</rss>