Thread: [Phphtmllib-devel] SF.net SVN: phphtmllib:[3409] trunk/open2300/lib/modules/home/widgets/ RemoteMet
Status: Beta
Brought to you by:
hemna
From: <he...@us...> - 2010-03-03 17:13:39
|
Revision: 3409 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3409&view=rev Author: hemna Date: 2010-03-03 17:13:33 +0000 (Wed, 03 Mar 2010) Log Message: ----------- oops Modified Paths: -------------- trunk/open2300/lib/modules/home/widgets/RemoteMetarConditions.inc Modified: trunk/open2300/lib/modules/home/widgets/RemoteMetarConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/RemoteMetarConditions.inc 2010-03-03 16:59:55 UTC (rev 3408) +++ trunk/open2300/lib/modules/home/widgets/RemoteMetarConditions.inc 2010-03-03 17:13:33 UTC (rev 3409) @@ -138,7 +138,6 @@ private function get_banner_filename($season, $clouds, $rain, $offset=null) { - return null; $tod = $this->get_time_of_day($offset); //echo (var_export($tod, true)."\n"); $filename = "/images/banners/".$season."/".$tod."_"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2010-03-03 19:24:06
|
Revision: 3416 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3416&view=rev Author: hemna Date: 2010-03-03 19:24:00 +0000 (Wed, 03 Mar 2010) Log Message: ----------- removed calltime pass by ref Modified Paths: -------------- trunk/open2300/lib/modules/home/widgets/RemoteMetarConditions.inc Modified: trunk/open2300/lib/modules/home/widgets/RemoteMetarConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/RemoteMetarConditions.inc 2010-03-03 19:20:37 UTC (rev 3415) +++ trunk/open2300/lib/modules/home/widgets/RemoteMetarConditions.inc 2010-03-03 19:24:00 UTC (rev 3416) @@ -70,7 +70,7 @@ $conditions["clouds"] = $clouds; $rained = $this->has_rained(); $conditions["rained"] = $rained; - $conditions = $this->get_banner_filename(&$conditions, $rained); + $conditions = $this->get_banner_filename($conditions, $rained); return $conditions; //return $metar; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2010-03-03 19:27:46
|
Revision: 3418 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3418&view=rev Author: hemna Date: 2010-03-03 19:27:40 +0000 (Wed, 03 Mar 2010) Log Message: ----------- added full url to image Modified Paths: -------------- trunk/open2300/lib/modules/home/widgets/RemoteMetarConditions.inc Modified: trunk/open2300/lib/modules/home/widgets/RemoteMetarConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/RemoteMetarConditions.inc 2010-03-03 19:26:17 UTC (rev 3417) +++ trunk/open2300/lib/modules/home/widgets/RemoteMetarConditions.inc 2010-03-03 19:27:40 UTC (rev 3418) @@ -150,7 +150,7 @@ $filename .= $clouds.".jpg"; } - $conditions["filename"] = $filename; + $conditions["filename"] = "http://".$GLOBALS["config"]->get("sitename").$filename; if (file_exists($GLOBALS['path_base']."/htdocs".$filename)) { $conditions["banner"] = "yes"; } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2010-03-03 23:04:56
|
Revision: 3425 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3425&view=rev Author: hemna Date: 2010-03-03 23:04:50 +0000 (Wed, 03 Mar 2010) Log Message: ----------- try placerville Modified Paths: -------------- trunk/open2300/lib/modules/home/widgets/RemoteMetarConditions.inc Modified: trunk/open2300/lib/modules/home/widgets/RemoteMetarConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/RemoteMetarConditions.inc 2010-03-03 22:16:48 UTC (rev 3424) +++ trunk/open2300/lib/modules/home/widgets/RemoteMetarConditions.inc 2010-03-03 23:04:50 UTC (rev 3425) @@ -36,7 +36,7 @@ const ID = "rmetar"; - protected $url="http://api.itimeteo.com/metar.ims?icao=kaun&format=json&decoded=true"; + protected $url="http://api.itimeteo.com/metar.ims?icao=kpvf&format=json&decoded=true"; /** * Class Constructor @@ -65,6 +65,7 @@ //Log::singleton()->debug(var_export($metar, true)); $conditions = array(); + $conditions["metar"] = $metar->Metar->Report; $conditions["season"] = $GLOBALS["config"]->get("season"); $clouds = $this->decode_clouds($metar->Metar->DecodeLine0->Clouds); $conditions["clouds"] = $clouds; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2010-04-18 17:11:14
|
Revision: 3437 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3437&view=rev Author: hemna Date: 2010-04-18 17:11:08 +0000 (Sun, 18 Apr 2010) Log Message: ----------- fixed url. Looks like they changed it. Modified Paths: -------------- trunk/open2300/lib/modules/home/widgets/RemoteMetarConditions.inc Modified: trunk/open2300/lib/modules/home/widgets/RemoteMetarConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/RemoteMetarConditions.inc 2010-04-13 23:05:47 UTC (rev 3436) +++ trunk/open2300/lib/modules/home/widgets/RemoteMetarConditions.inc 2010-04-18 17:11:08 UTC (rev 3437) @@ -36,7 +36,8 @@ const ID = "rmetar"; - protected $url="http://api.itimeteo.com/metar.ims?icao=kpvf&format=json&decoded=true"; +// protected $url="http://api.itimeteo.com/metar.ims?icao=kpvf&format=json&decoded=true"; + protected $url="http://api.itimeteo.com/getMetar.ims?format=json&icao=kpvf&decoded=true"; /** * Class Constructor This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |