Index of /tcl/ftparchive/sorted/packages-8.0/apps/TKWeather/1.0
Name Last modified Size Description
Parent Directory 16-Nov-99 18:24 -
README 24-Aug-99 17:01 2k
TKWeather.tar.gz 24-Aug-99 17:07 6k
TKWeather/ 16-Nov-99 18:24 -
TKWeather
---------
TKWeather - halbert@emc.com
The latest version can be found at http://www.neosoft.com/tcl
PURPOSE:
TKWeather was inspired by tkWeather (by sk8ball@qx.net) a front end to the
ASCII perl scripts weather.pl and forcast.pl (by spline@linuxwarez.com).
Since we had tcl/tk and an http module why involve perl. Lets make it 100%
TCL/TK and really make it GUI.
TKWeather is an app that retrieves the current weather conditions and the
five day forcast from www.weather.com. It is currently configured for the
US only.
TKWeather is graphical. It finds what images weather.com is impeding in
the reports and it fetches these also. By the use of canvases they are
used to display the five day forcast with over lying text for day and
temperature range and label descriptor of the image. The current weather
conditions are in a scrolling canvas below the five day forcast. There is
a control for varying the scroll rate if desired. The idea was to minimize
the window footprint. The active scrolling has a negligible impact on cpu
load. Only when updating does it use any notable cpu time.
The control panel can be closed once a report has been requested or is
displayed. To get back the control panel just single click within the
currently displayed forcast.
To run it all you need is a "wish" in your default search path.
You can either fetch the weather for a combination of city and state or by
zip code. The last input field will select which one is being retrieved
when the get button is selected.
The app is set to refresh every 15 minutes. The same rate as weather.com
updates there information.
NOTE:
If weather.com changes it page format the parser will need attention.
It also uses a temp file in /tmp to down load the images into before
importing them. Once it is imported the file is deleted. If there was
a way to get image to read from a variable binary data or convert it to
mime on the fly it would not need the temp file.
WISHLIST:
Direct conversion of gif to image.
World support.
Local radar image retrival.
May be a small foot print still.