podcast-webseite/templates/feed_podcast-he.xml

102 lines
4.6 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-07-09 11:38:47 +02:00
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:content="http://purl.org/rss/1.0/modules/content/">
2019-06-20 17:42:28 +02:00
<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>
2019-07-09 11:38:47 +02:00
<language>de</language>
<copyright>>&#169; 2019 L3D</copyright>
<itunes:author class="itunes_author">L3D und Venty</itunes:author>
2019-06-27 21:42:02 +02:00
<description>
2019-07-09 11:38:47 +02:00
{%- if bag('translate', this.alt, 'hefeed_description') %}
2019-06-27 21:42:02 +02:00
{{ bag('translate', this.alt, 'hefeed_description') }}
2019-07-09 11:38:47 +02:00
{%- else %}
Der Waffelpodcast: 'Das heisse Eisen'.
Venty und L3D erzählen euch alles, was man über
Waffeln wissen muss.
{%- endif %}
2019-06-27 21:42:02 +02:00
</description>
2019-07-09 11:38:47 +02:00
<itunes:type class="itunes_serial">serial</itunes:type>
<itunes:owner class="itunes_owner">
<itunes:name>L3D</itunes:name>
<itunes:email>l3d@c3woc.de</itunes:email>
</itunes:owner>
<itunes:image href="{{ baseurl }}/images/podcast.itunes.svg.png" class="itunes_feed_image"></itunes:image>
<id>{{ baseurl }}/podcast-he.xml</id>
<itunes:category text="Education">
<itunes:category text="Technology"/>
<itunes:category text="Science"/>
</itunes:category>
<itunes:explicit class="itunes_explicit">no</itunes:explicit>
2019-06-27 21:42:02 +02:00
<generator>Von Hand als Jinja2 Template von L3D geschrieben</generator>
2019-06-20 17:42:28 +02:00
<updated>{{ none|datetimeformat('YYYY-MM-ddThh:mm:ss') }}Z</updated>
2019-07-09 11:38:47 +02:00
<pubDate>2019-06-14T00:42:23Z</pubDate>
<lastBuildDate>{{ none|datetimeformat('YYYY-MM-ddThh:mm:ss') }}Z</lastBuildDate>
<itunes:subtitle class="itunes_subtitle">Der Podcast des CCC Waffel Operation Center</itunes:subtitle>
2019-07-01 18:21:40 +02:00
{# #} <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-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-09 10:38:56 +02:00
{# #} <itunes:category text="Technology">Technology</itunes:category>
{# #} <category>Waffles</category>
2019-07-13 15:28:04 +02:00
{%- set pages = site.query('/eisen').include_undiscoverable(true).all() -%}
{%- set firstrun = true %}
{%- for page in pages -%}
{%- if not page._hidden %}
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-09 10:53:49 +02:00
{# #} <enclosure url="{{ baseurl }}/{{ search }}/{{ page._id }}/{{ page.podcastmp3 }}" type="audio/mpeg" length="{{ page.mp3leng }}"/>
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 %}
2019-07-13 15:28:04 +02:00
&lt;br/&gt;&lt;a href="{{ baseurl }}{{ page|url }}{{ page.podcastmp3 }}" class="button special primary" download&gt;{{ page.shorttitle }} - MP3 Download&lt;/a&gt;
2019-06-30 22:37:37 +02:00
{# #} </content>
2019-06-27 21:42:02 +02:00
{# #} </item>
2019-07-13 15:28:04 +02:00
{%- endif %}
2019-06-27 21:42:02 +02:00
{%- endfor %}
</channel>
</rss>