summaryrefslogtreecommitdiff
path: root/widgets/weather
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/weather')
-rw-r--r--widgets/weather/GetLatLangFromCity.php2
-rw-r--r--widgets/weather/README2
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.