summaryrefslogtreecommitdiff
path: root/src/templates/apps/room/rss2.xml
blob: 7d846db5c3cbc5fe7895e10748f55633c8262ced (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="UTF-8"?>
{% load prefix %}
<rss version="2.0"
        xmlns:dc="http://purl.org/dc/elements/1.1/"
        xmlns:content="http://purl.org/rss/1.0/modules/content/">
      <channel>
          <title>{{title}}</title>
          <description>{{description}}</description>
          <!-- {{tags}} -->
          <lastBuildDate>{{date}}</lastBuildDate>
          <link>{{baseurl}}/room/+{{tags}}</link>
          {% if rooms %}
          {% for room in rooms %}
          <item>
                <title>{{room.name}}</title>
                {% if room.description %}
                <description>{{room.description}}</description>
                {% endif %}
                <link>{{room.go_url}}</link>
                <guid isPermaLink="true">{{room.go_url_internal}}</guid>
          </item>
          {% endfor %}
          {% endif %}
      </channel>  
</rss>