forecast.cgi 1.1 review

Download
by rbytes.net on

forecast.

License: Freeware
OS: Mac OS X
File size: 9K
Developer: Davtri
Price: $0.00
Updated: 16 Jun 2006
0 stars award from rbytes.net


forecast.cgi is a cgi weather forecast fetching implementation written in Python. It utilizes the weather.py module as well as the excellent qp_xml module (written by Greg Stein), both of which are available on the Python page at www.davtri.com. The cgi can be dropped in to anywhere that will allow cgi scripts to run. You also need to have the two above mentioned modules either in the same directory or somewhere on the PYTHONPATH. The usage is pretty much self explanator. The CGI script allows you to get the current conditions, today's forecast, tomorrow's forecast, a three day forecast and a five day forecast.

The output from the module is valid xhtml 1.0 strict and it automatically includes a stylesheet called davtrimain.css. The name of the stylesheet can be changed at the top of the file, however, as it is contained in a variable, as is the name and location of the favicon and the copyright statement.

socketScanner and socketScannerP22 both work the same. The only difference is the name of the module you import. The socketScannerP22 file is a modified version of socketScanner that utilizes the timeoutsocket.py module by Timothy O'Malley to enable socket timeouts.

What's New:
The template for the form gave port scanning instructions. This was actually something I missed changing when taking this template from the portScan.cgi program.
The program has been updated to give instructions for entering the correct zip code and not ports to be scanned. Otherwise, all is as it was.

Requirements:
Web server with a cgi-bin or cgi execute permissions
Python.

forecast.cgi 1.1 search tags