forecast.cgi

forecast.cgi - cgi app to allow local US weather forecast lookups
Download

forecast.cgi Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Davtri
  • Publisher web site:
  • http://www.davtri.com/index.py/freeware
  • Operating Systems:
  • Mac OS X 10.3 or later
  • File Size:
  • 9 KB

forecast.cgi Tags


forecast.cgi Description

forecast.cgi - cgi app to allow local US weather forecast lookups 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 in This Release:· 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 Related Software