I'm trying to use a poorly designed rss feed from weather bug for a website. I'm trying to retrieve the information to put in an already styled widget.
The RSS i have parsed is:
PHP Code:
<div>
<img src="http://deskwx.weatherbug.com/images/Forecast/icons/cond999.gif" border="0" alt="" width="50" height="42"/>
<b>Unknown</b> <br />
<b>Temperature:</b> 50.4 °F<br />
<b>Humidity:</b> 81 % <b>Dew Point:</b> 45? °F <br />
<b>Wind Speed:</b> 5 mph W <b>Gusts:</b> 18 mph WSW<br />
<b>Pressure:</b> 29.95 " <b>Rain Today:</b> 0.00 "<br />
</div>
I basically need to select and extract:
temperature, rain chance, pressure, wind speed, gusts, dew point, and humidity...
I've tried doing selecting all the <b> tags but I don't know how to get the nex text node after the closing b tag.
Any help will greatly be appreciated.