Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

RE: OPPS - Grab weather from yahoo (2)

by KM (Priest)
on May 24, 2000 at 21:01 UTC ( [id://14603]=note: print w/replies, xml ) Need Help??


in reply to OPPS - Grab weather from yahoo (2)

Please see http://search.cpan.org/search?mode=module&query=Weather.

Cheers,
KM

Replies are listed 'Best First'.
RE: RE: OPPS - Grab weather from yahoo (2)
by cei (Monk) on May 28, 2000 at 00:56 UTC
    I used one of the CPAN weather grabbers with mixed results.

    Often the ports would time out when I used the module as written.

    My solution was to dupe the .pm and localize it to pull only from the Los Angeles NOAA station instead of the central/national one. This one had a lot less traffic, and I haven't seen any lost results since I made the switch.

    In case anyone is interested, I modified Geo::WeatherNOAA as Geo::LAWeatherNOAA.
    In the subroutine get_city_zone I changed my $URL = $URL_BASE . lc $state . '/zone.html'; to my $URL = 'http://www.nwsla.noaa.gov/zones/LAXZFPLOX'; and that took care of just about everything.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://14603]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-19 11:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found