From: Antonio Ospite Date: Sun, 11 Aug 2013 11:43:05 +0000 (+0200) Subject: Use templates to generate enclosures X-Git-Tag: v0.1~12^2~11 X-Git-Url: https://git.ao2.it/tweeper.git/commitdiff_plain/899ae9b85f877eaf24e9071e8b87dcefbd0557cb Use templates to generate enclosures This has two benefits: - make it possible to handle multiple enclosures; - handle _only_ the anchors with the 'data-expanded-url' attribute, before the change every anchor with the 'twitter-timeline-link' attribute was handled. The change also makes the DOM navigation a little lighter because now only $tweet-text is searched for the 'data-expanded-url' attribute. --- diff --git a/rss_converter_twitter.com.xsl b/rss_converter_twitter.com.xsl index c7f03c2..280342e 100644 --- a/rss_converter_twitter.com.xsl +++ b/rss_converter_twitter.com.xsl @@ -29,6 +29,10 @@ https://twitter.com + + + + @@ -49,7 +53,7 @@ ]]> - +