Display RSS feed item on intranet via php

I have been this all day. We have an intranet in the office, on some PC there is no Internet access. I am trying to get this RSS site ( http://news.bbc.co.uk/onthisday/ ) into a table with images and display it on the intranet, is this possible? Can someone point me in the right direction?

0
source share
1 answer
http://newsrss.bbc.co.uk/rss/on_this_day/front_page/rss.xml

Your XML is there, just use SimpleXML to get your data. Very simple.

Something where you started:

$a = curl_init("http://newsrss.bbc.co.uk/rss/on_this_day/front_page/rss.xml");
curl_setopt($a, CURLOPT_RETURNTRANSFER,1);
$b = curl_exec($a);

$xml = simplexml_load_string($b);

var_dump($xml);
0
source

All Articles