So I was reading this article : http://www.phpbuilder.com/board/showthread.php?s=&threadid=10286425&highlight=enclosure
But it didnt quite fit the bill...
I am trying to read the URL attribute of an XML enclosure tag. My code is as follows..
case "ENCLOSURE":
//$enclosure = "hit";
$enclosure .= $data[URL];
break;
I have also tried
case "ENCLOSURE":
//$enclosure = "hit";
$enclosure .= $data;
break;
and a few other incarniations.
Anybody know how to read the URL part of the enclosure tag?
Here is a sample tag:
<enclosure url="http://www.mysite.com/mblog/pictures/45ed209afc45b1afd88e7cedfc8a06fc_1.jpg" length="3880" type="image/jpeg" />
-a