Skip to content

Instantly share code, notes, and snippets.

@agarrharr agarrharr/feed.rss
Last active Oct 21, 2017

Embed
What would you like to do?
Jekyll Podcast Feed
---
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
<channel>
<title>{{ site.title }}</title>
<description>{{ site.description }}</description>
<link>{{ site.url }}</link>
<language>en</language>
<managingEditor>{{ site.managerName }} ({{ site.managerEmail }})</managingEditor>
<webMaster>{{ site.managerName }} ({{ site.managerEmail }})</webMaster>
<copyright>2014-{{site.time | "%Y" }} {{ site.organizationName }}</copyright>
<pubDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S GMT" }}</pubDate>
<lastBuildDate>{{ site.time | date: "%a, %d %b %Y" }}</lastBuildDate>
<image>
<link>{{ site.url}}</link>
<url>{{ site.url }}/{{ site.squareLogo}}</url>
<title>{{ site.title }}</title>
</image>
<itunes:subtitle>{{ site.podcastSubtitle }}</itunes:subtitle>
<itunes:author>{{ site.organizationName }}</itunes:author>
<itunes:summary></itunes:summary>
<itunes:keywords></itunes:keywords>
<itunes:owner>
<itunes:name>{{ site.managerName}}</itunes:name>
<itunes:email>{{ site.managerEmail}}</itunes:email>
</itunes:owner>
<itunes:image href="{{ site.url }}/{{ site.squareLogo}}" />
<itunes:category text="Religion &amp; Spirituality">
<itunes:category text="Christianity" />
</itunes:category>
{% for post in site.posts %}
<item>
<title>{{ post.title }}</title>
<link>{{ site.url }}/{{ post.url }}</link>
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S GMT" }}</pubDate>
<description>{{ post.description }}</description>
<guid isPermaLink="true">{{ post.link }}</guid>
<enclosure url="{{ post.link }}" length="{{ post.length }}" type="audio/mp3"/>
<itunes:author>{{ post.speaker }}</itunes:author>
<itunes:subtitle></itunes:subtitle>
<itunes:summary>{{ post.description }}</itunes:summary>
<itunes:duration>{{ post.podcastLength }}</itunes:duration>
<itunes:keywords>{{ post.keywords }}</itunes:keywords>
<itunes:image href="{% if post.image %}{{ site.url }}/{{ post.image }}{% else %}{{ site.url }}/{{site.squareLogo}}{% endif %}" />
<itunes:explicit>no</itunes:explicit>
</item>
{% endfor %}
</channel>
</rss>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.