Trixology

WeatherCat => WeatherCat Web Templates => Topic started by: saratogaWX on April 29, 2015, 06:29:10 PM

Title: ec-forecast.php V3.02 available
Post by: saratogaWX on April 29, 2015, 06:29:10 PM
Environment Canada changed their website design on 28-Apr-2015 which made the ec-forecast.php V3.01 script only partly functional.

ec-forecast.php V3.02 (29-Apr-2015) is now available:

Standalone: Download from the script page (http://saratoga-weather.org/scripts-ECforecast.php#ECforecast)
V3 Template: Download using the update tool (http://saratoga-weather.org/wxtemplates/updates.php) with a query of Base-Canada, Plugin-*, 29-Apr-2015

This version has a major change in how the Min/Max temperatures are extracted.  Prior versions would get this information from the raw HTML around the icons.  This proved problematic as the Min temperatures were placed 'between' day icons, so didn't properly align with a specific day/night forecast icon in the extract.
V3.02 fixes this issue by extracting the temperature forecast from the detailed forecast text.

Best regards,
Ken