youtube: fixes for older XML parsers
authorDavid Gadling <dave@toasterwaffles.com>
Mon, 18 May 2009 22:40:38 +0000 (15:40 -0700)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 18 May 2009 22:46:16 +0000 (00:46 +0200)
commite412b9bc6b66935638b693fe627d557ea82766bb
tree73999ec4b2dde229d5fd57f75475648e126119dc
parentc9825354a325085251df81dd6bc6dcdd37c70756
youtube: fixes for older XML parsers

REXML in (at least) Ruby 1.8.6 doesn't support the @attr xpath to get
an attribute value. Use the slightly more verbose way of doing it.
data/rbot/plugins/youtube.rb