I've been working on some RSS Scrapper that parses data from multiple sources. That said, all this sources have their own implementation of the description of the RSS.
One in particular, uses CDATA tags to write the description on like, for example
<![CDATA[
<p align=justify><font face="verdana, arial, helvetica, sans-serif" size=1>
<font color=#004080></font>
SOME TEXT GOES HERE
</font></p>
]]>
However if I try to get the item description with SimplePie I get this output
<div><p align="justify"></p></div>
I'm using this php script to do all this
foreach($feed->get_Items() as $item)
{
$title = $item->get_title();
$description = $item->get_description();
//some other stuff
}
And now the good part
The title on the feed comes also like this
<title>
<![CDATA[
Nice title
]]>
</title>
And... it works!!!
How can I get the description of the feed? I've tried almost everything!
Thank you!