-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathfeed_mp3.xml
executable file
·49 lines (49 loc) · 2.24 KB
/
feed_mp3.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
---
---
<?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/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>{{ site.title }}</title>
<description>{{ site.description }}</description>
<generator>Jekyll</generator>
<link>{{ site.url }}</link>
<atom:link href="{{ site.feed }}" rel="self" type="application/rss+xml" />
<media:thumbnail url="{{ site.url }}/images/icon240.png" />
<media:keywords>{{ site.keywords }}</media:keywords>
<media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">Technology</media:category>
<itunes:author>{{ site.author }}</itunes:author>
<itunes:explicit>no</itunes:explicit>
<itunes:image href="{{ site.url }}/images/icon1400.jpg" />
<itunes:keywords>{{ site.keywords }}</itunes:keywords>
<itunes:subtitle>{{ site.tagline }}</itunes:subtitle>
<itunes:summary>{{ site.description }}</itunes:summary>
<itunes:category text="Technology"/>
<itunes:owner>
<itunes:name>{{ site.author }}</itunes:name>
<itunes:email>{{ site.owner.email }}</itunes:email>
</itunes:owner>
<language>ja</language>
{% for post in site.posts %}
<item>
<title>{{ post.title }}</title>
<description>{{ post.content | xml_escape }}</description>
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
{% if post.redirect %}
<link>{{ post.redirect }}</link>
<guid isPermaLink="true">{{ post.redirect }}</guid>
{% else %}
<link>{{ site.url }}{{ post.url }}</link>
<guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
{% endif %}
<dc:creator>{{ site.author }}</dc:creator>
{% if post.audio %}
<itunes:explicit>no</itunes:explicit>
<itunes:subtitle>{{ post.excerpt | strip_html }}</itunes:subtitle>
<itunes:summary>{{ post.excerpt | strip_html }}</itunes:summary>
<itunes:duration>{{ post.runtime }}</itunes:duration>
<enclosure url="{{ post.audio }}" type="audio/mpeg" length="{{ post.size }}" />
{% endif %}
</item>
{% endfor %}
</channel>
</rss>