Weather Display Live for the iPhone and Android

ok, so found out the reason why nothing loading on IOS chrome is due to the deprecation of windows.opendatabase which is used to control the display measurement units

so… if you want to share your page and have it display, say on facebooks built in browser when trying to share a link and also on google then you’ll need to get around this.
you need to open the iwdl.js and scroll right to the bottom.

around line 1945 you’ll see

 if (window.openDatabase) {
            // Open database

            jQT.dbOpen("iwdl", "1.0", "Settings", 5000);
            jQT.dbCreateTables({ "createTables" : [ { "table": "settings", "property": [ {"name": "setting", "type": "text"},
                                                                                         {"name": "value", "type": "text" } ] } ] } );
           jQT.dbSelectAll("settings", function(result) {
                for (var i = 0; i < result.rows.length; i++) {
                    var row = result.rows.item(i);
                    settings[row['setting']] = row['value'];
                }
                finishStartup();
            });
        } else {
            finishStartup();
        }

change it to

try{
      if (window.openDatabase) {
            // Open database

            jQT.dbOpen("iwdl", "1.0", "Settings", 5000);
            jQT.dbCreateTables({ "createTables" : [ { "table": "settings", "property": [ {"name": "setting", "type": "text"},
                                                                                         {"name": "value", "type": "text" } ] } ] } );
           jQT.dbSelectAll("settings", function(result) {
                for (var i = 0; i < result.rows.length; i++) {
                    var row = result.rows.item(i);
                    settings[row['setting']] = row['value'];
                }
                finishStartup();
            });
        } else {
            finishStartup();
        }

 } catch(err) {
 finishStartup();
       }

this will then catch the error if one occurs and continues to display the data using the default measurement units.

Hope this heps others

Hi,

Still using iWDL.
As of lately the forecast isn’t loading anymore.
I have checked if this was the case also with other users using iWDL and none of them are loading too.

Anyone knows what the problem is here.

TIA

The problem is the Yahoo service rendering the table from yr’s xml in iWDL has retired. Have not tried to the new one but it might work again if you register en change the link in iwdl.js

Important EOL Notice: As of Thursday, Jan. 3, 2019, the YQL service at query.yahooapis.com will be retired. This will impact users of datatables.org as well as developers who creates features using this YQL service. To continue using our free Yahoo Weather APIs, use https://weather-ydn-yql.media.yahoo.com/forecastrss. Follow instructions here to get credentials and onboard to this free Yahoo Weather API service.

I love IWDL and would really like to have the forecast working.
But i dont have the skills to solve this by myself.

Hello I registered with yahoo, unfortunately I do not know how to continue.
My english is not that good.
what do I have to do?

Thank you

FYI

Got an email from Sietse, the developer, last week saying he is going to fix this.
At the moment, he is busy and can’t find the time to do this yet.
So we all have to be patient.

Thanks for the information

Hello
give it something new, someone has already repaired.

cu. Kalli

Hello there is something new.
or has it already gotten one.
Thank you

Gibt es schon was neues… ???

I am also interested in progress :smiley:

Ich glaube da kommt nix mehr…

Hallo

ich habe festgestellt das IWDL wohl geht. https://www.sietse.net/iwdl/#home

warum gibt er nicht bescheit was wir

Probably working on it but not a finished product yet.
Yes, it takes a long time but be patient, it will come in time.

Dann lass ich mich mal

Hallo

braucht noch jemand das IWDL ??
ich hab da eine php Datei für , damit das wieder geht.

Toll :smiley:

Yes, would be great if you would like to share the php file.
I know at least one person who really would like the forecast working again.
How exactely does it work?

Hallo
so wirds gemacht.

Please find attached a tgz with two files: yrno.php and iwdl.js.
From iwdl.js the yrno.php is called; it is expected in the.same directory.
If this is not true, you will have to edit iwdl.js, search for yrno.php and
add the correct path.

http://wetteruerdingen.de/attachment.php?attachmentid=44

Danke,

Konnte yrno.zip nicht herunterladen weil ich nicht registriert wäre.
Hab das mal gemacht.

Sorry
ich weiß leider nicht wie ich hier eine Datei anhängen kann.