X-Git-Url: https://git.ao2.it/tweeper.git/blobdiff_plain/7f80e1efb56d6ac3186962cbe658d129b84a33cd..b187bb677361d17a468abf749332d081a194b4bd:/rss_converter_twitter.com.xsl diff --git a/rss_converter_twitter.com.xsl b/rss_converter_twitter.com.xsl deleted file mode 100644 index c154141..0000000 --- a/rss_converter_twitter.com.xsl +++ /dev/null @@ -1,208 +0,0 @@ - - - - - - - - - https://twitter.com - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <xsl:value-of select="concat($user-name, ': ')"/> - <xsl:if test="$item-has-video"> - <xsl:text>(Video) </xsl:text> - </xsl:if> - <!-- - Prepend a space in front of the URLs which are not - preceded by an open parenthesis, for aestethic reasons. - Also, regex, I know: http://xkcd.com/1171/ - --> - <xsl:variable - name="processed-title" - select="php:functionString('preg_replace', '@((?<!\()(?:http[s]?://|pic.twitter.com))@', ' \1', $item-content)"/> - <!-- Also strip   and … --> - <xsl:value-of select="normalize-space(translate($processed-title, ' …', ''))"/> - - - - - - - - - - - - - - <![CDATA[ - - (Video) - - - - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - Tweeper - - <xsl:value-of select="$channel-title"/> - - - - - - - - - - <xsl:value-of select="$channel-title"/> - - - - - - - - - - - - -