rss_converter_twitter.com.xsl: show again the user name in the description
authorAntonio Ospite <ao2@ao2.it>
Fri, 16 Mar 2018 11:49:41 +0000 (12:49 +0100)
committerAntonio Ospite <ao2@ao2.it>
Fri, 16 Mar 2018 11:49:41 +0000 (12:49 +0100)
Having the user name also in the description makes it easier to see who
the author is in case of re-tweeted messages.

Leave the line-break after the username to have the actual message start
at the beginning of the line, this is done to preserve the formatting of
the original message as much as possible.

src/rss_converter_twitter.com.xsl

index 7daa505..332c236 100644 (file)
             </pubDate>
             <description>
                 <xsl:text disable-output-escaping="yes">&lt;![CDATA[</xsl:text>
             </pubDate>
             <description>
                 <xsl:text disable-output-escaping="yes">&lt;![CDATA[</xsl:text>
+                <xsl:value-of select="concat($user-name, ':')"/>
+                <xsl:element name="br"/>
                 <xsl:if test="$item-has-video">
                 <xsl:if test="$item-has-video">
-                    <xsl:text>(Video)</xsl:text>
+                    <xsl:text> (Video)</xsl:text>
                     <xsl:element name="br"/>
                 </xsl:if>
                 <xsl:element name="span">
                     <xsl:element name="br"/>
                 </xsl:if>
                 <xsl:element name="span">