From 899ae9b85f877eaf24e9071e8b87dcefbd0557cb Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Sun, 11 Aug 2013 13:43:05 +0200 Subject: [PATCH] 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. --- rss_converter_twitter.com.xsl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 @@ ]]> - + -- 2.1.4