summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <http://smcv.pseudorandom.co.uk/>2008-07-11 23:47:00 +0100
committerSimon McVittie <http://smcv.pseudorandom.co.uk/>2008-07-11 23:47:00 +0100
commitfc917fa3831bbea5305e50a8fde4457ff480ad64 (patch)
treeb7c62f4926ee29540964bd4685e6406506ff22b7
parent9f479a83a78cc199d7e7854e4beecd5594e87629 (diff)
rssitem.tmpl: use UUID as <guid> if supplied
-rw-r--r--templates/rssitem.tmpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/rssitem.tmpl b/templates/rssitem.tmpl
index f22e5e3fb..4e2020269 100644
--- a/templates/rssitem.tmpl
+++ b/templates/rssitem.tmpl
@@ -5,7 +5,11 @@
<TMPL_ELSE>
<title><TMPL_VAR TITLE></title>
</TMPL_IF>
- <guid><TMPL_VAR URL></guid>
+ <TMPL_IF NAME="UUID">
+ <guid isPermaLink="no"><TMPL_VAR UUID></guid>
+ <TMPL_ELSE>
+ <guid><TMPL_VAR URL></guid>
+ </TMPL_IF>
<link><TMPL_VAR PERMALINK></link>
<TMPL_IF NAME="CATEGORIES">
<TMPL_LOOP NAME="CATEGORIES">