Hi everyone,
I'm having a difficult time using fetch_rss to access the content childNode:
Example:
XML:
<feed>
<title>title accessed fine</title>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>this is the content I want to access</p>
</div>
</content>
</feed>
PHP:
normal function stuff...
// the below works for accessing the title node
$item['title'];
// and this DOESN'T work
$item['content']['div']['p'];
Note that the above is a highly stripped down version of what the feed actually looks like.
Am I incorrectly understanding the syntax construct?
Any help is greatly appreciated.
-Chris