Ver Mensaje Individual
  #8 (permalink)  
Antiguo 14/02/2011, 12:46
Avatar de juanito1712
juanito1712
 
Fecha de Ingreso: mayo-2010
Ubicación: Valencia
Mensajes: 1.124
Antigüedad: 13 años, 11 meses
Puntos: 66
Respuesta: api youtube y problemas con el xml

listo
$yt_urltot = "http://gdata.youtube.com/feeds/api/videos?";
$yt_urltot.= "vq=buenafuente";
$yt_urltot.= "&orderby=published";
$yt_urltot.= "&start-index=1";
$yt_urltot.= "&max-results=2";
// ---------------
//$lineas = file($yt_urltot);
$xml = simplexml_load_file($yt_urltot);

o almenos eso parece por ahora