Skip to content

Commit

Permalink
add peterborough to recollect
Browse files Browse the repository at this point in the history
  • Loading branch information
5ila5 committed Oct 23, 2023
1 parent b0a8085 commit 625b7f3
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ Waste collection schedules in the following formats and countries are supported.
- [Calgary, AB](/doc/ics/recollect.md) / calgary.ca
- [City of Edmonton, AB](/doc/ics/recollect.md) / edmonton.ca
- [City of Greater Sudbury, ON](/doc/ics/recollect.md) / greatersudbury.ca
- [City of Peterborough, ON](/doc/ics/recollect.md) / peterborough.ca
- [London (ON)](/doc/source/recyclecoach_com.md) / london.ca
- [Ottawa, Canada](/doc/ics/recollect.md) / ottawa.ca
- [RM of Morris, MB](/doc/ics/recollect.md) / mwmenviro.ca
Expand Down
10 changes: 10 additions & 0 deletions doc/ics/recollect.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,13 @@ waste_collection_schedule:
split_at: '\, (?:and )?|(?: and )'
url: webcal://recollect.a.ssl.fastly.net/api/places/2DC90F42-E8AA-11EB-A726-598C8684B99B/services/397/events.en.ics
```
### Peterborough, ON, Canada
```yaml
waste_collection_schedule:
sources:
- name: ics
args:
split_at: '\, (?:and )?|(?: and )'
url: webcal://recollect.a.ssl.fastly.net/api/places/C0A33242-3365-11EC-A104-84C872B788E8/services/345/events.en.ics?client_id=F81035CA-7177-11EE-A247-E8E188BA1CF3
```
6 changes: 6 additions & 0 deletions doc/ics/yaml/recollect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ extra_info:
- title: RM of Morris, MB
url: https://www.mwmenviro.ca/
country: ca
- title: City of Peterborough, ON
url: https://www.peterborough.ca/
country: ca
howto: |
- To get the URL, search your address in the recollect form of your home town.
- Click "Get a calendar", then "Add to Google Calendar".
Expand Down Expand Up @@ -69,3 +72,6 @@ test_cases:
Morris, MB, Canada:
url: "webcal://recollect.a.ssl.fastly.net/api/places/2DC90F42-E8AA-11EB-A726-598C8684B99B/services/397/events.en.ics"
split_at: "\\, (?:and )?|(?: and )"
Peterborough, ON, Canada:
url: webcal://recollect.a.ssl.fastly.net/api/places/C0A33242-3365-11EC-A104-84C872B788E8/services/345/events.en.ics?client_id=F81035CA-7177-11EE-A247-E8E188BA1CF3
split_at: "\\, (?:and )?|(?: and )"
1 change: 1 addition & 0 deletions doc/source/ics.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ This source has been successfully tested with the following service providers:
- [Calgary, AB](/doc/ics/recollect.md) / calgary.ca
- [City of Edmonton, AB](/doc/ics/recollect.md) / edmonton.ca
- [City of Greater Sudbury, ON](/doc/ics/recollect.md) / greatersudbury.ca
- [City of Peterborough, ON](/doc/ics/recollect.md) / peterborough.ca
- [Ottawa, Canada](/doc/ics/recollect.md) / ottawa.ca
- [RM of Morris, MB](/doc/ics/recollect.md) / mwmenviro.ca
- [Strathcona County, ON](/doc/ics/recollect.md) / strathcona.ca
Expand Down
Loading

0 comments on commit 625b7f3

Please sign in to comment.