Use templates to generate enclosures
authorAntonio Ospite <ospite@studenti.unina.it>
Sun, 11 Aug 2013 11:43:05 +0000 (13:43 +0200)
committerAntonio Ospite <ospite@studenti.unina.it>
Sun, 11 Aug 2013 23:21:23 +0000 (01:21 +0200)
commit899ae9b85f877eaf24e9071e8b87dcefbd0557cb
tree742a863728b7db55dc5c7e8ea1141677512c9a01
parent796f27572846c0276d2867f8f0ded8cd462f3af9
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