Fixes self references of XML feeds, there can only be one.

This commit is contained in:
Grzegorz Adam Hankiewicz 2013-04-15 19:50:03 +02:00
commit 2652be8944

View file

@ -109,7 +109,7 @@
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Nimrod forum thread activity</title>
<link href="${c.req.makeUri("/threadActivity.xml")}" rel="self" />
<link href="${frontQuery}" rel="self" />
<link href="${frontQuery}" />
<id>${frontQuery}</id>
<updated>${recent}</updated>
# for row in Rows(db, query, 10):
@ -154,7 +154,7 @@
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Nimrod forum post activity</title>
<link href="${c.req.makeUri("/postActivity.xml")}" rel="self" />
<link href="${frontQuery}" rel="self" />
<link href="${frontQuery}" />
<id>${frontQuery}</id>
<updated>${recent}</updated>
# for row in Rows(db, query, 10):