aboutsummaryrefslogtreecommitdiff
path: root/templates/rssitem.tmpl
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-11-01 06:45:59 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-11-01 06:45:59 +0000
commit369cf45ace663f42960cea72f87e669ea81979cd (patch)
tree45cd7a205266435dae8e3e7afb455cf98601be9d /templates/rssitem.tmpl
parentf8dbe2657cb4ed768815c5cf699ecb922e796934 (diff)
downloadikiwiki-369cf45ace663f42960cea72f87e669ea81979cd.tar
ikiwiki-369cf45ace663f42960cea72f87e669ea81979cd.tar.gz
* Patch from James Westby to support podcasting, photoblogging, vidcasting,
or what have you, by creating enclosures for non-page items that are included in feeds.
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>