How to fetch content:encoded tags information from rss

admin

Administrator
Staff member
Am fetching blog from wordpress to my website using <strong>magpierss-0.72</strong> rss parser now i want to fetch image from my blog, the image in tag like

Code:
&lt;content:encoded&gt;&lt;img src="path" /&gt;&lt;/content:encoded&gt;

my code what i have tried is

Code:
require_once('rss_fetch.inc');
$rss = fetch_rss($url);

foreach ($rss-&gt;items as $i =&gt; $item ) {
$title = strtoupper ($item['title']);
$url = $item['link'];
$date = $item['pubdate'];
$desc = $item['description'];
$content = $item['content:encoded'];
echo $title."&lt;br /&gt;";
echo $url."&lt;br /&gt;";
echo $date."&lt;br /&gt;";
echo $desc."&lt;br /&gt;";
echo $content."&lt;br /&gt;";
}

But the details in content:encode tag is not fetching. Can any one help me Please

Thank you in advance