aboutsummaryrefslogtreecommitdiff
path: root/templates/rssitem.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/rssitem.tmpl')
-rw-r--r--templates/rssitem.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/rssitem.tmpl b/templates/rssitem.tmpl
index bfd38ec31..0fab42e71 100644
--- a/templates/rssitem.tmpl
+++ b/templates/rssitem.tmpl
@@ -13,5 +13,9 @@
</TMPL_LOOP>
</TMPL_IF>
<pubDate><TMPL_VAR DATE_822></pubDate>
+ <TMPL_IF NAME="ENCLOSURE">
+ <enclosure url="<TMPL_VAR ENCLOSURE>" type="<TMPL_VAR TYPE>" length="<TMPL_VAR LENGTH>" />
+ <TMPL_ELSE>
<description><![CDATA[<TMPL_VAR CONTENT>]]></description>
+ </TMPL_IF>
</item>