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?ds=inline;hp=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. ---