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
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.
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
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.