Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 days 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-28T11:29:36.000Z (8 months ago)
- Last Synced: 2024-04-13T23:29:49.495Z (7 months ago)
- Language: Ruby
- Size: 9.77 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.