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 />
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 />