--- layout: null --- <?xml version="1.0" encoding="UTF-8"?> <channel> <title>Chaotikm Video Realses</title> <description>Chaotikm Video Realses</description> {% assign mlist = site.media | sort: 'uuid' %} {% assign sorted = mlist | sort: 'release_date' | reverse %} {% capture nowunix %}{{'now' | date: '%s'}}{% endcapture %} {% for video in sorted %} {% capture releasedate %}{{video.release_date | date: '%s'}}{% endcapture %} {% assign whitespace = " " %} {% assign optout = false -%} {% if video.optout and video.optout != '' -%} {% assign optout = true -%} {% endif -%} {% capture persons -%} {% for person in video.persons %}{{person}}{% unless forloop.last %}, {% endunless %} {% endfor -%} {% endcapture -%} {% capture persons2 -%}{% for person in video.persons %}{{person}}{% unless forloop.last %} und {% endunless %}{% endfor -%}{% endcapture -%} {% capture persons3 -%}{{whitespace}} von {{persons2}}{% endcapture -%} {% assign events = site.events | where: "uid", video.event -%} {% if video.event and video.event != '' -%} {% for e in events -%} {% assign event = e -%} {% endfor -%} {% endif -%} {% if video.recording_date and video.recording_date != ''-%} {% assign recording_date = video.recording_date -%} {% elsif event -%} {% assign recording_date = event.eventdate -%} {% endif -%} {% if optout == false and video.file and video.file != '' %} <item> {% assign name_before_title = false -%} {% for conf in video.conferences -%} {% for c in site.conferences -%} {% if conf == c.acronym and c.name_before_title -%} {% assign name_before_title = true -%} {% endif -%} {% endfor -%} {% endfor -%} {% assign name_after_title = false -%} {% for conf in video.conferences -%} {% for c in site.conferences -%} {% if conf == c.acronym and c.name_after_title -%} {% assign name_after_title = true -%} {% endif -%} {% endfor -%} {% endfor -%} <title>{% if video.persons and name_before_title -%}{{persons| strip}}: {% endif -%}{{video.title| xml_escape }}{% for conf in video.conferences -%}{% for c in site.conferences -%}{% if conf == c.acronym -%}{% if c.ecki -%}{{whitespace}}[{{c.title| xml_escape}}]{% endif -%}{% endif -%}{% endfor -%}{% endfor -%}{% if video.persons and name_after_title %}{{whitespace}}{{persons3| strip}}{% endif -%}</title> {% capture ccontent %}{{video.content | strip_html | xml_escape }}{% endcapture -%} {% if ccontent and ccontent != '' -%} <description>{{ccontent}} 
{% for conf in video.conferences %}{% for c in site.conferences -%}{% if conf == c.acronym and c.content != '' -%}{{c.content | strip_html | xml_escape }} 
{% endif -%}{% endfor -%}{% endfor %}{% if video.licence and video.licence != '' -%}{{video.licence | strip_html | xml_escape }}{% else -%}This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License (CC BY NC ND 4.0). https://creativecommons.org/licenses/by-nc-nd/4.0/{% endif -%}</description> {% endif -%} <recDate>{{ recording_date | date: '%Y-%m-%d' }}</recDate> {% if video.release_date and video.release_date != ''-%} <pubDate>{{ releasedate | date: '%Y-%m-%d' }}</pubDate> {% endif -%} <license>{{video.licence}}</license> <persons>{{persons| strip}}</persons> {% if video.language and video.language != '' -%} <language>{{video.language}}</language> {% else -%} <language>de</language> {% endif -%} <link>{{ video.url | prepend: site.baseurl | prepend: site.url }}</link> {% if video.file -%} <download>{{video.file}}</download> {% endif -%} {% if video.archive -%} <archive>{{video.archive}}</archive> {% endif -%} {% if video.mccc -%} <mccc>{{video.mccc}}</mccc> {% endif -%} {% if video.yt -%} <yt>{{video.yt}}</yt> {% endif -%} <guid isPermaLink="true">{{ video.url | prepend: site.baseurl | prepend: site.url }}</guid> </item> {% endif %} {% endfor %} </channel>