changeset 7750:b03416194895

hgweb: add guid to rss items
author Sune Foldager <cryo@cyanite.org>
date Tue, 10 Feb 2009 14:22:25 +0100
parents f32af51aaee5
children 9294c0158c42
files templates/rss/changelogentry.tmpl templates/rss/error.tmpl
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/templates/rss/changelogentry.tmpl	Tue Feb 10 14:21:27 2009 +0100
+++ b/templates/rss/changelogentry.tmpl	Tue Feb 10 14:22:25 2009 +0100
@@ -1,6 +1,6 @@
 <item>
     <title>#desc|strip|firstline|strip|escape#</title>
-    <link>{urlbase}{url}rev/{node|short}</link>
+    <guid isPermaLink="true">{urlbase}{url}rev/{node|short}</guid>
     <description><![CDATA[#desc|strip|escape|addbreaks#]]></description>
     <author>#author|obfuscate#</author>
     <pubDate>#date|rfc822date#</pubDate>
--- a/templates/rss/error.tmpl	Tue Feb 10 14:21:27 2009 +0100
+++ b/templates/rss/error.tmpl	Tue Feb 10 14:22:25 2009 +0100
@@ -4,6 +4,7 @@
     <item>
       <title>Error</title>
       <description>{error|escape}</description>
+      <guid>http://www.selenic.com/mercurial/#error</guid>
     </item>
   </channel>
 </rss>