[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SLUG] Extracting Weather text out of a web page - Newbie Question



On Sat, Jul 01, 2000 at 02:19:00PM +1000, Jeff Waugh uttered:

> Better solution: Go to *their* source! (well, likely source)
> 
> http://weather.noaa.gov/

These sources aren't particularly reliable.  They're used for the
Windowmaker dock app wmweather which I use.  Polling frequently fails
and the weather is only available from airports, in this case I use
Kingsford Smith which is code YSSY.  Considering its location I think
you'll find the temperatures are quite different from the rest of the
city -- colder when it's windy off-shore and hotter when it's cold in
the shade.

(and I'm still trying to work out what dew-point means)

Better to parse something like:
http://www.bom.gov.au/cgi-bin/wrap_fwo.pl?IDF00N00.txt

(I wish they'd use some sort of easily parsed format like XML for such
stuff grrrr.  I think they actually do somewhere on their site but it's 
a pay service.)

-- 
Rev Simon Rumble          Opinions expressed in this email may
simon@nospam.rumble.net          not reflect those of the host brain.
http://www.rumble.net  
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text