diff options
author | Simon McVittie <http://smcv.pseudorandom.co.uk/> | 2008-07-11 23:47:00 +0100 |
---|---|---|
committer | Simon McVittie <http://smcv.pseudorandom.co.uk/> | 2008-07-11 23:47:00 +0100 |
commit | fc917fa3831bbea5305e50a8fde4457ff480ad64 (patch) | |
tree | b7c62f4926ee29540964bd4685e6406506ff22b7 | |
parent | 9f479a83a78cc199d7e7854e4beecd5594e87629 (diff) |
rssitem.tmpl: use UUID as <guid> if supplied
-rw-r--r-- | templates/rssitem.tmpl | 6 |
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"> |