rssitem.tmpl: use UUID as <guid> if supplied
authorSimon McVittie <http://smcv.pseudorandom.co.uk/>
Fri, 11 Jul 2008 22:47:00 +0000 (23:47 +0100)
committerSimon McVittie <http://smcv.pseudorandom.co.uk/>
Fri, 11 Jul 2008 22:47:00 +0000 (23:47 +0100)
templates/rssitem.tmpl

index f22e5e3fb99c3cba669bccc860618559aad4de5a..4e202026910005ce740c889b0555961a29ad3a34 100644 (file)
@@ -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">