Modified Weather Gadget
Up to Tux gadgets
Hello all,
I'm a TuxDroid noob. Got him for Christmas but only just plugged Tux and Fux in yesterday...
Although I am thrilled with Tux and the supplied `default' gadgets (clock, weather, e-mail, etc...), I found an error in the weather gadget written by remi.jocaille. The error is that weather for tomorrow is always read in Fahrenheit, even when the radio button selects Celsius. It's not a fault of remi.jocaille, just that google doesn't give the converted temp in the XML.
I have resolved the error and now offer the modification for review and possible release. I don't know where to post it properly, so I'll supply a link to it here <a href="http://www.bradbase.net/TuxDroid/Weather.tgf">weather.tgf 0.0.5</a>.
While I was in the code, I added a humidity reading for the today weather. I hope all google weather reports for 'today' have humidity (I've not checked). I know Brussels and Sydney have them...
Regards,
Brad
I had a look at your gadget. And thanks for fixing that bug!
The humidity function you added also works fine (didn't check all cities though).
There was a small problem in the Text-To-Speech message I found: When you enable tomorrow's forecast and set the degrees to Fahrenheit, Tux was saying "Fahrenheit dot"
I fixed the degrees_f string from " degrees Fahrenheit." to "degrees Fahrenheit ." (notice the space before the point). It's a weird TTS thingie that is easy to overlook.
I released the updated gadget and it's available on the downloads page
