summaryrefslogtreecommitdiff
path: root/src/templates/apps/room/atom.xml
blob: 91990ca78115db62cd45666cd5dcac3a9ae1f6b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="UTF-8"?>
{% load prefix %}
<feed xmlns="http://www.w3.org/2005/Atom">
	<title>{{title}}</title>
    <summary>{{description}}</summary>
    <updated>{{date}}/updated>
    <link rel="self" href="{{baseurl}}/room/+{{tags}}.atom"/>
    <link href="{{baseurl}}/room/+{{tags}}"/>
    {% if rooms %}
    {% for room in rooms %}
    <item>
          <title>{{room.name}}</title>
          {% if room.description %}
          <summary>{{room.description}}</summary>
          {% endif %}
          <link href="{{room.go_url}}"/>
          <updated>{{room.lastupdated}}</updated>
    </item>
    {% endfor %}
    {% endif %}
</feed>