projects
/
tweeper.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edb39c6
)
rss_converter_dilbert.com.xsl: add support for the <enclosure/> element
author
Antonio Ospite <ao2@ao2.it>
Fri, 20 May 2016 16:15:29 +0000
(18:15 +0200)
committer
Antonio Ospite <ao2@ao2.it>
Fri, 20 May 2016 16:15:29 +0000
(18:15 +0200)
rss_converter_dilbert.com.xsl
patch
|
blob
|
history
diff --git
a/rss_converter_dilbert.com.xsl
b/rss_converter_dilbert.com.xsl
index
ce7075f
..
85f6648
100644
(file)
--- a/
rss_converter_dilbert.com.xsl
+++ b/
rss_converter_dilbert.com.xsl
@@
-74,6
+74,9
@@
<img src="{$picture-url}" alt="{$picture-title}"/>
<xsl:text disable-output-escaping="yes">]]></xsl:text>
</description>
+ <xsl:if test="$generate-enclosure = 1">
+ <xsl:copy-of select="php:function('Tweeper::generateEnclosure', string($picture-url))"/>
+ </xsl:if>
</item>
</xsl:template>