Show XML rss feed in a php page

IN PROGRESS
Bids
3
Avg Bid (USD)
$9 / hr
Project Budget (USD)
$2 - $4 / hr

Project Description:
I want a simple rss news feed displaying php script. (with css style with div tags)

source xml rss url is : http://www.moneycontrol.com/rss/latestnews.xml

see attached image for out put result.

Budget is fixed 5$
----------------------------------
I have php code, it is working in local pc server, but not working at server :
<?php
$rss = new SimpleXMLElement('http://www.moneycontrol.com/rss/latestnews.xml', null, true);

"channel->link}'>{$rss->channel->title}".PHP_EOL.''.PHP_EOL;

foreach($rss->xpath('channel/item') as $item)
{


echo <<<EOF

link}' target='blank'>{$item->title}
» {$item->pubDate}
{$item->description}


EOF;
}
?>
you can use it.

Hours of work: 1 Project Duration: 1 - 4 weeks Skills required:
PHP, XML
Additional Files: localhost+test+market+today+rss.php.png
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$4 / hr
Hours: 1 hr/ week
$20 / hr
Hours: 1 hr/ week
Hire eightsl
$4 / hr
Hours: 1 hr/ week