summaryrefslogtreecommitdiff
path: root/src/templates/apps/room/rss2.xml
blob: c5b30169a74adf7fa3b6c34e04b0feb32a37f87c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8"?>
<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>
          {% 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>