Erica - 2005-08-07

Hi,

Normally I would try the mailing list, but for some reason my confirmation email keeps bouncing. Hopefully someone here will see my post :)

I am using the patch for enclosures, and I am currently trying to parse an RSS feed from Flickr. In the feed, there are lots of fields called media. For example, there is a tag for <media:title> and that works fine. However, the ones with attributes do not parse at all. For example, there is a tag that says <media:content url="http://photos21.flickr.com/32014543_1da6bd869b_o.jpg" type="image/jpeg" height="480" width="640"/>. I just want to grab the url. However, $item['media']['content']['url'] does not return it. In fact, when I print everything out with print_r, content doesn't even show up as a member of the array. Is there anything that I can do?

Thanks,
Erica
http://www.thanksforthemammaries.net