Read CDATA content into normal texts from your xml feed


to read content with CDATA into normal texts,

Add below code in your php file.
$homepage = 'http://www.yourblogurl.com/feed';

$nocdata = simplexml_load_file($homepage, "SimpleXMLElement", LIBXML_NOCDATA);

Post a Comment

0 Comments