atomitem.tmpl: use UUID as <id> if supplied

master
Simon McVittie 2008-07-11 23:46:48 +01:00
parent e767f18867
commit 9f479a83a7
1 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,10 @@
<entry> <entry>
<title><TMPL_VAR TITLE></title> <title><TMPL_VAR TITLE></title>
<TMPL_IF NAME="UUID">
<id><TMPL_VAR UUID></id>
<TMPL_ELSE>
<id><TMPL_VAR URL></id> <id><TMPL_VAR URL></id>
</TMPL_IF>
<link href="<TMPL_VAR PERMALINK>"/> <link href="<TMPL_VAR PERMALINK>"/>
<TMPL_IF NAME="AUTHOR"> <TMPL_IF NAME="AUTHOR">
<author><name><TMPL_VAR AUTHOR ESCAPE=HTML></name></author> <author><name><TMPL_VAR AUTHOR ESCAPE=HTML></name></author>