]> git.mxchange.org Git - friendica-addons.git/commitdiff
added wind data
authortony baldwin <tony@tonybaldwin.org>
Mon, 11 Feb 2013 22:10:37 +0000 (17:10 -0500)
committertony baldwin <tony@tonybaldwin.org>
Mon, 11 Feb 2013 22:10:37 +0000 (17:10 -0500)
curweather.tgz
curweather/curweather.php

index ce8b12be28365b92e7f8a0b2825bd9d0fb8e7c32..76e0646c896c592bdd895eeba7ea3c06cc46069e 100644 (file)
Binary files a/curweather.tgz and b/curweather.tgz differ
index 77f3bf8008b3464bac2e4ce498b254deb17794de..c935eb577774c2f5c3ca0ede271115f615b75f3e 100644 (file)
@@ -40,6 +40,7 @@ function curweather_network_mod_init(&$fk_app,&$b) {
     $weather = $wxdata['WEATHER'];
     $rhumid = $wxdata['RELATIVE_HUMIDITY'];
     $pressure = $wxdata['PRESSURE_STRING'];
+    $wind = $wxdata['WIND_STRING'];
     $curweather = '<div id="curweather-network" class="widget">
                 <div class="title tool">
                 <h4>'.t("Current Weather").'</h4></div>';
@@ -47,7 +48,8 @@ function curweather_network_mod_init(&$fk_app,&$b) {
     $curweather .= "Weather: $weather<br />
                  Temperature: $temp<br />
                 Relative Humidity: $rhumid<br />
-                Pressure: $pressure";
+                Pressure: $pressure<br />
+                Wind: $wind";
 
     $curweather .= '</div><div class="clear"></div>';