X-Git-Url: https://git.ao2.it/tweeper.git/blobdiff_plain/29e51afe9ef63c74ad8d770bd637d982ec2c85f1..01dfd03d97afd0d5d06a36af37d96892905340ad:/src/rss_converter_twitter.com.xsl diff --git a/src/rss_converter_twitter.com.xsl b/src/rss_converter_twitter.com.xsl index 1d98fa2..b59a97b 100644 --- a/src/rss_converter_twitter.com.xsl +++ b/src/rss_converter_twitter.com.xsl @@ -24,6 +24,7 @@ exclude-result-prefixes="php"> + @@ -127,7 +128,9 @@ - <xsl:value-of select="concat($user-name, ': ')"/> + <xsl:if test="($show-usernames = 1) or ($screen-name != $user-name)"> + <xsl:value-of select="concat($user-name, ': ')"/> + </xsl:if> <xsl:if test="$item-has-video"> <xsl:text>(Video) </xsl:text> </xsl:if> @@ -154,8 +157,10 @@ </pubDate> <description> <xsl:text disable-output-escaping="yes"><![CDATA[</xsl:text> - <xsl:value-of select="concat($user-name, ':')"/> - <xsl:element name="br"/> + <xsl:if test="($show-usernames = 1) or ($screen-name != $user-name)"> + <xsl:value-of select="concat($user-name, ':')"/> + <xsl:element name="br"/> + </xsl:if> <xsl:if test="$item-has-video"> <xsl:text> (Video)</xsl:text> <xsl:element name="br"/>