X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/be55f6fd7cf1a251c3977f857a44ee2769e39d8b..1ef40ff68370aba85e9816221675a8edd7a308f5:/templates/rssitem.tmpl diff --git a/templates/rssitem.tmpl b/templates/rssitem.tmpl index bfd38ec31..bb03ca5bc 100644 --- a/templates/rssitem.tmpl +++ b/templates/rssitem.tmpl @@ -1,17 +1,28 @@ <item> - <TMPL_IF NAME="AUTHOR"> - <title><TMPL_VAR AUTHOR ESCAPE=HTML>: <TMPL_VAR TITLE ESCAPE=HTML></title> - <dc:creator><TMPL_VAR AUTHOR ESCAPE=HTML></dc:creator> - <TMPL_ELSE> - <title><TMPL_VAR TITLE ESCAPE=HTML></title> - </TMPL_IF> - <guid><TMPL_VAR URL></guid> + <title><TMPL_VAR TITLE></title> +<TMPL_IF GUID> + <guid isPermaLink="false"><TMPL_VAR GUID></guid> +<TMPL_ELSE> + <guid isPermaLink="false"><TMPL_VAR URL></guid> +</TMPL_IF> <link><TMPL_VAR PERMALINK></link> - <TMPL_IF NAME="CATEGORIES"> - <TMPL_LOOP NAME="CATEGORIES"> +<TMPL_IF AUTHOR> + <dc:creator><TMPL_VAR AUTHOR ESCAPE=HTML></dc:creator> +</TMPL_IF> +<TMPL_IF CATEGORIES> +<TMPL_LOOP CATEGORIES> <category><TMPL_VAR CATEGORY></category> - </TMPL_LOOP> - </TMPL_IF> - <pubDate><TMPL_VAR DATE_822></pubDate> - <description><![CDATA[<TMPL_VAR CONTENT>]]></description> +</TMPL_LOOP> +</TMPL_IF> + <pubDate><TMPL_VAR CDATE_822></pubDate> + <dcterms:modified><TMPL_VAR MDATE_3339></dcterms:modified> +<TMPL_IF ENCLOSURE> + <enclosure url="<TMPL_VAR ENCLOSURE>" type="<TMPL_VAR TYPE>" length="<TMPL_VAR LENGTH>" /> +</TMPL_IF> +<TMPL_UNLESS SIMPLEPODCAST> + <description><TMPL_VAR CONTENT ESCAPE=HTML></description> +</TMPL_UNLESS> +<TMPL_IF COMMENTSURL> + <comments><TMPL_VAR COMMENTSURL></comments> +</TMPL_IF> </item>