Page is a not externally linkable
- Code, Content, and Presentation
-- RSS, ATOM, and Related Technologies
---- Reading RSS from PHP pages


Jakotsu - 2:02 am on Jan 16, 2007 (gmt 0)


Oops. It works until I try to read an item named <content:encoded> which has some HTML code inside it. I got an undefined index error when reading it with the standard method:

$MyContent = $item['content:encoded'];

this returns an error as "Notice: Undefined index: content:encoded ..."

The item from the RSS is shown this way on IE6:

<content:encoded>
- <![CDATA[ <table><tr valign="top">some more HTML code here blah blah</tr></table>
]]>
</content:encoded>

Is there some way to read this item with the MagpieRSS? This item is handled differently for some reason, any help on this will be really appreciated.


Thread source:: http://www.webmasterworld.com/rss_atom/3219536.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com