View Single Post
woody14619's Avatar
Posts: 1,455 | Thanked: 3,309 times | Joined on Dec 2009 @ Rochester, NY
#127
Originally Posted by iscio View Post
I didn't set to 0
If you didn't set it to 0, then it should update based on that value. I'm not sure why it's working differently on your device. It works as expected on everyone else that's tried it to date. (At least nobody else has had an issue with this.) With the one below, setting it to 0 will make it work each time it's run, and will not produce errors about wifi. If the check is enabled, it may still complain about wifi!

Originally Posted by iscio View Post
I tried to change only that link but it doesn't seem to work..perhaps there are other parameters...
There are not. The only one that determines where to get the forecast from is that one line. The TEMPNAME is just the name given to a temporary file, which is used to check when the last download happened. It's name is irrelevant, as long as is remains consistent from one run to the next.

Originally Posted by iscio View Post
italian link could be
http://it.meteo.yahoo.com/italia/lom...alepio-713359/
And now I see the issue. The italian page is VERY different than the US page, and most of the other pages. The layout for some of the items is very different, and the script has to parse that to get the information.

Attached is a new version which will hopefully at least get the high and low (including the native language for "high" and "low"). It may or may not get the forecast, but it will try. If it does, great, if not, well, you get the high and low.

Note: This attachment is a fully working version with all the files needed to run! I changed the PNG files to JPEG so they're much smaller now and fit in one upload. If you want the PNGs, grab them from the other zip file and change the script accordingly... or use your own.

Edit: This one had a bug, see the one in the post a couple after this.

Last edited by woody14619; 2011-06-30 at 17:39.
 

The Following User Says Thank You to woody14619 For This Useful Post: