How to use PHP to access Yahoo Weather Namespaces?

vegas_guy_40

New Member
I am trying to get at XML data returned from Yahoo's weather feed using PHP. I prefer the use of SimpleXmlElement() but any PHP code that works would be great! The dev page is here http//developer.yahoo.com/weather/ . Has an example of returned XML code near the bottom.<br />
I need to access one of the NameSpaces like <yweatherwind chill="57" direction="350" speed="7"></yweatherwind> to get at say the speed or direction. Example code please.<br />
Thank You,<br />
Tony<br />
dhvrn That PHP program is for NWS and its custom coded just for that. So that doesn't even come close to working with Yahoo's Weather. Anyone have a REAL answer?<br />
 

dhvrm

New Member
http//www.dougv.com/blog/2006/11/07/national-weather-service-current-observations-php-script-project-has-first-release/
 
Top