Skip to content
Snippets Groups Projects
releases.xml 2.34 KiB
Newer Older
Lukas Ruge's avatar
Lukas Ruge committed
---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
Lukas Ruge's avatar
Lukas Ruge committed
<releases>
Lukas Ruge's avatar
Lukas Ruge committed
  <channel>
    <title>Chaotikm Video Realses</title>
    <description>Chaotikm Video Realses</description>
    <link>{{ site.url }}{{ site.baseurl }}/</link>
    <pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
    <lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
    <generator>Jekyll v{{ jekyll.version }}</generator>
Lukas Ruge's avatar
Lukas Ruge committed
    {% assign sorted = site.media | sort: 'release_date' | reverse -%}
    {% capture nowunix %}{{'now' | date: '%s'}}{% endcapture -%}
    {% for video in sorted -%}
	   {% capture releasedate -%}{{video.release_date | date: '%s'}}{% endcapture -%}
Lukas Ruge's avatar
Lukas Ruge committed
    	{% if releasedate < nowunix -%}
          <video>
Lukas Ruge's avatar
Lukas Ruge committed
              {% 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 -%}
            <title>{% if video.persons and name_before_title -%}{{video.persons | join: ", " }}: {% 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 -%}</title>
            <pubDate>{{ video.date | date_to_rfc822 }}</pubDate>
            <link>{{ video.url | prepend: site.baseurl | prepend: site.url }}</link>
Lukas Ruge's avatar
Lukas Ruge committed
            <uuid>{{video.uid}}</uuid>
Lukas Ruge's avatar
Lukas Ruge committed
            {% if video.yt and video.yt != '' -%}
Lukas Ruge's avatar
Lukas Ruge committed
            <yt>{{video.yt}}</yt>
Lukas Ruge's avatar
Lukas Ruge committed
            {% endif -%}
Lukas Ruge's avatar
Lukas Ruge committed
            {% if video.mccc and video.mccc != '' -%}
            <mcc>{{video.mccc}}</mcc>
            {% endif -%}
            {% if video.archive and video.archive != '' -%}
            <archive>{{video.archive}}</archive>
            {% endif -%}
            {% if video.file and video.file != '' -%}
            <file>{{video.file}}</file>
            {% endif -%}
Lukas Ruge's avatar
Lukas Ruge committed
            <guid isPermaLink="true">{{ video.url | prepend: site.baseurl | prepend: site.url }}</guid>
Lukas Ruge's avatar
Lukas Ruge committed
          </video>
Lukas Ruge's avatar
Lukas Ruge committed
          {% endif -%}
        {% endfor -%}
Lukas Ruge's avatar
Lukas Ruge committed
  </channel>
Lukas Ruge's avatar
Lukas Ruge committed
</releases>