This repository has been archived by the owner on Jan 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
feed.xml
46 lines (46 loc) · 2.4 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
---
---
<?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.url }}/feed.xml" rel="self" type="application/rss+xml" />
<link>{{ site.url }}/</link>
<title>{{ site.title }} - {{ site.subtitle }}</title>
<description>{{ site.description | xml_escape }}</description>
<copyright>202169</copyright>
<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.url }}/images/itunes-artwork.jpg" />
<itunes:category text="Technology">
<itunes:category text="Tech News"/>
<itunes:category text="Software How-To"/>
</itunes:category>
<itunes:explicit>no</itunes:explicit>
{% for post in site.posts %}
{% capture post_desc %}{% include post_description.inc post=post %}{% endcapture %}
{% capture letter %}{% include letter.html page=post %}{% endcapture %}
<item>
<title>{{ post.title | xml_escape }}</title>
<link>{{ post.url | prepend: site.url }}</link>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<description>{{ post_desc | append: post.content | append: letter | xml_escape }}</description>
<guid isPermaLink="true">{{ post.url | prepend: site.url }}</guid>
<enclosure url="{{ post.audio_file_path | prepend: site.audiourl | xml_escape }}" length="{{ post.audio_file_size }}" type="audio/mp3"/>
<itunes:author>{{ site.author }}</itunes:author>
<itunes:subtitle>{{ post_desc }}</itunes:subtitle>
<itunes:duration>{{ post.duration }}</itunes:duration>
<itunes:explicit>no</itunes:explicit>
<media:thumbnail url="{{ site.url }}/images/itunes-artwork.jpg"/>
</item>
{% endfor %}
</channel>
</rss>