I have the following snippet of code:
function getFeed($feed_url) { $content = file_get_contents($feed_url); $x = new SimpleXmlElement($content); echo \"&l
The working answer for this is just:
$e_content = $entry->children("content", true); $e_encoded = (string)$e_content->encoded;