Skip to content

Instantly share code, notes, and snippets.

Last active Oct 21, 2017
What would you like to do?
Jekyll Podcast Feed
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:itunes="">
<title>{{ site.title }}</title>
<description>{{ site.description }}</description>
<link>{{ site.url }}</link>
<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>
<link>{{ site.url}}</link>
<url>{{ site.url }}/{{ site.squareLogo}}</url>
<title>{{ site.title }}</title>
<itunes:subtitle>{{ site.podcastSubtitle }}</itunes:subtitle>
<itunes:author>{{ site.organizationName }}</itunes:author>
<itunes:name>{{ site.managerName}}</itunes:name>
<itunes:email>{{ site.managerEmail}}</itunes:email>
<itunes:image href="{{ site.url }}/{{ site.squareLogo}}" />
<itunes:category text="Religion &amp; Spirituality">
<itunes:category text="Christianity" />
{% for post in site.posts %}
<title>{{ post.title }}</title>
<link>{{ site.url }}/{{ post.url }}</link>
<pubDate>{{ | date: "%a, %d %b %Y %H:%M:%S GMT" }}</pubDate>
<description>{{ post.description }}</description>
<guid isPermaLink="true">{{ }}</guid>
<enclosure url="{{ }}" length="{{ post.length }}" type="audio/mp3"/>
<itunes:author>{{ post.speaker }}</itunes:author>
<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 %}" />
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment