Rudy,
You can use any xml parser like DOM,SimpleXML to extract the temperature.
http://php.net/manual/en/book.simplexml.phphttp://php.net/manual/en/book.dom.phpSample code using SimpleXML:
<?php
$cl = curl_init("http://weather.yahooapis.com/forecastrss?w=123456&u=f");
curl_setopt($cl,CURLOPT_RETURNTRANSFER,true);
$sxe = simplexml_load_string(curl_exec($cl));
$ns = $sxe->getDocNamespaces();
$sxe->registerXPathNamespace('yweather',$ns['yweather']);
$temp = $sxe->xpath("/rss/channel/item/yweather:condition/@temp");
print $temp[0]."\n"; //Prints the temperature in F
?>
Robyn Tippins
community manager, YDN