Author Topic: PHP for Environment Canada forecasts - broken (Fixed in V2.00)  (Read 7013 times)

0 Members and 1 Guest are viewing this topic.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
PHP for Environment Canada forecasts - broken (Fixed in V2.00)
« on: January 23, 2008, 01:06:26 PM »
The Environment Canada website has updated their forecast page format overnight, and now the ec-forecast.php script is broken.

I'll be making the needed changes to the script and hope to have a fixed version released today.

The ec-radar.php script is still working fine.

Best regards,
Ken
« Last Edit: January 24, 2008, 12:22:12 PM by saratogaWX »
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: PHP for Environment Canada forecasts - broken (Fixed in V2.00)
« Reply #1 on: January 24, 2008, 12:22:56 PM »
Ok.. It's all fixed now with a major rewrite of the ec-forecast.php script, and a new set of icons.

Please download from http://saratoga-weather.org/scripts-ECforecast.php#ECforecast and I recommend
you use the .ZIP file as it has a new set of icons in it.  If you want to continue using your existing icons, the
new script works fine with them too.

Send me your location (city/town, province) and website URL for your weather website and I'll add a link
on my scripts page to your website.  Let me know if you're using the ec-radar script too. :-)

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: PHP for Environment Canada forecasts - broken (Fixed in V2.00)
« Reply #2 on: January 26, 2008, 04:33:33 PM »
I've done a slight rev of the ec-forecast.php script to V2.01 to support a (newly-discovered for me) condition reported by the EC as 'Air Quality Health Index' (and the French 'Cote air santé').  The script was modified to support this display where the EC includes it on their forecast page.
Only the script is updated.
http://saratoga-weather.org/scripts-ECforecast.php#ECforecast

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP