Como pegar os dados (como tilte ou keywords) deste exemplo de xml usando simplexml_load_file
<media:group>
<media:title type="plain">TITULO</media:title>
<media:description type="plain">AQUI DESCRICAO</media:description>
<media:keywords>PALAVRA1, PALAVRA2, PALAVRA3</media:keywords>
<yt:duration seconds="270" />
<media:category label="Test" scheme="http://teste.com.br"...media:category>
<media:player url="http://www.teste.com.br/teste1" />
<media:thumbnail url="http://www.teste.com...br/teste12.jpg" height="97" width="130" time="02:15" />
<media:thumbnail url="http://www.teste.com...br/teste11.jpg" height="97" width="130" time="01:07" />
<media:thumbnail url="http://www.teste.com...br/teste13.jpg" height="97" width="130" time="03:22" />
</media:group>
consigo pegar dados de xmls padrão, com namespaces não estou conseguindo. Se alguém puder ajudar, agradeço.
Simplexml_load_file
Started By kboing, 03/04/2008, 18:28
1 reply to this topic
1 user(s) are reading this topic
0 membro(s), 1 visitante(s) e 0 membros anônimo(s)