projects
/
tweeper.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Return a DOMElement instead of a string in Tweeper::generateEnclosure()
[tweeper.git]
/
rss_converter_twitter.com.xsl
diff --git
a/rss_converter_twitter.com.xsl
b/rss_converter_twitter.com.xsl
index
59c29bb
..
6ef86dd
100644
(file)
--- a/
rss_converter_twitter.com.xsl
+++ b/
rss_converter_twitter.com.xsl
@@
-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::generateEnclosure', string(./@data-expanded-url))"/>
+ <xsl:
copy-of
select="php:function('Tweeper::generateEnclosure', 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::epochTo
Gmd
ate', number($timestamp))"/>
+ <xsl:value-of select="php:functionString('Tweeper::epochTo
RssD
ate', number($timestamp))"/>
</pubDate>
<description>
<xsl:value-of select="concat($user-name, ': ')"/>
</pubDate>
<description>
<xsl:value-of select="concat($user-name, ': ')"/>