X-Git-Url: https://git.ao2.it/tweeper.git/blobdiff_plain/f467b3ef9513b5a46286e7d43f6d1b422ac96a2b..b27ae8a97d90e3a9da2a011b15b89a51d9f4fcc9:/src/rss_converter_twitter.com.xsl diff --git a/src/rss_converter_twitter.com.xsl b/src/rss_converter_twitter.com.xsl index 71231b9..53bbb84 100644 --- a/src/rss_converter_twitter.com.xsl +++ b/src/rss_converter_twitter.com.xsl @@ -1,7 +1,7 @@ + @@ -202,6 +209,11 @@ </url> </image> <xsl:apply-templates select="//ol[@id='stream-items-id']/li[@data-item-id and @data-item-type='tweet' and not(contains(@class, 'has-profile-promoted-tweet'))]"/> + + <!-- These rules will only match on permalink URLs --> + <xsl:apply-templates select="//div[@class='permalink-inner permalink-tweet-container']"/> + <xsl:apply-templates select="//div[@data-component-context='replies']//li[@data-item-id and @data-item-type='tweet' and not(contains(@class, 'has-profile-promoted-tweet'))]"/> + </channel> </rss> </xsl:template>