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
my code what i have tried is
But the details in content:encode tag is not fetching. Can any one help me Please
Thank you in advance
Code:
<content:encoded><img src="path" /></content:encoded>
my code what i have tried is
Code:
require_once('rss_fetch.inc');
$rss = fetch_rss($url);
foreach ($rss->items as $i => $item ) {
$title = strtoupper ($item['title']);
$url = $item['link'];
$date = $item['pubdate'];
$desc = $item['description'];
$content = $item['content:encoded'];
echo $title."<br />";
echo $url."<br />";
echo $date."<br />";
echo $desc."<br />";
echo $content."<br />";
}
But the details in content:encode tag is not fetching. Can any one help me Please
Thank you in advance