src/rss_converter_*.xsl: add missing generate-enclosure parameter
authorAntonio Ospite <ao2@ao2.it>
Tue, 13 Nov 2018 15:29:57 +0000 (16:29 +0100)
committerAntonio Ospite <ao2@ao2.it>
Fri, 16 Nov 2018 09:28:16 +0000 (10:28 +0100)
XSL parameters do not necessarily need to be declared in the stylesheet
if no default value is explicitly set, however tweeper is doing that for
other stylesheet, so declare the parameter in rss_converter_pump.io.xsl
and rss_converter_dilbert.com.xsl as well for consistency.

src/rss_converter_dilbert.com.xsl
src/rss_converter_pump.io.xsl

index 88e7155..99d2b27 100644 (file)
@@ -36,6 +36,8 @@
     xmlns:php="http://php.net/xsl"
     exclude-result-prefixes="php">
 
+    <xsl:param name="generate-enclosure"/>
+
     <xsl:output method="xml" indent="yes"/>
 
     <xsl:variable name="BaseURL" select="//meta[@property='og:url']/@content"/>
index 61f4f7f..8cdc3d8 100644 (file)
@@ -24,6 +24,8 @@
     xmlns:php="http://php.net/xsl"
     exclude-result-prefixes="php">
 
+    <xsl:param name="generate-enclosure"/>
+
     <xsl:output method="xml" indent="yes"/>
 
     <xsl:variable name="domain-name" select="substring-after(//div[@id='profile-block']/@data-profile-id, '@')"/>