diff options
author | Leif Johansson <leifj@sunet.se> | 2011-05-12 23:17:51 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-05-12 23:17:51 +0200 |
commit | 525072bfd8c3781f2ced07f993caf94282995108 (patch) | |
tree | a4c71fb355afd8eb99afa3ac152e16e03b7a063f /src/templates/apps | |
parent | 89a6dc2ed00904fc2cb55c0663517236e04b9008 (diff) |
need to reformat stuff - work from json representation for feeds
Diffstat (limited to 'src/templates/apps')
-rw-r--r-- | src/templates/apps/room/atom.xml | 8 | ||||
-rw-r--r-- | src/templates/apps/room/rss2.xml | 3 |
2 files changed, 5 insertions, 6 deletions
diff --git a/src/templates/apps/room/atom.xml b/src/templates/apps/room/atom.xml index eab8dc7..15b329c 100644 --- a/src/templates/apps/room/atom.xml +++ b/src/templates/apps/room/atom.xml @@ -7,14 +7,14 @@ <link href="{{baseurl}}/room/+{{tags}}"/> {% if rooms %} {% for room in rooms %} - <item> + <entry> <title>{{room.name}}</title> {% if room.description %} <summary>{{room.description}}</summary> {% endif %} - <link href="{{room.go_url}}"/> - <updated>{{room.lastupdated}}</updated> - </item> + <link href="{{room.url}}"/> + <updated>{{room.updated}}</updated> + </entry> {% endfor %} {% endif %} </feed>
\ No newline at end of file diff --git a/src/templates/apps/room/rss2.xml b/src/templates/apps/room/rss2.xml index 16a420c..5a30d58 100644 --- a/src/templates/apps/room/rss2.xml +++ b/src/templates/apps/room/rss2.xml @@ -18,8 +18,7 @@ {% if room.description %} <description>{{room.description}}</description> {% endif %} - <link>{{room.go_url}}</link> - <guid isPermaLink="true">{{room.go_url_internal}}</guid> + <link>{{room.url}}</link> </item> {% endfor %} {% endif %} |