Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#9657 closed Patch - Bug Fix (fixed)

Update ENVCANParser.pm due to Environment Canada Changes

Reported by: vitaminjoe@… Owned by: beirdo
Priority: minor Milestone: 0.24.1
Component: Plugin - MythWeather Version: Master Head
Severity: low Keywords: mythweather, envcan, parser
Cc: Ticket locked: no

Description

Environment Canada changed their RSS feeds today in regards to current Temperature and Dewpoint.

They used to report these temperatures using ASCII octal code 260. They now use proper HTML:

°

The attached patch fixes the parser to accommodate this change.

Attachments (1)

9657-ticket.patch (1.5 KB) - added by vitaminjoe@… 13 years ago.
Patch to fix ENVCANParser.pm

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by vitaminjoe@…

Attachment: 9657-ticket.patch added

Patch to fix ENVCANParser.pm

comment:1 Changed 13 years ago by Nicolas Riendeau

Status: newassigned

comment:2 Changed 13 years ago by Joe Ripley <vitaminjoe@…>

Please note that this script has not been modified since 2008... so this fix can most likely be safely back-ported to the various -fixes branches as well.

Thanks!

-- Joe Ripley vitaminjoe@…

comment:3 Changed 13 years ago by Joe Ripley

Milestone: unknown0.25
Resolution: fixed
Status: assignedclosed

Change ENVCAN parser to use &deg; rather than \260

Fixes #9657

Seems Environment Canada changed their data format for reporting temperatures.

Signed-off-by: Gavin Hurlbut <ghurlbut@…>

Changeset: c68c7aed28d2c4e382bc1f36a6cf66d59ca4a2e7

comment:4 Changed 13 years ago by Joe Ripley

Milestone: 0.250.24.1

Change ENVCAN parser to use &deg; rather than \260

Fixes #9657

Seems Environment Canada changed their data format for reporting temperatures.

Signed-off-by: Gavin Hurlbut <ghurlbut@…> (cherry picked from commit c68c7aed28d2c4e382bc1f36a6cf66d59ca4a2e7)

Changeset: 40fc4546aee84c8efd2c1e0af837c934cb376512

Note: See TracTickets for help on using tickets.