diff --git a/media_ext.xml b/media_ext.xml index a68df39ef6280c80001601224691a8432a106e36..f4a6acfacb118bef4468cc88a753ffca09849d68 100644 --- a/media_ext.xml +++ b/media_ext.xml @@ -57,31 +57,11 @@ layout: null {% endif -%} {% endfor -%} {% endfor -%} - <title>{% if video.persons and name_before_title -%}{{persons}}: {% endif -%}{{video.title| xml_escape }} - {% for conf in video.conferences -%} - {% for c in site.conferences -%} - {% if conf == c.acronym -%} - {% if c.ecki -%}[{{c.title| xml_escape}}]{% endif -%} - {% endif -%} - {% endfor -%} - {% endfor -%} - {% if video.persons and name_after_title -%} von {{persons2}} {% 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 -%} +<title>{% if video.persons and name_before_title -%}{{persons}}: {% endif -%}{{video.title| xml_escape }}{% for conf in video.conferences -%}{% for c in site.conferences -%}{% if conf == c.acronym -%}{% if c.ecki -%}[{{c.title| xml_escape}}]{% endif -%}{% endif -%}{% endfor -%}{% endfor -%}{% if video.persons and name_after_title -%} von {{persons2}} {% 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_to_rfc822 }}</recDate> <pubDate>{{ video.date | date_to_rfc822 }}</pubDate> <license>{{video.licence}}</license>