-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfab.rss
64 lines (56 loc) · 3.12 KB
/
fab.rss
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
59
60
61
62
63
64
---
layout: null
---
<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<title>{{site.podcast_title}}</title>
<link>{{site.url}}</link>
<atom:link href="{{site.url}}" rel="self" type="application/rss+xml" />
<description>{{site.podcast_description}}</description>
<itunes:author>{{site.podcast_title}}</itunes:author>
<copyright>© {{ post.date | date: %Y" }} {{site.podcast_title}}</copyright>
<language>en-us</language>
<lastBuildDate>{{ site.time | date: "%a, %d %b %Y %T %z" }}</lastBuildDate>
<itunes:category text="Technology">
<itunes:category text="Software How-To" />
</itunes:category>
<itunes:explicit>No</itunes:explicit>
<itunes:image href="{{site.url}}/assets/img/wtdpodcastlogo.png"/>
<itunes:subtitle>{{site.podcast_subtitle}}</itunes:subtitle>
<itunes:summary>{{site.podcast_summary}}</itunes:summary>
<itunes:owner>
<itunes:name>{{site.podcast_title}}</itunes:name>
<itunes:email>{{site.podcast_email}}</itunes:email>
</itunes:owner>
{% for ep in site.posts %}
<item>
<title><![CDATA[{{ ep.title | cdata_escape }}]]></title>
<link>{{ site.url }}{{ ep.url }}</link>
<comments>{{ site.url }}{{ ep.url }}#comments</comments>
<pubDate>{{ ep.date | date: "%a, %d %b %Y %T %z" }}</pubDate>
<itunes:category text="Technology">
<itunes:category text="Software How-To"/>
</itunes:category>
<itunes:subtitle>{{ep.summary | truncate: 20 }}</itunes:subtitle>
<guid isPermaLink="{% if ep.podcast_guid %}false{% else %}true{% endif %}">{{ site.url }}{% if ep.podcast_guid %}/{{ ep.podcast_guid }}{% else %}{{ ep.url }}{% endif %}</guid>
<media:content url="{{ep.mp4_url}}" fileSize="{{ep.mp4_length}}" type="video/x-msvideo" height="240" width="320" medium="video" isDefault="true"><media:title>{{ep.title}}</media:title>
<media:description>{{ep.summary}}</media:description>
<media:thumbnail url="{{ep.mp4_thumbnail}}"/>
</media:content>
Source: How to Create MRSS Feeds Tutorial: Syndicate Video with Media RSS http://tubularinsights.com/how-to-create-mrss/#ixzz4bRwdcPhT
©TubularInsights.com, All Rights Reserved
<description>
<![CDATA[{{ ep.summary | cdata_escape }}]]>
</description>
<enclosure url="{{ ep.podcast_link }}" length="{{ ep.podcast_length }}" type="audio/mpeg" />
<itunes:subtitle>{{ ep.summary | strip_html | expand_urls: site.url | cdata_escape }}</itunes:subtitle>
<itunes:summary>{{ ep.summary | expand_urls: site.url | cdata_escape }}</itunes:summary>
<itunes:author>Write the Docs community</itunes:author>
<itunes:image href="{{site.url}}/assets/img/wtdpodcastlogo.png" />
<itunes:explicit>no</itunes:explicit>
<itunes:duration>{{ ep.podcast_duration }}</itunes:duration>
</item>
{% endfor %}
</channel>
</rss>