projects
/
tweeper.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tweeper.php: rename DomDocument() to DOMDocument()
[tweeper.git]
/
rss_converter_twitter.com.xsl
diff --git
a/rss_converter_twitter.com.xsl
b/rss_converter_twitter.com.xsl
index
929f8b2
..
6ef86dd
100644
(file)
--- a/
rss_converter_twitter.com.xsl
+++ b/
rss_converter_twitter.com.xsl
@@
-24,7
+24,7
@@
xsl:extension-element-prefixes="php"
exclude-result-prefixes="php">
xsl:extension-element-prefixes="php"
exclude-result-prefixes="php">
- <xsl:param name="generate
E
nclosure"/>
+ <xsl:param name="generate
-e
nclosure"/>
<xsl:output method="xml" indent="yes"/>
<xsl:output method="xml" indent="yes"/>
@@
-33,7
+33,7
@@
</xsl:variable>
<xsl:template match="a[@data-expanded-url]">
</xsl:variable>
<xsl:template match="a[@data-expanded-url]">
- <xsl:
value-of disable-output-escaping="yes" select="php:function('Tweeper::generate_e
nclosure', string(./@data-expanded-url))"/>
+ <xsl:
copy-of select="php:function('Tweeper::generateE
nclosure', string(./@data-expanded-url))"/>
</xsl:template>
<xsl:variable name="screen-name" select="//div[@class='user-actions btn-group not-following ']/@data-screen-name"/>
</xsl:template>
<xsl:variable name="screen-name" select="//div[@class='user-actions btn-group not-following ']/@data-screen-name"/>
@@
-54,7
+54,7
@@
</guid>
<pubDate>
<xsl:variable name="timestamp" select=".//span[contains(@class, 'js-short-timestamp')]/@data-time"/>
</guid>
<pubDate>
<xsl:variable name="timestamp" select=".//span[contains(@class, 'js-short-timestamp')]/@data-time"/>
- <xsl:value-of select="php:functionString('Tweeper::epoch
_to_gmd
ate', number($timestamp))"/>
+ <xsl:value-of select="php:functionString('Tweeper::epoch
ToRssD
ate', number($timestamp))"/>
</pubDate>
<description>
<xsl:value-of select="concat($user-name, ': ')"/>
</pubDate>
<description>
<xsl:value-of select="concat($user-name, ': ')"/>
@@
-62,7
+62,7
@@
<xsl:copy-of select="$item-content/node()"/>
<xsl:text disable-output-escaping="yes">]]></xsl:text>
</description>
<xsl:copy-of select="$item-content/node()"/>
<xsl:text disable-output-escaping="yes">]]></xsl:text>
</description>
- <xsl:if test="$generate
E
nclosure = 1">
+ <xsl:if test="$generate
-e
nclosure = 1">
<xsl:apply-templates select="$item-content//a[@data-expanded-url]"/>
</xsl:if>
</item>
<xsl:apply-templates select="$item-content//a[@data-expanded-url]"/>
</xsl:if>
</item>