mirror of
https://github.com/safing/web
synced 2025-09-04 12:09:03 +00:00
Improve xml by having more verbose var names
This commit is contained in:
parent
91e0a36003
commit
6a2a81c04a
1 changed files with 12 additions and 12 deletions
24
podcast.xml
24
podcast.xml
|
@ -44,29 +44,29 @@ layout: null
|
||||||
<itunes:category text="{{ site.podcast_subcategory_two }}" />
|
<itunes:category text="{{ site.podcast_subcategory_two }}" />
|
||||||
</itunes:category>
|
</itunes:category>
|
||||||
|
|
||||||
{% for ep in site.posts %}
|
{% for episode in site.podcasts %}
|
||||||
<item>
|
<item>
|
||||||
<title>{{ ep.title }}</title>
|
<title>{{ episode.title }}</title>
|
||||||
<link>{{ site.url }}{{ ep.url }}</link>
|
<link>{{ site.url }}{{ episode.url }}</link>
|
||||||
<pubDate>{{ ep.date | date: "%a, %d %b %Y %T %z" }}</pubDate>
|
<pubDate>{{ episode.date | date: "%a, %d %b %Y %T %z" }}</pubDate>
|
||||||
<dc:creator><![CDATA[{{ site.podcast_author | cdata_escape }}]]></dc:creator>
|
<dc:creator><![CDATA[{{ site.podcast_author | cdata_escape }}]]></dc:creator>
|
||||||
{% for category in ep.categories %}
|
{% for category in episode.categories %}
|
||||||
<category><![CDATA[{{ category | cdata_escape }}]]></category>
|
<category><![CDATA[{{ category | cdata_escape }}]]></category>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% for category in ep.tags %}
|
{% for category in episode.tags %}
|
||||||
<category><![CDATA[{{ category | cdata_escape }}]]></category>
|
<category><![CDATA[{{ category | cdata_escape }}]]></category>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<guid isPermaLink="true">{{ site.url }}{{ ep.podcast_link }}</guid>
|
<guid isPermaLink="true">{{ site.url }}{{ episode.podcast_link }}</guid>
|
||||||
<description>
|
<description>
|
||||||
<![CDATA[{{ ep.summary | strip_html | truncatewords: 50 | expand_urls: site.url | cdata_escape }}]]>
|
<![CDATA[{{ episode.summary | strip_html | truncatewords: 50 | expand_urls: site.url | cdata_escape }}]]>
|
||||||
</description>
|
</description>
|
||||||
<enclosure url="{{ site.url }}{{ ep.podcast_link }}" length="{{ ep.podcast_length }}" type="audio/mpeg" />
|
<enclosure url="{{ site.url }}{{ episode.podcast_link }}" length="{{ episode.podcast_length }}" type="audio/mpeg" />
|
||||||
<itunes:subtitle><![CDATA[{{ ep.summary | strip_html | truncatewords: 50 | expand_urls: site.url | cdata_escape }}]]></itunes:subtitle>
|
<itunes:subtitle><![CDATA[{{ episode.summary | strip_html | truncatewords: 50 | expand_urls: site.url | cdata_escape }}]]></itunes:subtitle>
|
||||||
<itunes:summary><![CDATA[{{ ep.summary | expand_urls: site.url | cdata_escape }}]]></itunes:summary>
|
<itunes:summary><![CDATA[{{ episode.summary | expand_urls: site.url | cdata_escape }}]]></itunes:summary>
|
||||||
<itunes:author>{{ site.podcast_author }}</itunes:author>
|
<itunes:author>{{ site.podcast_author }}</itunes:author>
|
||||||
<itunes:image href="{{ site.url }}{{ site.podcast_album_art }}" />
|
<itunes:image href="{{ site.url }}{{ site.podcast_album_art }}" />
|
||||||
<itunes:explicit>{{ site.podcast_explicit }}</itunes:explicit>
|
<itunes:explicit>{{ site.podcast_explicit }}</itunes:explicit>
|
||||||
<itunes:duration>{{ ep.podcast_duration }}</itunes:duration>
|
<itunes:duration>{{ episode.podcast_duration }}</itunes:duration>
|
||||||
</item>
|
</item>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</channel>
|
</channel>
|
||||||
|
|
Loading…
Add table
Reference in a new issue