https://github.com/zefer/bin-day-calendar
Parse Allerdale bin days HTML to an ICS calendar file
https://github.com/zefer/bin-day-calendar
Last synced: over 1 year ago
JSON representation
Parse Allerdale bin days HTML to an ICS calendar file
- Host: GitHub
- URL: https://github.com/zefer/bin-day-calendar
- Owner: zefer
- Created: 2022-05-31T10:01:55.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-27T14:25:01.000Z (over 1 year ago)
- Last Synced: 2025-01-11T11:35:56.530Z (over 1 year ago)
- Language: Ruby
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bin Day Calendar
Parse Allerdale (Cumberland) bin day HTML and generate an ICS calendar file so
you can import and display your bin days on your calendar.
A quick and rough implementation!
## Will it work for me?
Probably not, unless you live in Allerdale, UK, or unless other UK councils
have the same bin day listings on their websites.
## Usage
Firstly, clone the repo then `bundle install`.
1. Visit https://www.allerdale.gov.uk/en/bincollections/, enter your address
and display your bin day calendar.
2. Copy the HTML from the calendar grid start. You can use the dev tools
inspector, select node `
` and copy
outer HTML.
3. Paste the HTML into the bottom of `bins.rb` immediately after `__END__`.
4. Run `ruby bins.rb` which will generate `bins.ics`.
5. Import `bins.ics` into your calendar.