Weather Display Live for the iPhone and Android

I will make an override in the settings file for the station name; otherwise, just try a shorter name till it fits :).
For abbr, i’d like a language-independent designation. Ideas are welcome.

Sietse

Hi Sietse

Got the newest version working - its sooo cool. Great work!

I have made some changes to the Danish language file - attached here (renamed to .txt)

Thanks.

Best regards,

Henrik


iwdl_lang_dk.txt (7.08 KB)

A possibility to override will be fine. I know that I can shorten the name, but I would like to keep it as it is for use on regular Internet pages.

I have no suggestion there, but if you don’t find one, I hope that you will include it in the language file.

Great app that i downloaded today.
However got a problem with the map as it shows the wrong location.

www.sheffieldweather.co.uk/eso2/index2

I’m in sheffield not Nottingham any ideas ??

That is wat Google tells me…
I am planning on making an override in the settings file.

Sietse

Sietse,

I too like the idea of a “Weather Station Location” override in settings… We live in Lake Mary, FL; however Google shows it to be Sanford, FL.
http://www.lakemaryweather.com/iwdl

How’s it going with automatic swap for “Wind Chill” to “Heat Index” (cr_fieldnames[112] with cr_fieldnames[ 44]), and fixing the “abbr” values on Wind Direction Graphs?

It’s starting to finally warm up here in Florida and I might not be able to test for you if it gets above 17 degrees C :lol:

Have you given any thought to adding a Radar screen?
I would recommend it be based on WU (WeatherUnderground) and an option in settings?

Really nice! Thanks for sharing. Would love to be able to have local and regional radar and NWS forecast.

I’ve got forecast working based on yr.no xml files. It was not easy, but it works in development.
Next release will contain this, with station/location overrides.

Not sure about radar, unless there is a world wide service I can use, I am trying to keep the app generic.

Sietse

Hi Sietse

Would it be possible to implement WXSIM forecast (plaintext-parser.php) - see here:

English: http://www.silkeborg-vejret.dk/vejrudsigt/plaintext-parser.php?lang=en
Danish: http://www.silkeborg-vejret.dk/vejrudsigt/plaintext-parser.php?lang=dk

On my mobile page - I presents the icons from plaintext-parser:
http://mobil.silkeborg-vejret.dk/vejrudsigt.php

Best regards,

Henrik

I will support yr.no as a general forecast.
My goal is still to make the software such that it only needs static pages on the server - no php, asp or whatever required.

To support local weather forecasts, I will make an option to replace the yr.no forecast with your own forecast page.

Sietse

Hi,

Version 0.8 is available. Changes:

  • forecasts (by yr.no or specify your own url)
  • station name / location override
  • radar support (you will have to provide a url)
  • webcam support (you will have to provide a url)
  • a bit of color

Check out the demo at http://sietse.net/iwdl-demo
Download: http://sietse.net/iwdl-latest.tar.gz

Especially, forecasts by yr.no was very hard. It is not possible to directly load a file from a remote site, so I had to do some trickery including JSONP and Yahoo YQL. But it works - still no php or asp required.

A lot of settings have been added; if you are upgrading to make sure to include the following settings into your current iwdl_settings.js (of course with your configuration):


// Station name override; iWDL normally uses the station name from the clientraw.txt.
// In case you want another name to show up in the top bar, remove // in the following line:
// settings["station_name"] = "Utrecht";

// Location name override; iWDL normally uses the coordinates from clientraw.txt.
// In case you want another location to show up in the map screen, remove // in the following line:
// settings["location"] = "Utrecht, NL";

// Forecast; possible types:
// yr.no   -- get forecast from yr.no
// url     -- provide your own forecast
settings["forecast"] = "yr.no";

// Where to get the forecast; go to http://yr.no, find the forecast for your location
// and fill in the last part of the url like below (country/county/city).
settings["yr.no"] = "Nederland/Utrecht/Utrecht";

// When 'forcast' set to 'url', fill in the url (it will be shown in an iframe).
// NOTE: You are responsible for a readable iphone page!
// The forecast_from field is shown at the bottom of the forecast screen
settings["forecast_url"] = "http://mobil.silkeborg-vejret.dk/vejrudsigt.php";
settings["forecast_from"] = "Silkeborg";

// If you have radar data, uncomment and set the url in the next line; it is shown in an iframe
// settings["radar"] = "http://buienradar.mobi/";

// If you have a webcam, uncomment and set  the url the next line; it is shown in an iframe
// settings["webcam"] = "http://yoursite.com/webcam.html";

You are advised not to overwrite your current iWDL, but test it somewhere else; then upgrade.
In case of problems, I am sure you will let me know.

Enjoy!

Sietse

Hi Sietse

WOW - so many new features. I have it installed and running without any problems here:

www.silkeborg-vejret.dk/iphone/

Thank you very much.

Best regards,

Henrik

Looks very nice Sietse, 8)
Here is an updated language file with the new items/fatures translated (to Swedish)

Thanks
/Labbs


iwdl_lang_se.js.txt (7.36 KB)

Hi again

Ups forgot to attached my updated Danish language file

Best regards,

Henrik


iwdl_lang_dk.js.txt (7.27 KB)

Hi Sietse,

thank you for new version! I only have one problem with Forecast. - It’s something with using diacritical letters in location name.
For instance, this address works on iPhone fine (I’m getting forecast):
http://www.yr.no/place/Czech_Republic/Moravia-Silesia/Opava/
But this address is not working on iPhone:
[url=http://www.yr.no/place/Czech_Republic/Moravia-Silesia/Brunt

Hi Sietse,

This is really great! :smiley: I have it up and running (with radar and web cam) here:

www.runarweb.com/iwdl

I have only one question: As you see the web cam picture is a little large. Is it anything to do with that without reducing the size of the original picture (I know that I can scroll)?

I have a new complete Norwegian language file here:


iwdl_lang_no.js.txt (7.63 KB)

[quote author=vit_kopacek link=topic=43872.msg357324#msg357324 date=1263555504]
Maybe the problem with station name Brunt

I think you will have to setup a special page on your site for the iphone (or smartphone in general) with a smaller picture.
The radar and webcam are loaded in an iframe, iwdl cannot control contents in the iframe, you will have to make sure to serve it suitable content.

Sietse

[quote author=vogon1 link=topic=43872.msg357328#msg357328 date=1263560406]
Please try replacing in iwdl_settings.js the

Thanks Sietse for your quick support and the latest version. I have the radar, webcam and forecast up and running at
http://gavinf.no-ip.com/~Gavin/iwdl/#home
Regards
Gavin