get_weather_ca update

Another get_weather_ca update for misterhouse. Environment Canada reformatted their text-only web page again:

* they changed a bunch of ULs to DLs.
* They re-ordered the sections on the page (messing up the forecast finder).
* they added spaces _before_ all of the colons.

I also added a “[Read,Show] weather forecast” to my code/weather_ec.pl code, and fixed a minor bug in the dewpoint calculator. Of course, that code only gets triggered when something is broken these days, because EC now publishes the dew point as part of the data.

The patch is against 2.78; I haven’t upgraded to 2.79 yet. (It figures that as soon as 2.79 was released, my code would be obsoleted again :-)

You can download:

* “patch against misterhouse 2.78”:http://www.cfrq.net/~chk/misterhouse/2.78/get_weather_ca.patch
* “weather_ca.tar.gz”:http://www.cfrq.net/~chk/misterhouse/2.78/weather_ca.tar.gz
* “weather_ca.zip”:http://www.cfrq.net/~chk/misterhouse/2.78/weather_ca.zip

posted at 10:01 am on Monday, March 10, 2003 in Programming | Comments Off on get_weather_ca update

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.