-
-
Notifications
You must be signed in to change notification settings - Fork 709
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add ICS documentation for alba_bs_de (#1223)
- Loading branch information
Showing
5 changed files
with
41 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# ALBA Braunschweig | ||
|
||
ALBA Braunschweig 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 | ||
|
||
- Goto <https://alba-bs.de/service/abfuhrtermine.html> and select your location. | ||
- Copy the link of `ICS-Kalender-Datei` (you may need to click it first and then copy the link from the opened popup) | ||
- Replace the `url` in the example configuration with this link. | ||
- Replace the year in the `url` with `{%Y}`. | ||
This will be replaced by the current year. | ||
- You can remove the cHash parameter from the url. | ||
|
||
## Examples | ||
|
||
### Hauptstrasse 1 C | ||
|
||
```yaml | ||
waste_collection_schedule: | ||
sources: | ||
- name: ics | ||
args: | ||
url: https://alba-bs.de/service/abfuhrtermine/ajax-kalender.html?tx_mfabfallkalender_mfabfallkalender%5Baction%5D=makeical&tx_mfabfallkalender_mfabfallkalender%5Bcontroller%5D=Abfallkalender&tx_mfabfallkalender_mfabfallkalender%5Bmf-trash-hausnr%5D=1&tx_mfabfallkalender_mfabfallkalender%5Bmf-trash-hausnrzusatz%5D=C&tx_mfabfallkalender_mfabfallkalender%5Bmf-trash-month%5D=6&tx_mfabfallkalender_mfabfallkalender%5Bmf-trash-strasse%5D=Hauptstra%C3%9Fe&tx_mfabfallkalender_mfabfallkalender%5Bmf-trash-thisyear%5D={%Y} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
title: ALBA Braunschweig | ||
url: https://alba-bs.de | ||
howto: | | ||
- Goto <https://alba-bs.de/service/abfuhrtermine.html> and select your location. | ||
- Copy the link of `ICS-Kalender-Datei` (you may need to click it first and then copy the link from the opened popup) | ||
- Replace the `url` in the example configuration with this link. | ||
- Replace the year in the `url` with `{%Y}`. | ||
This will be replaced by the current year. | ||
- You can remove the cHash parameter from the url. | ||
test_cases: | ||
Hauptstrasse 1 C: | ||
url: "https://alba-bs.de/service/abfuhrtermine/ajax-kalender.html?tx_mfabfallkalender_mfabfallkalender%5Baction%5D=makeical&tx_mfabfallkalender_mfabfallkalender%5Bcontroller%5D=Abfallkalender&tx_mfabfallkalender_mfabfallkalender%5Bmf-trash-hausnr%5D=1&tx_mfabfallkalender_mfabfallkalender%5Bmf-trash-hausnrzusatz%5D=C&tx_mfabfallkalender_mfabfallkalender%5Bmf-trash-month%5D=6&tx_mfabfallkalender_mfabfallkalender%5Bmf-trash-strasse%5D=Hauptstra%C3%9Fe&tx_mfabfallkalender_mfabfallkalender%5Bmf-trash-thisyear%5D={%Y}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.