From: Antonio Ospite Date: Mon, 30 Nov 2015 10:22:27 +0000 (+0100) Subject: rss_converter_twitter.com.xsl: restrict tweet selection some more X-Git-Tag: v0.5~3 X-Git-Url: https://git.ao2.it/tweeper.git/commitdiff_plain/5c8599142d25a8a9f9cbd4ecb4b0ea114c46bc93?hp=cf9648c2ee5787195e5b2582aa1f93d2a0b69b0d rss_converter_twitter.com.xsl: restrict tweet selection some more Only select elements which have the 'data-item-id' attribute, this way we avoid picking up the image gallery at the top of hashtag pages which does not have an RSS item structure. JFTR the gallery is inside an element like this:
  • with no 'data-item-id'. --- diff --git a/rss_converter_twitter.com.xsl b/rss_converter_twitter.com.xsl index 82d520c..15507f0 100644 --- a/rss_converter_twitter.com.xsl +++ b/rss_converter_twitter.com.xsl @@ -38,7 +38,7 @@ - + @@ -105,7 +105,7 @@ - +