1. NewD's Avatar
    Doesn't matter where we get the weather from, it will not be accurate for all users, Dacal has already reported that Rasp's method is way off for his location. And I'm sure that somewhere down the line WWO will start charging too, especially now they see Yahoo is doing it. The more popular it becomes then they will start to see the opportunity to make $.
    It's just progress, at one time not so long ago all themes here were free!

    Say what you like about Yahoo, it works (worked) for me, and I just got the API key, now got to figure out how to link it in the js.
    If Rasp's method pans out we will see the same complaints, it will be great for some locations but not for others.

    Best Idea: Somewhere down the line when we get all possibilities working is a switch for the user to choose from Yahoo (paid), WWO, accuweather or any other source.
    THat would be great. But Yahoo has never been great in reporting accurately for small towns. AccuWeather is always perfect for small towns in the US. But the world is larger than the US. I know you guys have to 'choose one'. Or maybe a few. We will look forward to your updates when you get the chance. In the meantime I'll covert all my widget to WOEID.
    2013-04-03 05:14 AM
  2. <Ian Nicoll/>'s Avatar
    Maybe all is not lost yet, they still have a free version, it might be only new links we need!
    I thing 2,000 requests per day is plenty!
    Here is a Qoute from the Yahoo Developer page:

    LINK



    Unfortunately, I know every part of the UniAW javascript files EXCEPT the "get weather" parts, this is Dacal's department

    I really should sit down and work it all out one of these days!
    Attached Thumbnails UniAW6.0 for iph4 &amp; iph5-screen-shot-2013-04-03-12.13.19-pm.png  
    Last edited by <Ian Nicoll/>; 2013-04-03 at 06:24 AM.
    2013-04-03 06:21 AM
  3. King_O_Hill's Avatar
    Yahoo always worked great for me, and I spend a lot of time in the farm towns of the Midwest. Never had a reporting issue to speak of. I even live on the line of 2 cities and 90% of the time it would pick up the correct city.

    You need to know that yahoo does not have their own weather reporting. They get it from the weather channel! So all the times you've blamed yahoo has been falsely placed. They're just the middle man.

    Maybe all is not lost yet, they have a free version, it might be only new links we need!
    I thing 2,000 requests per day is plenty!
    Here is a Qoute from the Yahoo Developer page:

    LINK



    Unfortunately, I know every part of the UniAW javascript files EXCEPT the "get weather" parts, this is Dacal's department

    I really should sit down and work it all out one of these days!
    That's promising, but keep in mind, it's 2000 queries per table. I'm not 100% sure, but depending on how the requests are handled, each time it goes out, it may be using more than one request.
    Last edited by King_O_Hill; 2013-04-03 at 06:27 AM.

    Check out WW3 for iOS 9/10 - Widget-Weather 3.0
    2013-04-03 06:22 AM
  4. markfern811's Avatar
    Anybody seeing this today? Internet is good and widget works if you switch off GPS, I think Yahoo is up to something again?

    Yes mine doing exactly the same, works with gps off... iPhone 4 6.1.3
    2013-04-03 06:32 AM
  5. <Ian Nicoll/>'s Avatar

    That's promising, but keep in mind, it's 2000 queries per table. I'm not 100% sure, but depending on how the requests are handled, each time it goes out, it may be using more than one request.

    "The YQL tables for Placefinder and PlaceSpotter/Placemaker are rate limited to 2000 queries per day per table per APP ID and are intended for non-commercial usage."

    Whatever that means

    And the "per APP ID" worries me, if we all call the app "UniAW"! We'd have to call it by unique names, like last name + DOB or something.

    We just need the new links to try it I guess.

    Yes mine doing exactly the same, works with gps off... iPhone 4 6.1.3
    Mmm... I wonder what it could be..

    Read the last few pages M8.
    Last edited by <Ian Nicoll/>; 2013-04-03 at 06:42 AM.
    2013-04-03 06:35 AM
  6. The_Durben's Avatar
    "The YQL tables for Placefinder and PlaceSpotter/Placemaker are rate limited to 2000 queries per day per table per APP ID and are intended for non-commercial usage."

    Whatever that means

    And the "per APP ID" worries me, if we all call the app "UniAW"! We'd have to call it by unique names, like last name + DOB or something.

    We just need the new links to try it I guess.



    Mmm... I wonder what it could be..

    Read the last few pages M8.
    2000/day is well enough for one user
    Provided it tracks by each persons device as unique
    It could also limit the use of multiple widgets too. Depending in how many and how many times we've been pinging them lol
    Heck we could have caused this decision by yahoo since crazy brought the app
    2013-04-03 06:50 AM
  7. King_O_Hill's Avatar
    Ok, it looks like the geo.placefinder gives a lot of information including the woeid. So it looks like it can possible be hit 83 times an hour per user. Still need to read it with a clear head to make sure I'm understanding it correctly.

    Ok, the "Reverse Geocoding" seems to work very well. I put in my lat-long from myLocation.txt file and it came back with very accurate info. So accurate, it gave me my house number! It gives complete address info, as well as the correct woeid. At least this is what I got from my test. I also found this neat little testing page!

    Test it here:

    http://developer.yahoo.com/yql/console

    Paste the query below into the "YOUR YQL STATEMENT" box, but replace the coordinates with your own.

    select * from geo.placefinder where text="37.416275,-122.025092" and gflags="R"
    Last edited by King_O_Hill; 2013-04-03 at 07:43 AM.

    Check out WW3 for iOS 9/10 - Widget-Weather 3.0
    2013-04-03 07:11 AM
  8. The_Durben's Avatar
    Ok, it looks like the geo.placefinder gives a lot of information including the woeid. So it looks like it can possible be hit 83 times an hour per user. Still need to read it with a clear head to make sure I'm understanding it correctly.

    Ok, the "Reverse Geocoding" seems to work very well. I put in my lat-long from myLocation.txt file and it came back with very accurate info. So accurate, it gave me my house number! It gives complete address info, as well as the correct woeid. At least this is what I got from my test. I also found this neat little testing page!

    Test it here:

    YQL Console

    Paste the query below into the "YOUR YQL STATEMENT" box, but replace the coordinates with your own.

    select * from geo.placefinder where text="37.416275,-122.025092" and gflags="R"
    Nice, looks promising KoH
    2013-04-03 08:04 AM
  9. <Ian Nicoll/>'s Avatar
    Yes, I saw that too, it works great but what do we replace this link with:

    "http://where.yahooapis.com/geocode?location="

    I can't get these to work:

    "http://www.yahooapis.com/v1/base.rng"
    "http://yboss.yahooapis.com/geo/placefinder?"

    C'mon Brian, today could be your day!

    Wish Dacal would wake up, why do we need to sleep!

    Argh... I gotta go eat something, stupid human bodies!
    Last edited by <Ian Nicoll/>; 2013-04-03 at 08:11 AM.
    2013-04-03 08:05 AM
  10. The_Durben's Avatar
    Here's a working location.js

    https://www.dropbox.com/s/zy3erfar042t159/location.zip

    Right idea King but needed to be looking at json
    2013-04-03 08:32 AM
  11. King_O_Hill's Avatar
    Yeah, I was looking at both, but very tired and not thinking straight. I was hoping someone would get the next piece of the puzzle!

    Check out WW3 for iOS 9/10 - Widget-Weather 3.0
    2013-04-03 08:35 AM
  12. The_Durben's Avatar
    Yeah it's working with that location.js

    See

    Back tomorrow y'all
    Phone is dying and I'm tired

    Yes, I saw that too, it works great but what do we replace this link with:

    "http://where.yahooapis.com/geocode?location="

    I can't get these to work:

    "http://www.yahooapis.com/v1/base.rng"
    "http://yboss.yahooapis.com/geo/placefinder?"

    C'mon Brian, today could be your day!

    Wish Dacal would wake up, why do we need to sleep!

    Argh... I gotta go eat something, stupid human bodies!
    http://gws2.maps.yahoo.com/findlocation?pf=

    Make it easier
    Last edited by The_Durben; 2013-04-03 at 08:44 AM.
    2013-04-03 08:37 AM
  13. <Ian Nicoll/>'s Avatar
    I don't think it's working, the widget is using the locale code, any of you have gps coordinates on the screen?
    2013-04-03 09:10 AM
  14. King_O_Hill's Avatar
    Mine keeps using the woeid, even though I have GPS=true???

    No coordinates either.

    Check out WW3 for iOS 9/10 - Widget-Weather 3.0
    2013-04-03 09:10 AM
  15. <Ian Nicoll/>'s Avatar
    Mine keeps using the woeid, even though I have GPS=true???

    No coordinates either.
    Yeah M8, I got this far too, could get the widget to revert to woeid but gps is still not working, even with this file. Getting closer I hope though.
    2013-04-03 09:16 AM
  16. Dacal's Avatar
    It works with the free service !


    Link for location.js : https://www.dropbox.com/s/ittml020n0whul1/location.zip

    Replace in location.js :

    var url = 'http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20geo.placefinder%20where% 20text%3D"'+latitude+'%2C'+longitude+'"%20and%20gf lags%3D"R"&format=json&callback=';
    $.getJSON(url, function(data) {
    found = data.query.count; // Check if coordinates return a valid localization.
    if ( found == 1) {
    var woeid = data.query.results.Result.woeid;
    city = data.query.results.Result.city;
    neighborhood = data.query.results.Result.neighborhood;
    state = data.query.results.Result.state;
    Last edited by Dacal; 2013-04-03 at 11:19 AM.


    My themes : Jade HD, Silex HD, BaSalt HD,ToPaz
    All are on Cydia and/or Theme It.
    2013-04-03 09:16 AM
  17. <Ian Nicoll/>'s Avatar
    It works with the free service !

    Replace in location.js :

    var url = 'http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20geo.placefinder%20where% 20text%3D"'+latitude+'%2C'+longitude+'"%20and%20gf lags%3D"R"&format=json&callback='
    $.getJSON(url, function(data) {
    found = data.query.count; // Check if coordinates return a valid localization.
    if ( found == 1) {
    var woeid = data.query.results.Result.woeid;
    city = data.query.results.Result.city;
    neighborhood = data.query.results.Result.neighborhood;
    state = data.query.results.Result.state;

    We've been waiting for you M8!

    I think you've missed something in this Dacal, still no good.
    Last edited by <Ian Nicoll/>; 2013-04-03 at 09:25 AM.
    2013-04-03 09:19 AM
  18. King_O_Hill's Avatar
    We've been waiting for you M8!

    I think you've missed something in this Dacal, still no good.
    Same here!

    Just get: Loading...

    Check out WW3 for iOS 9/10 - Widget-Weather 3.0
    2013-04-03 09:34 AM
  19. shamjosh's Avatar
    Same here Dacal

    Thanks
    2013-04-03 09:35 AM
  20. cuzin's Avatar
    Same,

    Loading...
    2013-04-03 09:36 AM
17,495 ... 311121314152363113513 ...
LINK TO POST COPIED TO CLIPBOARD