jekyll-octopod 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/assets/_layouts/feed.xml +33 -28
- data/assets/_plugins/feed_generator.rb +1 -0
- data/lib/jekyll/octopod/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 57c91e0ae67ba170c7b3277c22d116a49742a537
|
|
4
|
+
data.tar.gz: 2384e3c4d7ecb3470a7c5400ebea23c083e44a06
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f92f29b8ab969bea473b20a779df3c9af81ace6cfc0a8004ccb32af5262554f6736fb83e7839da0c774342d4aa750d2b63cd0f5d712e9860ece62201fe4923cd
|
|
7
|
+
data.tar.gz: d6116d0a5a8b19517037f5c76853928bff1cee09320bcd91cfe17e5a139cdc2999706e34ec05cf5339c19c48b3ee4f5d7364ae96d712e7ad74eaca8ce248cb81
|
data/assets/_layouts/feed.xml
CHANGED
|
@@ -38,34 +38,39 @@ layout: null
|
|
|
38
38
|
<itunes:category text="{{ category }}">
|
|
39
39
|
{% endfor %}
|
|
40
40
|
</itunes:category>
|
|
41
|
-
{% for post in site.posts %}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
41
|
+
{% for post in site.posts %}
|
|
42
|
+
{% if post.audio[page.format] %}
|
|
43
|
+
{% assign check = forloop.index | plus:1 | divided_by:site.episodes_per_feed_page %}
|
|
44
|
+
{% if check == page.page_number %}
|
|
45
|
+
<item>
|
|
46
|
+
<title>{{ post.title }} - {{ post.subtitle }}</title>
|
|
47
|
+
<link>{{ site.url }}{{ post.url }}</link>
|
|
48
|
+
<comments>{{ site.url }}{{ post.url }}#disqus_thread</comments>
|
|
49
|
+
<pubDate>{{ post.date | time_to_rssschema }}</pubDate>
|
|
50
|
+
{% for category in post.categories %}
|
|
51
|
+
<category><![CDATA[{{ category }}]]></category>
|
|
52
|
+
{% endfor %}
|
|
53
|
+
<guid isPermaLink="false">{{ site.url }}{{ post.url }}</guid>
|
|
54
|
+
<description><![CDATA[{{ post.content | expand_urls: site.url | cdata_escape | remove_script_and_audio }}]]></description>
|
|
55
|
+
<content:encoded><![CDATA[{{ post.content | expand_urls: site.url | cdata_escape | remove_script_and_audio }}]]></content:encoded>
|
|
56
|
+
<enclosure url="{{ site.url | http_only }}/episodes/{{ post.audio | audio:page.format }}" length="{{ post.audio | audio:page.format | file_size }}" type="{{ page.format | mime_type }}" />
|
|
57
|
+
<itunes:keywords>{{ post.tags }}</itunes:keywords>
|
|
58
|
+
<itunes:subtitle>{{ post.subtitle }}</itunes:subtitle>
|
|
59
|
+
<itunes:summary>{{ post.summary }}</itunes:summary>
|
|
60
|
+
<itunes:author>{{ post.author | otherwise:site.author }}</itunes:author>
|
|
61
|
+
<itunes:explicit>{{ post.explicit | otherwise:site.explicit }}</itunes:explicit>
|
|
62
|
+
<itunes:duration>{{ post.duration }}</itunes:duration>
|
|
63
|
+
{{ site | flattr_rss:post }}
|
|
64
|
+
{% if post.chapters %}
|
|
65
|
+
<psc:chapters version="1.1" xmlns:psc="http://podlove.org/simple-chapters">
|
|
66
|
+
{% for chapter in post.chapters %}
|
|
67
|
+
<psc:chapter start="{{ chapter | split_chapter:'start' }}" title="{{ chapter | split_chapter:'title' }}" />
|
|
68
|
+
{% endfor %}
|
|
69
|
+
</psc:chapters>
|
|
70
|
+
{% endif %}
|
|
71
|
+
</item>
|
|
72
|
+
{% endif %}
|
|
67
73
|
{% endif %}
|
|
68
|
-
|
|
69
|
-
{% endif %}{% endfor %}
|
|
74
|
+
{% endfor %}
|
|
70
75
|
</channel>
|
|
71
76
|
</rss>
|