35 lines
1.5 KiB
XML
35 lines
1.5 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>{%
|
||
|
set baseurl = "https://podcast.c3woc.de/" %}{%
|
||
|
set search = "eisen" %}
|
||
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
||
|
<title type="text">{%
|
||
|
if bag('translate', this.alt, 'dhefeed') %}{{ bag('translate', this.alt, 'dhefeed') }}{%
|
||
|
else %}Waffel-Podcast{% endif %}</title>
|
||
|
<id>{{ baseurl }}podcast-dhe.xml</id>
|
||
|
<updated>{{ none|datetimeformat('YYYY-MM-ddThh:mm:ss') }}Z</updated>
|
||
|
<link href="{{ baseurl }}{{ search }}/" />
|
||
|
<link href="{{ baseurl }}podcast-dhe.xml" rel="self" />
|
||
|
<author>
|
||
|
<name>{% if this.author %}{{ this.author }}{% else %}L3D{% endif %}</name>
|
||
|
</author>{%
|
||
|
set pages = site.query('/blog').include_undiscoverable(true).all() %}{%
|
||
|
for page in pages %}{% if not page._hidden %}
|
||
|
<entry xml:base="{{ baseurl }}{{ search }}/{{ page._id }}/">
|
||
|
<title type="text">{{ page.title }}</title>
|
||
|
<id>{{ baseurl }}{{ search }}/{{ page._id }}</id>
|
||
|
<updated>{{ page.pub_date|datetimeformat('YYYY-MM-ddThh:mm:ss') }}Z</updated>
|
||
|
<link href="{{ search }}/{{ page._id }}/" xml:base="{{ baseurl }}" />
|
||
|
<author>
|
||
|
<name>{% if page.author %}{{ page.author }}{% else %}L3D{% endif %}</name>
|
||
|
</author>
|
||
|
<content type="{% if page.xml_img %}html{% else %}text{% endif %}">
|
||
|
{{ page.xml }}
|
||
|
{% if page.xml_img
|
||
|
%}<br/>
|
||
|
<img width="23%" src="{{ page.xml_img }}" />
|
||
|
{% endif %}
|
||
|
</content>
|
||
|
</entry>{% endif %}{%
|
||
|
endfor %}
|
||
|
</feed>
|