summaryrefslogtreecommitdiff
path: root/atomitem.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'atomitem.tmpl')
-rw-r--r--atomitem.tmpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/atomitem.tmpl b/atomitem.tmpl
index 4c128a5..146b9aa 100644
--- a/atomitem.tmpl
+++ b/atomitem.tmpl
@@ -1,6 +1,10 @@
<entry>
<title><TMPL_VAR TITLE></title>
- <id><TMPL_VAR URL></id>
+ <TMPL_IF NAME="GUID">
+ <id><TMPL_VAR GUID></id>
+ <TMPL_ELSE>
+ <id><TMPL_VAR URL></id>
+ </TMPL_IF>
<link href="<TMPL_VAR PERMALINK>"/>
<TMPL_IF NAME="AUTHOR">
<author><name><TMPL_VAR AUTHOR ESCAPE=HTML></name></author>