summaryrefslogtreecommitdiff
path: root/src/templates/apps/room
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-05-12 09:34:35 +0200
committerLeif Johansson <leifj@sunet.se>2011-05-12 09:34:35 +0200
commit3869743100b1db40007666e47167a7ad7bcbbb1b (patch)
treea1cce4274f6b6367d2e95c0a2d083d6b9ccb9e29 /src/templates/apps/room
parent13783dd92342bb175dea483d7e869ef701f01de6 (diff)
rss and widget testing
Diffstat (limited to 'src/templates/apps/room')
-rw-r--r--src/templates/apps/room/rss2.xml23
-rw-r--r--src/templates/apps/room/widget-test.html8
2 files changed, 31 insertions, 0 deletions
diff --git a/src/templates/apps/room/rss2.xml b/src/templates/apps/room/rss2.xml
new file mode 100644
index 0000000..c5b3016
--- /dev/null
+++ b/src/templates/apps/room/rss2.xml
@@ -0,0 +1,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> \ No newline at end of file
diff --git a/src/templates/apps/room/widget-test.html b/src/templates/apps/room/widget-test.html
new file mode 100644
index 0000000..2d1af29
--- /dev/null
+++ b/src/templates/apps/room/widget-test.html
@@ -0,0 +1,8 @@
+{% extends "base.html" %}
+{% load prefix %}
+{% block widgets %}
+$("#meetings").meetingtools({tags: 'aka'});
+{% endblock %}
+{% block content %}
+<div id="meetings">
+{% endblock %} \ No newline at end of file