diff options
author | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-12-04 19:20:55 +0100 |
---|---|---|
committer | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-12-04 19:20:55 +0100 |
commit | 40c3f760fe92315b5c912d0613590c7fb66b368c (patch) | |
tree | d474e41589a352b5a493a64e63c2097c91bfb2c7 /widgets/weather | |
parent | 450f5ebe7c6d832d72f82fe725c4ce1183f99f61 (diff) | |
download | skin-flatplus-40c3f760fe92315b5c912d0613590c7fb66b368c.tar.gz skin-flatplus-40c3f760fe92315b5c912d0613590c7fb66b368c.tar.bz2 |
update readme, GetLatLangFromCity.php
Diffstat (limited to 'widgets/weather')
-rw-r--r-- | widgets/weather/GetLatLangFromCity.php | 2 | ||||
-rw-r--r-- | widgets/weather/README | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/widgets/weather/GetLatLangFromCity.php b/widgets/weather/GetLatLangFromCity.php index 1ca7d1e3..7a76f90c 100644 --- a/widgets/weather/GetLatLangFromCity.php +++ b/widgets/weather/GetLatLangFromCity.php @@ -20,6 +20,8 @@ $longitude = $data['results'][0]['geometry']['location']['lng']; echo "Latitude = ".$latitude."\n"; echo "Longitude = ".$longitude."\n"; +echo "LocationSkin = ".$city."\n"; + echo "put these values in update_weather.config\n"; ?> diff --git a/widgets/weather/README b/widgets/weather/README index af7f985e..f44aff18 100644 --- a/widgets/weather/README +++ b/widgets/weather/README @@ -8,6 +8,6 @@ You need php5 with command line support for this widget. For example in Ubuntu y Please move update_weather.config to update_weather.config.sample -mv update_weather.config.sample update_weather.config +cp update_weather.config.sample update_weather.config Configure your location and others in update_weather.config. Use php-script "GetLatLangFromCity.php" to get latitude & longitude from your location. |