Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add peterborough to recollect documentation #1350

Merged
merged 1 commit into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading