gazza52 Posted October 14, 2010 Share Posted October 14, 2010 Hi All, I'm trying to incorporate a BBC Sport RSS Feed into my website. The following code will show me the news feeds as text and I can include the url's as text also but want to turn this into a clickable url. How do I do this, I cant work it? please help. $feed_url = "http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/football/teams/s/shrewsbury/rss.xml"; // Get data from feed file $response = file_get_contents($feed_url); // Insert XML into structure $xml = simplexml_load_string($response); // Browse structure foreach($xml->channel->item as $one_item) echo $one_item->title."<BR>"; Link to comment https://forums.phpfreaks.com/topic/215896-rss-feed/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.