Select Git revision
courses_feed.atom
Andreas Valder authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
courses_feed.atom 1.47 KiB
{% macro summary(course) %}
{% if course.organizer %}
Veranstalter: {{ course.organizer }}<br>
{% endif %}
<p>{{ course.description }}</p>
{% endmacro %}
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<id>{{ atomid }}</id>
<updated>{{ updated|rfc3339 }}</updated>
<title>Neueste Veranstaltungen — Video AG, FSMPI</title>
<author>
<name>Video AG, FSMPI, RWTH Aachen</name>
<email>video@fsmpi.rwth-aachen.de</email>
</author>
<link rel="alternate" href="{{ url_for('courses', _external=True) }}"/>
<link rel="self" href="{{ request.url }}"/>
<icon>{{ url_for('static', filename='favicon.png', _external=True) }}</icon>
<logo>https://videoag.fsmpi.rwth-aachen.de/site/video-logo-150px.png</logo>
<subtitle>Alle neuen Veranstaltungen der Video AG!</subtitle>
{% for course in courses %}
<entry>
<id>{{ course.atomid }}</id>
<updated>{{ course.updated|rfc3339 }}</updated>
<title>{{ course.title|e }} {% if course.semester %}({{ course.semester|semester|e }}){% endif %}</title>
{% if course.organizer %}
<author>
<name>{{ course.organizer|e }}</name>
</author>
{% endif %}
<link rel="alternate" href="{{ url_for('course', handle=course.handle, _external=True) }}"/>
<link rel="alternate" href="{{ url_for('feed', handle=course.handle, _external=True) }}" type="application/atom+xml" title="Feed"/>
<summary type="html">{{ summary(course)|e }}</summary>
</entry>
{% endfor %}
</feed>