Weather Forecast
Jens Porup
jens at cyber.com.au
Sun Sep 15 21:00:13 CDT 2002
Thanks for that, Rick.
Someone here at work just poked me and showed me a much better
way of doing this (with a three line shell script, no less. (ouch)).
Anyway, the main point was to teach myself how to use LWP
and HTML::TokeParser. which I did. So anyway...
Cheers. Jens
On Mon, Sep 16, 2002 at 11:50:41AM +1000, Rick Measham wrote:
> G'day Jens,
>
> The BOM's page titles are static despite the look of the URL. The
> precis forecast will always be at
> http://www.bom.gov.au/cgi-bin/wrap_fwo.pl?IDV10420.txt thus you could
> get rid of your first call to the index page.
>
> Their perl script merely reads a text file from their file server and
> wraps some HTML around it. 'IDV10420.txt' is the file that contains
> Melbourne's precis forecast.
>
> Cheers!
> Rick Measham
More information about the Melbourne-pm
mailing list