CC: | tim [...] gimmel.org |
Subject: | Weather::NWS::NDFDgen URL change needed |
In module Weather::NWS::NDFDget the url needs to be updated and new param added. Here is patch:
--- NDFDgen.pm.orig 2013-12-01 19:58:37.000000000 -0600
+++ NDFDgen.pm 2013-12-01 21:15:27.000000000 -0600
@@ -603,7 +603,7 @@
}
my $url =
-'http://www.weather.gov/forecasts/xml/sample_products/browser_interface/ndfdXMLclient.php?';
+'http://graphical.weather.gov/xml/SOAP_server/ndfdXMLclient.php?whichClient=NDFDgen';
$url .= '&lat=' . $latitude;
$url .= '&lon=' . $longitude;
$url .= '&product=' . $NAME_TO_PRODUCT{$product};
@@ -617,7 +617,7 @@
. $NAME_TO_WEATHER_PARAMETER{$param};
}
}
-
+ $url .= '&Submit=Submit';
$forecast_xml{$ident} = get $url;
return $forecast_xml{$ident};
Respectfully,
Tim