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

Added Source for WBL Lünen #2678

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
25 changes: 25 additions & 0 deletions doc/ics/wbl_de.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# WBL Wirtschaftsbetriebe Lünen GmbH

WBL Wirtschaftsbetriebe Lünen GmbH is supported by the generic [ICS](/doc/source/ics.md) source. For all available configuration options, please refer to the source description.


## How to get the configuration arguments

- Go to <https://wbl.de/abfallentsorgung/abfuhrtermine-2024> and select your street.
- You may filter the calender by checking "Erweiterte Auswahl" and select only specific bin types.
- Click on "Abfuhrtermine anzeigen" to generate the specific download-link for your street.
- Right-click on `Terminplaner (iCal, Outlook, Google Kalender, iPhone etc.)` and copy link address.
- Replace the `url` in the example configuration with this link.

## Examples

### Ackerstrasse

```yaml
waste_collection_schedule:
sources:
- name: ics
args:
split_at: ' & '
url: "https://wbl.de/pdf/ical2024.php?t=1726047592&strasse=Ackerstra\xDFe&no_behaelter_14=0&no_container_14=0&no_behaelter_4=0&no_container_4=0&no_gelb=0&no_gelb_container=0&no_bio=0&no_papier=0&no_papier_container=0"
```
21 changes: 21 additions & 0 deletions doc/ics/yaml/wbl_de.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: WBL Wirtschaftsbetriebe Lünen GmbH
url: https://www.wbl.de
howto:
en: |
- Go to <https://wbl.de/abfallentsorgung/abfuhrtermine-2024> and select your street.
- You may filter the calender by checking "Erweiterte Auswahl" and select only specific bin types.
- Click on "Abfuhrtermine anzeigen" to generate the specific download-link for your street.
- Right-click on `Terminplaner (iCal, Outlook, Google Kalender, iPhone etc.)` and copy link address.
- Replace the `url` in the example configuration with this link.
de: |
- Gehen Sie zu <https://wbl.de/abfallentsorgung/abfuhrtermine-2024> und wählen Sie Ihre Gemeinde aus.
- Indem Sie "Erweiterte Auswahl" anhaken, können Sie die Auswahl der Tonnen weiter einschränken.
- Klicken Sie auf "Abfuhrtermine anzeigen" um den spezifischen Download-Link für Ihre Straße zu generieren.
- Klicken Sie mit der rechten Maustaste auf `Terminplaner (iCal, Outlook, Google Kalender, iPhone etc.)` und kopieren Sie den Link.
- Ersetzen Sie die `url` in der Beispielkonfiguration durch diesen Link.

test_cases:
Ackerstrasse:
url: https://wbl.de/pdf/ical2024.php?t=1726047592&strasse=Ackerstraße&no_behaelter_14=0&no_container_14=0&no_behaelter_4=0&no_container_4=0&no_gelb=0&no_gelb_container=0&no_bio=0&no_papier=0&no_papier_container=0
split_at: " & "
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Split at should probably be , and the text should probably advise setting it
This will split Graue-Tonne,Rote-Tonne,Container-Grau,Container-Rot into 3 calendar entries

You should probably advise as well to replace the 20204 in the URL with {%Y} so it stays valid in the coming years (if they do not change the URL in any other way)

btw. the md file automatically generated when running the update_docu_links.py script