I have created a web application for the iPhone and Android. The application has the look and feel of a native iPhone program and displays the contents of the clientraw files in text and in graphs.
The best experience is on an iPhone or iPod.
Android works equally well, but I am not sure whether the application can be run from the springboard.
If you have created a translation, I will happily incorporate it in iWDL; currently supported: cz dk de el en fi fr hu it nl no pt se sp
Installation:
download the latest file
unpack on your website, it will unpack in a directory called iwdl
in that directory, rename iwdl_settings.js.sample to iwdl_settings.js
[li]edit iwdl_settings.js and at least change the setting for “clientraw_dir” - set it to the directory where the clientraw files reside.
Please note, it is the directory you would have to type into your browser to view the clientraw.txt file. For example, assume the clientraw.txt can be found here: http://sietse.net/wdl2/clientraw.txt
Then the directory part is /wdl2 and that should be put in the setting for “clientraw_dir”.
Also note that clientraw_dir cannot be empty; if you want it to be the current directory, than use e.g. “.”.[/li]
Wind Direction is fixed (and fyi my Map now works); however when you pull up the Wind Direction graphs it still shows degrees and not “abbr” values.
Your support is awesome!!!
Suggestion for the future development:
As Julian has in WDL when temp is below 17 degrees C (approx 62.6 degrees F) “Heat Index” swaps with “Wind Chill” (and it’s a setting that can be turn on and off “1”). As I live in Florida and we normally don’t have a Wind Chill, other than these last few weeks. It wold be great if you could just do an “if” using the current temp to display either “Wind Chill” or “Heat Index” field and value.
Hi,
why is it a picture at startup (see attached picture)?
I changed the name of the file, which it says that you should do.
Clicking “OK” in the picture, then starts all right.
What am I doing wrong?
Here is my iwdl http://www.stenestad-vader.com/iwdl/index.html
Thanks for your help,
tested with. / as you mentioned - did not work.
When I tried to … / so it worked as it should.
(I have my clientraw file in the root directory, so where was the error).
Both items are on the to-do list.
Also, I will work on forecasts (most likely using yr.no xml), and work on daily/monthly/yearly/alltime records (clientrawextra fields).
I posted a couple of questions in the old thread before yoy switched to this. I’m not sure if you noticed it before you switched, therefore I post it again. Hope that’s OK?
You have started using the station name as a header to the screens. Mine seems to be to long. What is the maximum length? You can check it at iWDL
In the Setup-screen you use “abbr” for one of the choises. Would it be possible for you to put that in the language file for a future version?
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.
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?
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.
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.
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.