Weather Display Live for the iPhone and Android

My iWDL is working fine, both with the clientraw.txt and the webcam image. On two separate WD setups

http://gudmundsbyn.se/iwdl/

http://vildafisken.com/iwdl/

One of the things I notice is that many times I load up on my iPhone and the information shown is days old like its reading from the cache. I do a refresh yet still get the old forecast.

Is there is way to force it to refresh?

http://weather.satelliteguys.us/iwdl/

Whenever I use iWDL I get a bunch of error messages in the Apache log of missing .png files like so:



[Sat Aug 10 18:17:40 2013] [error] [client  ] File does not exist: /public_html/storumanvader.se/apple-touch-icon.png
[Sat Aug 10 18:17:40 2013] [error] [client  ] File does not exist: /public_html/storumanvader.se/apple-touch-icon-precomposed.png
[Sat Aug 10 18:17:40 2013] [error] [client  ] File does not exist: /public_html/storumanvader.se/apple-touch-icon-114x114.png
[Sat Aug 10 18:17:40 2013] [error] [client  ] File does not exist: /public_html/storumanvader.se/apple-touch-icon-114x114-precomposed.png
[Sat Aug 10 18:17:40 2013] [error] [client  ] File does not exist: /public_html/storumanvader.se/apple-touch-icon.png
[Sat Aug 10 18:17:39 2013] [error] [client  ] File does not exist: /public_html/storumanvader.se/apple-touch-icon-precomposed.png
[Sat Aug 10 18:17:39 2013] [error] [client  ] File does not exist: /public_html/storumanvader.se/apple-touch-icon-114x114.png
[Sat Aug 10 18:17:39 2013] [error] [client  ] File does not exist: /public_html/storumanvader.se/apple-touch-icon-114x114-precomposed.png


The images seem to be called from all.min.js. After googling the names I found that they seem to be for when you’ve added it to the home screen, and are supposed to be local to the phone.
Yet it still looks like the script tries to find them on the server and fails?

Not a huge problem but I’ve been a bit bothered by the errors and now decided to find out where they come from. :slight_smile:

/Chris

Two issues:

  • webcam image and radar image are too little and has border bar. Not good. I removed px dimension in iwdl.js but nothing happened. Where to change?
    All the world likes this image format ? (attach 1)
  • second issue: could be useful to stop the back button on top of the page. When scrolling a page must be back on top to go back and that not useful

regards to all


Bringing this thread back from the dead!

So anyone see their iwdl site using chrome on the iPhone/iPad?
Works fine on safari, but chrome just displays the background colour and that’s it.

J

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