So what does a var_dump of $weather give you... I'm thinking you might not need "rss->"....
Well, after doing a bit of debugging myself, the proxying of it didn't work. So once I took out the proxy, and just used file_get_contents() it worked. Well, it got the information. After I removed the "rss->" (as stated above) it worked. So my final working code was this:
<?php
function xml_via_proxy ($url) {
/*$context = stream_context_create(
array('http'=>
array('proxy'=>'cache.uwe.ac.uk:8080')
)
);*/
$contents = file_get_contents($url, false, $context);
return simplexml_load_string($contents);
}
$weather = xml_via_proxy("http://feeds.bbc.co.uk/weather/feeds/rss/5day/world/0105.xml");
$description = $weather->channel->item->description;
?>