[mythtv-commits] Ticket #3811: Add Environment Canada weather grabber for Canadian locations
MythTV
mythtv at cvs.mythtv.org
Fri Aug 10 00:15:15 UTC 2007
#3811: Add Environment Canada weather grabber for Canadian locations
-------------------------+--------------------------------------------------
Reporter: anonymous | Owner: ldunning
Type: enhancement | Status: new
Priority: minor | Milestone: unknown
Component: mythweather | Version: head
Severity: medium | Mlocked: 0
-------------------------+--------------------------------------------------
This is an enhancement to MythWeather in the form of a new grabber script.
This script allows MythWeather to report on Canadian cities. Data is
retrieved from Environment Canada ([http://www.weatheroffice.gc.ca/]).
The enhancement includes the following files:
{{{
envcan.pl
ENVCAN-Stations.xml
ENVCANParser.pm
ENVCANLocation.pm
ENVCAN_icons
}}}
All files should be copied into the
<prefix>/share/mythtv/mythweather/scripts directory.
envcan.pl MUST be marked as executable. It is the script called to
actually download the weather data. There are notes for each file
included in the PERL comments.
The code is by no means perfect, but it does work. Comments on improving
it are welcome.
Thanks!
--
Joe Ripley
vitaminjoe at gmail.com
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3811>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list