« Return to Thread: parsing youtube xml

parsing youtube xml

by Jonathan Vanherpe (T & T NV) :: Rate this Message:

Reply to Author | View in Thread

Hi list,

does anyone know why this code returns an empty array?

<?Lassoscript
var('youtube_id')='oHg5SJYRHA0';
var('youtube_xml')=xml(include_url('http://gdata.youtube.com/feeds/api/videos/'+$youtube_id));
'title: '+encode_HTML($youtube_xml->extract('/entry/title'));
?>

thanks,
Jonathan
--
Jonathan Vanherpe - Tallieu & Tallieu NV - jonathan@...

--
This list is a free service of LassoSoft: http://www.LassoSoft.com/
Search the list archives: http://www.ListSearch.com/Lasso/Browse/
Manage your subscription: http://www.ListSearch.com/Lasso/


 « Return to Thread: parsing youtube xml