For Years we've been asking the widget makers to use a different weather source. But they say they just can't. Yahoo was the only one that reports accurately around the whole globe. Most of these other forecast sites do well in this country or that country but not globally. And what's more important is Yahoo is free. And there's just too much code written for Yahoo reporting to ask that hundreds of widgets be rewritten. It just won't happen.

To have an alternative is always good, simply because to have a choice.
I experimented with a few other sites, but it was as Newdestiny said, they often work great in certain parts of the globe but not all around the world. Until I found WorldWeatherOnline, it also works world wide, it also is free, but users need to register for a free API key and you are limited to 500 requests per hour (that should be plenty for anybody). But the best part of it is that it only needs the latitude and longitude to fetch the weather. With Yahoo you need to get 3 url to get the weather and a 4 day forecast, with WorldWeatherOnline you need just one url to get the same.
King has used WorldWeatherOnline a couple of times as he was testing a few things for me, so he can tell you what it is like.
Regarding code rewrite it doesn't amount to a huge task, the biggest part is to delete all those xml request javascript etc. Most of the css can be reused.
It really is quite simple. One url, one JSON response file. Much much less confusing then managing 3 Yahoo xml response files.
If you want I can give an example of an WorldWeatherOnline javascript, just let me know.

Originally Posted by Ian Nicoll

How come this is not effecting you? You sure your on gps and not locale?

I don't know I tried it as I was writing my posts, gps and yahoo worked, city names and yahoo worked. I used the Weather Elements 5.2 with geolocation javascript for gps, normally I use gps from geolocation javascript and database and WorldWeatherOnline. I don't have MyLocation app installed and honestly Yahoo can kiss my backside.

If we were to use WorldWeatherOnline can we still use the MyLocation app for GPS? I'm not currently using it but would like to as I travel to different towns a lot and it would come in handy. Yahoo doesn't report my current city but a town close by even if I put in my zip code. I'm new to this stuff but would be fun to play around with.

This makes me believe that there are fundamental differences between the way a config.js file is read and how a database is read. It seems to me that a config.js is read at "boot up" (not really boot up, but during that process) and stored in menory. Any changes to the config.js file will only come into place when that config.js file is read again and that seems to take place after a respring, a simple lockout seems not to trigger this, it still used the config.js that is in memory. That's where it is different with a database. The lockout from the Home screen loads the LockBackground.html to be executed, which means it will read the database which is on the latest update, whereas if the LockBackground.html has a config.js file and the LockBackground.html is loaded again it looks at the "old" config.js file in memory and not at the "new updated" config.js file, which it only will do when you respring.
This looks like a very plausible explanation to me why people have to respring to update their location.

Okay, don't laugh. If that's the case is there a way to have it go out and get the "lat" and "log" somewhere else. I'm thinking of the fix when 5.1 came out and MyLocation didn't work. We used "GPS for web server" (many thanks ras) to update the .txt doc. Is there a way to set up location.js to go out to 127.0.0.1/index.htm and have something in the background running something like a GPS server. I know I'm missing a lot here as I'm just a self taught coder who figures it out as I go. I'm just brainstorming.

Okay, don't laugh. If that's the case is there a way to have it go out and get the "lat" and "log" somewhere else. I'm thinking of the fix when 5.1 came out and MyLocation didn't work. We used "GPS for web server" (many thanks ras) to update the .txt doc. Is there a way to set up location.js to go out to 127.0.0.1/index.htm and have something in the background running something like a GPS server. I know I'm missing a lot here as I'm just a self taught coder who figures it out as I go. I'm just brainstorming.

We've already been down this road without success. Ras has few threads on Mobile Modding US that go into a lot of detail on this topic.

Okay, it was just a thought. So I'm guessing people are still have issues with the weather not updating today. Mine hasn't worked since this morning.

Nope. We're all still down if using GPS. WoeID works fine thought.

Ras, please PM me the code. But you need to spoon feed it to me. I need to know what has to be cut out and what gets replaced. Is it the JQuery.js we'll be affecting most? That's the file that looks most like Greek to me.

Originally Posted by douglaslwarren

Mine HAS been working all day.

Then you're using WoeID and not GPS. It couldn't work for one person and not the rest.

Ras, why can't we build the code separately in UniAW to have the option to run either weather source?

It could be as easy as selecting it in the config file.

That shouldn't be a huge problem, just add a switch like yahoo=true or yahoo=false and then
if (yahoo=="true"){ yahoo weather request function}
if (yahoo=="false") {WorldWeatherOnline weather request function}
or something like this

Originally Posted by douglaslwarren

ras,

If we were to use WorldWeatherOnline can we still use the MyLocation app for GPS? I'm not currently using it but would like to as I travel to different towns a lot and it would come in handy. Yahoo doesn't report my current city but a town close by even if I put in my zip code. I'm new to this stuff but would be fun to play around with.

Thanks,

DLW

WorldWeatherOnline needs the latitude and longitude, it does not matter where you get them from, myLocation.txt or geolocation javascript.

Originally Posted by bfichtner

Okay, don't laugh. If that's the case is there a way to have it go out and get the "lat" and "log" somewhere else. I'm thinking of the fix when 5.1 came out and MyLocation didn't work. We used "GPS for web server" (many thanks ras) to update the .txt doc. Is there a way to set up location.js to go out to 127.0.0.1/index.htm and have something in the background running something like a GPS server. I know I'm missing a lot here as I'm just a self taught coder who figures it out as I go. I'm just brainstorming.

The web server method is one possibility, but it would be not my preferred method to get the GPS position. The web server is a hugely powerful tool together with PHP. You can create file index of any folder, you can run shell scripts enabling you to get any weather web page and pick the bits you want, no response file needed. I used that last year in the Hour by Hour theme.
The best solution, certainly for me, is the geolocation javascript running in a webclip html and saving the latitude and longitude to a database. Any LockBackground.html or Widget.html can access that database and get the latitude and longitude. OK, it is an On Demand GPS update, not a constant GPS positioning monitoring like MyLocation app does. However, it just takes taping one icon and a press of the home button to close the webclip window to get an GPS update, done within 5 seconds, apart from that it also saves battery, this is a quote from the Apple Developer siteLoading…

Note: Constantly tracking the current location may reduce the device’s battery life since the GPS hardware is enabled in the tracking mode.

That shouldn't be a huge problem, just add a switch like yahoo=true or yahoo=false and then
if (yahoo=="true"){ yahoo weather request function}
if (yahoo=="false") {WorldWeatherOnline weather request function}
or something like this

WorldWeatherOnline needs the latitude and longitude, it does not matter where you get them from, myLocation.txt or geolocation javascript.

The web server method is one possibility, but it would be not my preferred method to get the GPS position. The web server is a hugely powerful tool together with PHP. You can create file index of any folder, you can run shell scripts enabling you to get any weather web page and pick the bits you want, no response file needed. I used that last year in the Hour by Hour theme.
The best solution, certainly for me, is the geolocation javascript running in a webclip html and saving the latitude and longitude to a database. Any LockBackground.html or Widget.html can access that database and get the latitude and longitude. OK, it is an On Demand GPS update, not a constant GPS positioning monitoring like MyLocation app does. However, it just takes taping one icon and a press of the home button to close the webclip window to get an GPS update, done within 5 seconds, apart from that it also saves battery, this is a quote from the Apple Developer siteLoading…

NewDestinyX, thanks for the spaceman help living here in Toledo,Ohio (by choice so don't hate) I didn't know if I'd get to see him. It was fair last night that's why I asked. Now if only yahoo would get they're stuff together I could see him. Lol.
MamaJaay thanks for the lite versions.