projects
/
tweeper.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tweeper.php: make logXmlError() a static method
[tweeper.git]
/
rss_converter_twitter.com.xsl
diff --git
a/rss_converter_twitter.com.xsl
b/rss_converter_twitter.com.xsl
index
15507f0
..
0701d5c
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:value-of disable-output-escaping="yes" select="php:function('Tweeper::generate
E
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>
@@
-102,7
+102,7
@@
<xsl:value-of select="$channel-link"/>
</link>
<url>
<xsl:value-of select="$channel-link"/>
</link>
<url>
- <xsl:value-of select="//a[contains(@class, 'profile-picture
media-thumbnail
')]/@href"/>
+ <xsl:value-of select="//a[contains(@class, 'profile-picture')]/@href"/>
</url>
</image>
<xsl:apply-templates select="//ol[@id='stream-items-id']/li[@data-item-id and @data-item-type='tweet']"/>
</url>
</image>
<xsl:apply-templates select="//ol[@id='stream-items-id']/li[@data-item-id and @data-item-type='tweet']"/>