projects
/
tweeper.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
debian/changelog: release package version 0.5-1
[tweeper.git]
/
rss_converter_facebook.com.xsl
diff --git
a/rss_converter_facebook.com.xsl
b/rss_converter_facebook.com.xsl
index
b50be3d
..
9fbc187
100644
(file)
--- a/
rss_converter_facebook.com.xsl
+++ b/
rss_converter_facebook.com.xsl
@@
-81,8
+81,8
@@
</xsl:template>
<xsl:template match="/">
</xsl:template>
<xsl:template match="/">
- <xsl:variable name="channel-title" select="//
meta[@property='og:title']/@content
"/>
- <xsl:variable name="channel-link" select="//
meta[@property='og:url']/@content
"/>
+ <xsl:variable name="channel-title" select="//
title
"/>
+ <xsl:variable name="channel-link" select="//
div[contains(@class, 'userContentWrapper')][1]//a[1]/@href
"/>
<rss version="2.0">
<xsl:attribute name="xml:base"><xsl:value-of select="$BaseURL" /></xsl:attribute>
<rss version="2.0">
<xsl:attribute name="xml:base"><xsl:value-of select="$BaseURL" /></xsl:attribute>
@@
-95,7
+95,9
@@
<xsl:value-of select="$channel-link"/>
</link>
<description>
<xsl:value-of select="$channel-link"/>
</link>
<description>
- <xsl:value-of select="normalize-space(//meta[@property='og:description']/@content)"/>
+ <xsl:text disable-output-escaping="yes"><![CDATA[</xsl:text>
+ <xsl:copy-of select="//div[@data-id='1']/node()"/>
+ <xsl:text disable-output-escaping="yes">]]></xsl:text>
</description>
<image>
<title>
</description>
<image>
<title>