Ticket #9657 (closed Patch - Bug Fix: fixed)
Opened 2 years ago
Last modified 2 years ago
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
Change History
Changed 2 years ago by vitaminjoe@…
- Attachment 9657-ticket.patch added
comment:2 Changed 2 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 2 years ago by Joe Ripley
- Status changed from assigned to closed
- Resolution set to fixed
- Milestone changed from unknown to 0.25
Change ENVCAN parser to use ° 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 2 years ago by Joe Ripley
- Milestone changed from 0.25 to 0.24.1
Change ENVCAN parser to use ° 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

Patch to fix ENVCANParser.pm