hi im using the yahoo weather feed for example
http://xml.weather.yahoo.com/forecastrss?p=USCA0216&u=f
i want to store some of their metadata into a php variable like $condition
if you look here
http://developer.yahoo.com/weather/index.html#item
and look at yweather:condition
i want to put yweather:condition into $condition
in the rss feed, it looks like this
<yweather:condition text="Partly Cloudy" code="30" temp="73" date="Sat, 10 Mar 2007 4:53 pm PST" />
can i put say the text (Partly Cloudy) into a php variable?
|