podcast-webseite/templates/feed_podcast-he.xml

100 lines
4.4 KiB
XML
Raw Normal View History

2019-06-30 22:39:15 +02:00
{%- set baseurl = "https://podcast.c3woc.de" -%}
{%- set search = "eisen" -%}
2019-06-30 22:37:37 +02:00
<?xml version="1.0" encoding="UTF-8"?>
2019-07-01 00:33:29 +02:00
<?xml-stylesheet href=
{%- if '/css/xml.min.css'|asseturl == empty -%}
{%- if '/css/xml.css'|asseturl == empty -%}
"https://{{ baseurl }}/css/main.min.css"
{%- else -%}
"{{ '/css/xml.css'|asseturl }}"
{%- endif -%}
{%- else -%}
"{{ '/css/xml.min.css'|asseturl }}"
{%- endif -%}
type="text/css"?>
2019-06-20 17:42:28 +02:00
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
<channel>
<title type="text">
{%- if bag('translate', this.alt, 'hefeed') -%}
{{ bag('translate', this.alt, 'hefeed') }}
{%- else -%}
Das heisse Eisen
{%- endif -%}</title>
2019-06-27 21:42:02 +02:00
<link>{{ baseurl }}/</link>
<id>{{ baseurl }}/podcast-he.xml</id>
<description>
{%- if bag('translate', this.alt, 'hefeed_description') -%}
{{ bag('translate', this.alt, 'hefeed_description') }}
{%- else -%}
Der Waffelpodcast: 'Das heisse Eisen'. Mit Venty und L3D.
{%- endif -%}
</description>
<generator>Von Hand als Jinja2 Template von L3D geschrieben</generator>
2019-06-20 17:42:28 +02:00
<language>de</language>
<copyright>L3D</copyright>
<updated>{{ none|datetimeformat('YYYY-MM-ddThh:mm:ss') }}Z</updated>
2019-06-27 21:42:02 +02:00
{%- set pages = site.query('/eisen').include_undiscoverable(true).all() -%}
2019-06-30 22:37:37 +02:00
{%- set firstrun = true %}
2019-06-27 21:42:02 +02:00
{%- for page in pages -%}
{%- if not page._hidden %}
2019-06-30 22:37:37 +02:00
{%- if firstrun == true %}
2019-07-01 00:33:29 +02:00
{# #} <pubDate>2019-06-14T00:42:23Z</pubDate>
{# #} <lastBuildDate>{{ none|datetimeformat('YYYY-MM-ddThh:mm:ss') }}Z</lastBuildDate>
2019-07-01 18:21:40 +02:00
{# #} <itunes:author class="itunes_author">L3D</itunes:author>
{# #} <itunes:subtitle class="itunes_subtitle">Der Podcast des CCC Waffel Operation Center</itunes:subtitle>
{# #} <itunes:summary class="itunes_summary">
2019-07-01 00:33:29 +02:00
{%- if bag('translate', this.alt, 'hefeed_description') -%}
{{ bag('translate', this.alt, 'hefeed_description') }}
{%- else -%}
Der Waffelpodcast: 'Das heisse Eisen'. Mit Venty und L3D.
{%- endif -%}
</itunes:summary>
2019-07-01 18:21:40 +02:00
{# #} <itunes:keywords class="itunes_keywords">
2019-07-01 00:33:29 +02:00
{%- if bag('translate', this.alt, 'hefeed_keywords') -%}
{{ bag('translate', this.alt, 'hefeed_keywords') }}
{%- else -%}
Waffel, C3WOC, CCC, Chaos, Waffle, Waffles, Waffeln, VOC, WOC, Operation, Center
{%- endif -%}
</itunes:keywords>
2019-07-01 18:21:40 +02:00
{# #} <itunes:explicit class="itunes_explicit">no</itunes:explicit>
{# #} <itunes:owner class="itunes_owner">
2019-07-01 00:33:29 +02:00
{# #} <itunes:name>L3D</itunes:name>
{# #} <itunes:email>l3d@c3woc.de</itunes:email>
{# #} </itunes:owner>
2019-07-07 00:19:38 +02:00
{# #} <itunes:image href="{{ baseurl }}/images/podcast.itunes.svg.png" class="itunes_feed_image"></itunes:image>
2019-07-03 23:05:26 +02:00
{# #} <itunes:new-feed-url class="itunes_new-feed-url">{{ baseurl }}/podcast-he.xml</itunes:new-feed-url>
{# #} <itunes:block class="itunes_block">no</itunes:block>
2019-07-01 00:33:29 +02:00
{# #} <itunes:category text="Waffel">
{# #} <itunes:category text="Chaos"/>
{# #} <itunes:category text="CCC"/>
{# #} </itunes:category>
{%- endif %}
{%- set firstrun = false %}
2019-06-27 21:42:02 +02:00
{# #} <item>
{# #} <title>{{ page.title }}</title>
{# #} <link>{{ baseurl }}/{{ search }}/{{ page._id }}/</link>
2019-07-06 17:01:57 +02:00
{# #} <author class="itunes_author">
2019-06-27 21:42:02 +02:00
{%- if page.author -%}
{{ page.author }}
{%- else -%}
L3D und Venty
{%- endif -%}
</author>
{# #} <pubDate>{{ page.pub_date|datetimeformat('YYYY-MM-ddThh:mm:ss') }}Z</pubDate>
2019-07-06 17:31:28 +02:00
{# #} <enclosure url="{{ baseurl }}/{{ search }}/{{ page._id }}/{{ page.podcastmp3 }}" type="audio/mpeg"/>
2019-06-27 21:42:02 +02:00
{# #} <guid isPermaLink="false">{{ page._id }}</guid>
2019-07-06 17:31:28 +02:00
{# #} <download>{{ baseurl }}/{{ search }}/{{ page._id }}/{{ page.podcastmp3 }}</download>
2019-07-06 17:01:57 +02:00
{# #} <itunes:explicit class="itunes_explicit">no</itunes:explicit>
2019-06-30 22:37:37 +02:00
{# #} <content type="html">
2019-06-27 21:42:02 +02:00
{{ page.xml }}
{%- if page.xml_img -%}
&lt;img width=&quot;23%&quot; src=&quot;{{ page.xml_img }}&quot; /&gt;
{% endif %}
&lt;br/&gt;&lt;a href="{{ baseurl }}{{ page|url }}{{ page.podcastmp3 }}" class="button special primary" download&gt;{{ page.shorttitle }} - MP3 Downloaded&lt;/a&gt;
2019-06-30 22:37:37 +02:00
{# #} </content>
2019-06-27 21:42:02 +02:00
{# #} </item>
{%- endif -%}
{%- endfor %}
</channel>
</rss>