adding my own feed magic
This commit is contained in:
parent
f3d712b8a1
commit
f42d6f40d8
|
@ -38,7 +38,6 @@ social:
|
||||||
plugins:
|
plugins:
|
||||||
- jekyll-sitemap
|
- jekyll-sitemap
|
||||||
- jekyll-seo-tag
|
- jekyll-seo-tag
|
||||||
- jekyll-feed
|
|
||||||
- jekyll-paginate-v2
|
- jekyll-paginate-v2
|
||||||
|
|
||||||
### Plugin settings:
|
### Plugin settings:
|
||||||
|
|
64
rss.xml
Normal file
64
rss.xml
Normal file
|
@ -0,0 +1,64 @@
|
||||||
|
---
|
||||||
|
title : The Sakrecoer RSS Feed
|
||||||
|
layout: null
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
|
||||||
|
|
||||||
|
<channel>
|
||||||
|
|
||||||
|
<title>{{ site.title }}</title>
|
||||||
|
<description>{{ site.description }}</description>
|
||||||
|
<link>{{ site.url }}</link>
|
||||||
|
<language>en-us</language>
|
||||||
|
<copyright>Creative Commons CC-BY-SA</copyright>
|
||||||
|
<lastBuildDate>{{ site.time | date_to_xmlschema }}</lastBuildDate>
|
||||||
|
<pubDate>{{ site.time | date_to_xmlschema }}</pubDate>
|
||||||
|
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
|
||||||
|
<webMaster>{{ site.author.email }}</webMaster>
|
||||||
|
|
||||||
|
<itunes:author>{{ site.author.name }}</itunes:author>
|
||||||
|
<itunes:subtitle>{{ site.description | xml_escape }}</itunes:subtitle>
|
||||||
|
<itunes:summary>This podcast is the a conveniant way to recieve the latest Sakrecoer Hit. There is mostely tunes and tracks, but might eventualy contain other types of audio data. </itunes:summary>
|
||||||
|
|
||||||
|
<itunes:owner>
|
||||||
|
<itunes:name>{{ site.author.name }}</itunes:name>
|
||||||
|
<itunes:email>{{ site.author.email }}</itunes:email>
|
||||||
|
</itunes:owner>
|
||||||
|
|
||||||
|
<itunes:explicit>No</itunes:explicit>
|
||||||
|
|
||||||
|
<itunes:image href="{{ site.url }}{{ site.logo }}"/>
|
||||||
|
|
||||||
|
<itunes:category text="Music">
|
||||||
|
<itunes:category text="Podcasting"/>
|
||||||
|
</itunes:category>
|
||||||
|
|
||||||
|
{% for post in site.tracks %}
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<title>{{ post.title }}</title>
|
||||||
|
<link>{{ site.url }}{{ post.url }}?ref=rss</link>
|
||||||
|
<guid>{{ post.uid }}</guid>
|
||||||
|
<description> <img src="{{ post.image }}" /> {{ post.content | xml_escape }}</description>
|
||||||
|
<enclosure url="{{ post.mp3 }}?ref=rss" type="audio/mpeg"/>
|
||||||
|
<category>Podcasts</category>
|
||||||
|
<pubDate>{{ post.date | date_to_xmlschema }}</pubDate>
|
||||||
|
|
||||||
|
<itunes:author>Sakrecoer</itunes:author>
|
||||||
|
|
||||||
|
<itunes:explicit>No</itunes:explicit>
|
||||||
|
<itunes:subtitle>{{ post.content | xml_escape }}</itunes:subtitle>
|
||||||
|
<itunes:summary>{{ post.content | xml_escape }}</itunes:summary>
|
||||||
|
<itunes:keywords>{{ post.tag | xml_escape }}</itunes:keywords>
|
||||||
|
<itunes:image href="{{ post.image }}"/>
|
||||||
|
|
||||||
|
</item>
|
||||||
|
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
</channel>
|
||||||
|
|
||||||
|
</rss>
|
Loading…
Reference in a new issue