From f8eb7d551f6f77457f5fc46337c9031e748c517d Mon Sep 17 00:00:00 2001 From: 5ila5 <5ila5@users.noreply.github.com> Date: Sun, 28 Jul 2024 14:54:42 +0200 Subject: [PATCH] allow translatable howto_sections --- .pre-commit-config.yaml | 8 +- .../source/ahe_de.py | 5 + doc/contributing_ics.md | 13 +- doc/ics/blauetonne_schlauetonne_de.md | 6 +- doc/ics/yaml/ab_peine_de.yaml | 16 +- doc/ics/yaml/abfall_app_net.yaml | 70 +- doc/ics/yaml/abfall_eglz_de.yaml | 19 +- doc/ics/yaml/abfall_hdh_de.yaml | 100 +-- doc/ics/yaml/abfall_io_ics.yaml | 37 +- doc/ics/yaml/abfall_kreis_kassel_de.yaml | 19 +- doc/ics/yaml/abfallkalender_erftstadt_de.yaml | 30 +- doc/ics/yaml/abfalltermine_bamberg_de.yaml | 14 +- doc/ics/yaml/abfallv_zerowaste_io.yaml | 18 +- .../yaml/abfallwirtschaft_freiburg_de.yaml | 15 +- .../yaml/abfallwirtschaft_sonneberg_de.yaml | 76 +- doc/ics/yaml/abfallwirtschaft_uhk_de.yaml | 44 +- doc/ics/yaml/abfuhrtermine_info.yaml | 83 +-- doc/ics/yaml/abikw_de.yaml | 17 +- doc/ics/yaml/alba_bs_de.yaml | 21 +- doc/ics/yaml/alp_lup_de.yaml | 17 +- doc/ics/yaml/anglesey_gov_wales.yaml | 20 +- doc/ics/yaml/apm_de.yaml | 17 +- doc/ics/yaml/art_trier_de.yaml | 34 +- doc/ics/yaml/asf_online_de.yaml | 17 +- doc/ics/yaml/asto_de.yaml | 23 +- doc/ics/yaml/avl_ludwigsburg_de.yaml | 15 +- doc/ics/yaml/awb_landkreis_karlsruhe_de.yaml | 13 +- doc/ics/yaml/awd_online_de.yaml | 17 +- doc/ics/yaml/awg_bassum_de.yaml | 22 +- doc/ics/yaml/awhas_de.yaml | 24 +- doc/ics/yaml/awista_starnberg_de.yaml | 15 +- doc/ics/yaml/awp_landkreis_pfaffenhofen.yaml | 17 +- doc/ics/yaml/aws_shg_de.yaml | 13 +- doc/ics/yaml/awu_oberhavel_de.yaml | 15 +- doc/ics/yaml/azv_hof_de.yaml | 34 +- doc/ics/yaml/barrowbc_gov_uk.yaml | 22 +- doc/ics/yaml/bee_emden_de.yaml | 24 +- doc/ics/yaml/blauetonne_schlauetonne_de.yaml | 14 +- doc/ics/yaml/bodenseekreis_de.yaml | 16 +- doc/ics/yaml/brent_gov_uk.yaml | 14 +- doc/ics/yaml/buelach_ch.yaml | 14 +- doc/ics/yaml/contarina_it.yaml | 136 ++-- doc/ics/yaml/detmold_de.yaml | 24 +- doc/ics/yaml/ebu_ulm_de.yaml | 16 +- doc/ics/yaml/edg_de.yaml | 25 +- doc/ics/yaml/ekm_mittelsachsen_de.yaml | 17 +- doc/ics/yaml/entsorgung_cham_de.yaml | 25 +- doc/ics/yaml/entsorgung_regional_de.yaml | 29 +- doc/ics/yaml/entsorgung_sad_de.yaml | 21 +- doc/ics/yaml/entsorgungsbetrieb_mol_de.yaml | 17 +- doc/ics/yaml/entsorgungstermine_jena_de.yaml | 14 +- doc/ics/yaml/esg_soest_de.yaml | 16 +- doc/ics/yaml/eva_abfallentsorgung_de.yaml | 26 +- doc/ics/yaml/falkirk_gov_uk.yaml | 16 +- doc/ics/yaml/fes_frankfurt_de.yaml | 24 +- .../yaml/floersheim_umweltkalender_de.yaml | 19 +- doc/ics/yaml/gda_gv_at.yaml | 18 +- doc/ics/yaml/gedling_gov_uk.yaml | 36 +- doc/ics/yaml/gelbersack_stuttgart_de.yaml | 14 +- doc/ics/yaml/gelsendienste_de.yaml | 12 +- doc/ics/yaml/gipsprojekt_de.yaml | 23 +- doc/ics/yaml/goes_nl.yaml | 16 +- doc/ics/yaml/gross_gerau_de.yaml | 14 +- doc/ics/yaml/hameln_pyrmont_de.yaml | 17 +- doc/ics/yaml/heinz_entsorgung_de.yaml | 26 +- doc/ics/yaml/herten_de.yaml | 14 +- doc/ics/yaml/hws_halle_de.yaml | 20 +- doc/ics/yaml/ilm_kreis_de.yaml | 35 +- doc/ics/yaml/kecl_de.yaml | 16 +- doc/ics/yaml/koblenz_de.yaml | 16 +- doc/ics/yaml/kredslob_dk.yaml | 18 +- doc/ics/yaml/kreis_alzey_worms_de.yaml | 19 +- doc/ics/yaml/kreis_ploen_de.yaml | 40 +- doc/ics/yaml/landkreis_as_de.yaml | 30 +- doc/ics/yaml/landkreis_miltenberg_de.yaml | 15 +- doc/ics/yaml/landkreis_stade_de.yaml | 15 +- doc/ics/yaml/lebach_de.yaml | 14 +- doc/ics/yaml/limburg_net.yaml | 18 +- doc/ics/yaml/linzag_at.yaml | 17 +- doc/ics/yaml/luebeck_de.yaml | 16 +- doc/ics/yaml/mayer_recycling_at.yaml | 14 +- doc/ics/yaml/mein_abfallkalender_online.yaml | 24 +- doc/ics/yaml/moretonbay_qld_gov_au.yaml | 14 +- doc/ics/yaml/muellapp_com.yaml | 702 +++++++++--------- doc/ics/yaml/muensingen_ch.yaml | 18 +- doc/ics/yaml/nerdbridge_de.yaml | 12 +- doc/ics/yaml/neu_ulm_de.yaml | 29 +- doc/ics/yaml/offalkalinder_nl.yaml | 18 +- doc/ics/yaml/openerz_metaodi_ch.yaml | 151 ++-- doc/ics/yaml/osnabrueck_de.yaml | 18 +- doc/ics/yaml/piesting_at.yaml | 14 +- doc/ics/yaml/recollect.yaml | 256 +++---- doc/ics/yaml/siegen_stadt_de.yaml | 16 +- doc/ics/yaml/southlakeland_gov_uk.yaml | 14 +- doc/ics/yaml/st-poelten_at.yaml | 26 +- doc/ics/yaml/stadt_mainhausen_de.yaml | 16 +- doc/ics/yaml/stadtbetrieb_frechen_de.yaml | 14 +- doc/ics/yaml/stadtentsorgung_rostock_de.yaml | 28 +- doc/ics/yaml/stadtreinigung_leipzig_de.yaml | 20 +- doc/ics/yaml/stadtwerke_huerth_de.yaml | 17 +- doc/ics/yaml/steinburg_de.yaml | 14 +- doc/ics/yaml/swk_herford_de.yaml | 24 +- doc/ics/yaml/tbr_reutlingen_de.yaml | 17 +- doc/ics/yaml/traiskirchen_gv_at.yaml | 14 +- doc/ics/yaml/trv_no.yaml | 14 +- doc/ics/yaml/vogtlandkreis_de.yaml | 15 +- doc/ics/yaml/worms_de.yaml | 18 +- doc/ics/yaml/za_sws_de.yaml | 17 +- doc/ics/yaml/zah_hildesheim_de.yaml | 18 +- doc/ics/yaml/zaoe_de.yaml | 14 +- doc/ics/yaml/zfa_iserlohn_de.yaml | 16 +- requirements.txt | 1 + update_docu_links.py | 82 +- 113 files changed, 1976 insertions(+), 1641 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2bb9dffa..6b52ad01 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,4 @@ +--- repos: - repo: https://github.com/asottile/pyupgrade rev: v3.15.0 @@ -40,6 +41,11 @@ repos: - --format=custom - --configfile=tests/bandit.yaml files: ^(custom_components|script|tests)/.+\.py$ + - repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt + rev: 0.2.1 # or other specific tag + hooks: + - id: yamlfmt + args: [--mapping, '2', --sequence, '4', --width, '150', --offset, '2'] - repo: https://github.com/pycqa/isort rev: 5.12.0 hooks: @@ -58,7 +64,7 @@ repos: rev: v1.10.1 hooks: - id: mypy - additional_dependencies: ["types-requests", "types-python-dateutil", "types-pyyaml"] + additional_dependencies: [types-requests, types-python-dateutil, types-pyyaml] args: - --pretty - --show-error-codes diff --git a/custom_components/waste_collection_schedule/waste_collection_schedule/source/ahe_de.py b/custom_components/waste_collection_schedule/waste_collection_schedule/source/ahe_de.py index 00d73e0e..65e6a545 100644 --- a/custom_components/waste_collection_schedule/waste_collection_schedule/source/ahe_de.py +++ b/custom_components/waste_collection_schedule/waste_collection_schedule/source/ahe_de.py @@ -23,6 +23,11 @@ ICON_MAP = { "Gelber Sack": "mdi:recycle", } +HOW_TO_GET_ARGUMENTS_DESCRIPTION = { + "en": "Find the parameter of your address using [https://ahe.atino.net/pickup-dates](https://ahe.atino.net/pickup-dates) and write them exactly like on the web page." +} + + API_URL = "https://ahe.atino.net/{search}" SEARCH_API_URL = API_URL.format(search="search/{search}") diff --git a/doc/contributing_ics.md b/doc/contributing_ics.md index 8b6de3ae..c95ac4b2 100644 --- a/doc/contributing_ics.md +++ b/doc/contributing_ics.md @@ -40,10 +40,15 @@ Example: ```yaml title: Entsorgungsgesellschaft Görlitz-Löbau-Zittau url: https://www.abfall-eglz.de -howto: | - - Goto and select your municipality. - - Right-click on `Entsorgungstermine als iCalendar herunterladen` and copy link address. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your municipality. + - Right-click on `Entsorgungstermine als iCalendar herunterladen` and copy link address. + - Replace the `url` in the example configuration with this link. + de: | + - Gehen Sie zu und wählen Sie Ihre Gemeinde aus. + - Klicken Sie mit der rechten Maustaste auf `Entsorgungstermine als iCalendar herunterladen` und kopieren Sie den Link. + - Ersetzen Sie die `url` in der Beispielkonfiguration durch diesen Link. test_cases: Oppach: url: "https://www.abfall-eglz.de/abfallkalender.html?ort=Oppach&ortsteil=Ort+Oppach&strasse=&ics=1" diff --git a/doc/ics/blauetonne_schlauetonne_de.md b/doc/ics/blauetonne_schlauetonne_de.md index 22e11215..2898632c 100644 --- a/doc/ics/blauetonne_schlauetonne_de.md +++ b/doc/ics/blauetonne_schlauetonne_de.md @@ -6,9 +6,9 @@ Blaue Tonne - Schlaue Tonne is supported by the generic [ICS](/doc/source/ics.md ## How to get the configuration arguments - Goto and select your location. - - Right-click on `iCal Download` link and copy link address. - - Replace the `url` in the example configuration with this link. - - Replace the year in the url with `{%Y}`. +- Right-click on `iCal Download` link and copy link address. +- Replace the `url` in the example configuration with this link. +- Replace the year in the url with `{%Y}`. ## Examples diff --git a/doc/ics/yaml/ab_peine_de.yaml b/doc/ics/yaml/ab_peine_de.yaml index e3013212..0a0c577c 100644 --- a/doc/ics/yaml/ab_peine_de.yaml +++ b/doc/ics/yaml/ab_peine_de.yaml @@ -1,12 +1,14 @@ +--- title: Landkreis Peine url: https://ab-peine.de/ -howto: | - - Goto and select your address. You can leave `Ab Monat` and `Darstellung` as is. - - For all bin types do not select any bin type checkbox - - Copy the link of the `Kalender abonnieren` button - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your address. You can leave `Ab Monat` and `Darstellung` as is. + - For all bin types do not select any bin type checkbox + - Copy the link of the `Kalender abonnieren` button + - Replace the `url` in the example configuration with this link. test_cases: Barbecke: - url: "webcal://www.ab-peine.de/output/options.php?ModID=48&call=webcal&&pois=3660.301" + url: webcal://www.ab-peine.de/output/options.php?ModID=48&call=webcal&&pois=3660.301 Peine Gerhart-Hauptmann-Straße: - url: "webcal://www.ab-peine.de/output/options.php?ModID=48&call=webcal&&pois=3660.166" + url: webcal://www.ab-peine.de/output/options.php?ModID=48&call=webcal&&pois=3660.166 diff --git a/doc/ics/yaml/abfall_app_net.yaml b/doc/ics/yaml/abfall_app_net.yaml index f0cadb75..1543ec32 100644 --- a/doc/ics/yaml/abfall_app_net.yaml +++ b/doc/ics/yaml/abfall_app_net.yaml @@ -1,39 +1,41 @@ +--- title: Abfall App url: https://abfall-app.net country: de -howto: | - - Goto your providers web site collections calendar (alternative https://{service}.abfall-app.net) and select your location. - - Copy the link of the `Sync zu Kalender` Button. - - Replace the `url` in the example configuration with this link. - - known supported: - - Landkreis Stendal: - - Landkreis soest: - - Landkreis Böblingen: - - Altmarkkreis Salzwedel: - - Landkreis Lüchow-Dannenberg: - - Rhein-Pfalz-Kreis: +howto: + en: | + - Goto your providers web site collections calendar (alternative https://{service}.abfall-app.net) and select your location. + - Copy the link of the `Sync zu Kalender` Button. + - Replace the `url` in the example configuration with this link. + + known supported: + - Landkreis Stendal: + - Landkreis soest: + - Landkreis Böblingen: + - Altmarkkreis Salzwedel: + - Landkreis Lüchow-Dannenberg: + - Rhein-Pfalz-Kreis: extra_info: - - title: Landkreis Stendal - url: https://www.landkreis-stendal.de/ - country: de - - title: Landkreis soest - url: https://www.kreis-soest.de/ - country: de - - title: Landkreis Böblingen - url: https://www.lrabb.de/ - country: de - - title: Altmarkkreis Salzwedel - url: https://www.altmarkkreis-salzwedel.de/ - country: de - - title: Landkreis Lüchow-Dannenberg - url: https://www.luechow-dannenberg.de/ - country: de - - title: Rhein-Pfalz-Kreis - url: https://www.rhein-pfalz-kreis.de/ - country: de + - title: Landkreis Stendal + url: https://www.landkreis-stendal.de/ + country: de + - title: Landkreis soest + url: https://www.kreis-soest.de/ + country: de + - title: Landkreis Böblingen + url: https://www.lrabb.de/ + country: de + - title: Altmarkkreis Salzwedel + url: https://www.altmarkkreis-salzwedel.de/ + country: de + - title: Landkreis Lüchow-Dannenberg + url: https://www.luechow-dannenberg.de/ + country: de + - title: Rhein-Pfalz-Kreis + url: https://www.rhein-pfalz-kreis.de/ + country: de test_cases: - Stendal Belkau: - url: "https://landkreis-stendal.abfall-app.net/download?system=ical&period=2&district=1321&categories=&view=month" - soest: - url: https://soest.abfall-app.net/download?system=ical&period=2&street=24260&categories=&view=month + Stendal Belkau: + url: https://landkreis-stendal.abfall-app.net/download?system=ical&period=2&district=1321&categories=&view=month + soest: + url: https://soest.abfall-app.net/download?system=ical&period=2&street=24260&categories=&view=month diff --git a/doc/ics/yaml/abfall_eglz_de.yaml b/doc/ics/yaml/abfall_eglz_de.yaml index 9196463c..8e86e371 100644 --- a/doc/ics/yaml/abfall_eglz_de.yaml +++ b/doc/ics/yaml/abfall_eglz_de.yaml @@ -1,9 +1,16 @@ +--- title: Entsorgungsgesellschaft Görlitz-Löbau-Zittau url: https://www.abfall-eglz.de -howto: | - - Goto and select your municipality. - - Right-click on `Entsorgungstermine als iCalendar herunterladen` and copy link address. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your municipality. + - Right-click on `Entsorgungstermine als iCalendar herunterladen` and copy link address. + - Replace the `url` in the example configuration with this link. + de: | + - Gehen Sie zu und wählen Sie Ihre Gemeinde aus. + - Klicken Sie mit der rechten Maustaste auf `Entsorgungstermine als iCalendar herunterladen` und kopieren Sie den Link. + - Ersetzen Sie die `url` in der Beispielkonfiguration durch diesen Link. + test_cases: - Oppach: - url: "https://www.abfall-eglz.de/abfallkalender.html?ort=Oppach&ortsteil=Ort+Oppach&strasse=&ics=1" + Oppach: + url: https://www.abfall-eglz.de/abfallkalender.html?ort=Oppach&ortsteil=Ort+Oppach&strasse=&ics=1 diff --git a/doc/ics/yaml/abfall_hdh_de.yaml b/doc/ics/yaml/abfall_hdh_de.yaml index a900c960..e30fb1c7 100644 --- a/doc/ics/yaml/abfall_hdh_de.yaml +++ b/doc/ics/yaml/abfall_hdh_de.yaml @@ -1,54 +1,56 @@ +--- title: Landkreis Heidenheim url: https://abfall-hdh.de -howto: | - - Goto and select your location. - - Replace the `gemeinde`, `ortsteil` and `strasse` in the example configuration with the names you selected (leave `strasse` as is if you do not selected one on the website). - - You may also want to set the `bio`, `garten`, `gs`, `rest`, `papier` and `papiertonne` parameters to `"0"` if you do not want to see the corresponding waste types in the calendar. +howto: + en: | + - Goto and select your location. + - Replace the `gemeinde`, `ortsteil` and `strasse` in the example configuration with the names you selected (leave `strasse` as is if you do not selected one on the website). + - You may also want to set the `bio`, `garten`, `gs`, `rest`, `papier` and `papiertonne` parameters to `"0"` if you do not want to see the corresponding waste types in the calendar. default_params: - url: "https://mobil.abfallwirtschaft-heidenheim.de/icalendar/download.php" - method: POST - year_field: "jahr" - params: - tag: "0" - uhrzeit: "" - bio: "1" - garten: "1" - gs: "1" - rest: "1" - papier: "1" - papiertonne: "1" + url: https://mobil.abfallwirtschaft-heidenheim.de/icalendar/download.php + method: POST + year_field: jahr + params: + tag: '0' + uhrzeit: '' + bio: '1' + garten: '1' + gs: '1' + rest: '1' + papier: '1' + papiertonne: '1' test_cases: - Dischingen Hofen: - url: "https://mobil.abfallwirtschaft-heidenheim.de/icalendar/download.php" - method: POST - year_field: "jahr" - params: - gemeinde: "Dischingen" - ortsteil: "Hofen" - strasse: "" - tag: "0" - uhrzeit: "" - bio: "1" - garten: "1" - gs: "1" - rest: "1" - papier: "1" - papiertonne: "1" - Heidenheim, Heidenheim, Hauptstraße: - url: "https://mobil.abfallwirtschaft-heidenheim.de/icalendar/download.php" - method: POST - year_field: "jahr" - split_at: \+ - params: - gemeinde: "Heidenheim" - ortsteil: "Heidenheim" - strasse: "Hauptstraße" - tag: "0" - uhrzeit: "" - bio: "1" - garten: "1" - gs: "1" - rest: "1" - papier: "1" - papiertonne: "1" + Dischingen Hofen: + url: https://mobil.abfallwirtschaft-heidenheim.de/icalendar/download.php + method: POST + year_field: jahr + params: + gemeinde: Dischingen + ortsteil: Hofen + strasse: '' + tag: '0' + uhrzeit: '' + bio: '1' + garten: '1' + gs: '1' + rest: '1' + papier: '1' + papiertonne: '1' + Heidenheim, Heidenheim, Hauptstraße: + url: https://mobil.abfallwirtschaft-heidenheim.de/icalendar/download.php + method: POST + year_field: jahr + split_at: \+ + params: + gemeinde: Heidenheim + ortsteil: Heidenheim + strasse: Hauptstraße + tag: '0' + uhrzeit: '' + bio: '1' + garten: '1' + gs: '1' + rest: '1' + papier: '1' + papiertonne: '1' diff --git a/doc/ics/yaml/abfall_io_ics.yaml b/doc/ics/yaml/abfall_io_ics.yaml index d5410161..efa5ed0a 100644 --- a/doc/ics/yaml/abfall_io_ics.yaml +++ b/doc/ics/yaml/abfall_io_ics.yaml @@ -1,27 +1,30 @@ +--- title: Abfall IO ICS Version url: https://www.abfallplus.de description: Support for multiple service provider using the AbfallPlus API. -howto: | - - Goto your regions collection dates form. - - Select you location and your desired waste types. - - Right click -> copy link address of the `ICS` button. - - Replace the `url` in the example configuration with this link. - - Replace the year in the URL with `{%Y}` (`...timeperiod=20240101-20241231` -> `...timeperiod={%Y}0101-{%Y}1231`). +howto: + en: | + - Goto your regions collection dates form. + - Select you location and your desired waste types. + - Right click -> copy link address of the `ICS` button. + - Replace the `url` in the example configuration with this link. + - Replace the year in the URL with `{%Y}` (`...timeperiod=20240101-20241231` -> `...timeperiod={%Y}0101-{%Y}1231`). country: de extra_info: - - title: Abfallwirtschaft Landkreis Böblingen - url: https://www.awb-bb.de/ - country: de - - title: Abfallwirtschaft Landkreis Göppingen - url: https://www.awb-gp.de/ - country: de - - title: Zollernalbkreis - url: https://www.zollernalbkreis.de/ - country: de + - title: Abfallwirtschaft Landkreis Böblingen + url: https://www.awb-bb.de/ + country: de + - title: Abfallwirtschaft Landkreis Göppingen + url: https://www.awb-gp.de/ + country: de + - title: Zollernalbkreis + url: https://www.zollernalbkreis.de/ + country: de test_cases: - Göppingen: - url: "https://api.abfall.io/?key=f35bd08b1d18d9c81fcdee75dbcce5d3&mode=export&idhousenumber=2859&wastetypes=20,17,59,18,19,60&timeperiod={%Y}0101-{%Y}1231&showinactive=false&type=ics" \ No newline at end of file + Göppingen: + url: + https://api.abfall.io/?key=f35bd08b1d18d9c81fcdee75dbcce5d3&mode=export&idhousenumber=2859&wastetypes=20,17,59,18,19,60&timeperiod={%Y}0101-{%Y}1231&showinactive=false&type=ics diff --git a/doc/ics/yaml/abfall_kreis_kassel_de.yaml b/doc/ics/yaml/abfall_kreis_kassel_de.yaml index 673237d0..313519a1 100644 --- a/doc/ics/yaml/abfall_kreis_kassel_de.yaml +++ b/doc/ics/yaml/abfall_kreis_kassel_de.yaml @@ -1,11 +1,14 @@ +--- title: Abfallentsorgung Kreis Kassel url: https://www.abfall-kreis-kassel.de -howto: | - - Goto and select your location. - - Click on `Dateien und App` expand. - - Click on `ICS - Kalender importieren` - - Right click on `Datei herunterladen` and copy the link address. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location. + - Click on `Dateien und App` expand. + - Click on `ICS - Kalender importieren` + - Right click on `Datei herunterladen` and copy the link address. + - Replace the `url` in the example configuration with this link. test_cases: - Fuldatal (area 1): - url: "https://webapp.abfall-kreis-kassel.de/abfallkalender?no_cache=1&tx_abfallkalender_pi2%5Baction%5D=ical&tx_abfallkalender_pi2%5Bcontroller%5D=Export&cHash=b75e567196581fb1832c0a09b943f2bc&tx_abfallkalender_pi2%5Bcalendar%5D=488&tx_abfallkalender_pi2%5Bfractions%5D=2,6,4,1,7,3,5tx_abfallkalender_pi2%5Breminder%5D=undefined" + Fuldatal (area 1): + url: + https://webapp.abfall-kreis-kassel.de/abfallkalender?no_cache=1&tx_abfallkalender_pi2%5Baction%5D=ical&tx_abfallkalender_pi2%5Bcontroller%5D=Export&cHash=b75e567196581fb1832c0a09b943f2bc&tx_abfallkalender_pi2%5Bcalendar%5D=488&tx_abfallkalender_pi2%5Bfractions%5D=2,6,4,1,7,3,5tx_abfallkalender_pi2%5Breminder%5D=undefined diff --git a/doc/ics/yaml/abfallkalender_erftstadt_de.yaml b/doc/ics/yaml/abfallkalender_erftstadt_de.yaml index f3e86c2e..348a50a2 100644 --- a/doc/ics/yaml/abfallkalender_erftstadt_de.yaml +++ b/doc/ics/yaml/abfallkalender_erftstadt_de.yaml @@ -1,20 +1,22 @@ +--- title: Erfstadt (inoffical) url: https://abfallkalender-erftstadt.de -howto: | - - Goto and select your location. - - Click on `Zum Kalender hinzufügen`. - - Click on `weiter` without selecting reminder. - - Copy the link below `Für Google Kalender` or copy the link from the `Abonnieren` or `Download` button. - - Replace the `url` in the example configuration with this link. - - Keeping the `regex` as it is, will remove the district name from the event title. +howto: + en: | + - Goto and select your location. + - Click on `Zum Kalender hinzufügen`. + - Click on `weiter` without selecting reminder. + - Copy the link below `Für Google Kalender` or copy the link from the `Abonnieren` or `Download` button. + - Replace the `url` in the example configuration with this link. + - Keeping the `regex` as it is, will remove the district name from the event title. default_params: - regex: (.*) - Bezirk \d + regex: (.*) - Bezirk \d test_cases: - Borr: - url: "https://abfallkalender-erftstadt.de/download/bezirk_5.ics" - regex: (.*) - Bezirk \d - Frauental: - url: webcal://abfallkalender-erftstadt.de/download/bezirk_2.ics - regex: (.*) - Bezirk \d + Borr: + url: https://abfallkalender-erftstadt.de/download/bezirk_5.ics + regex: (.*) - Bezirk \d + Frauental: + url: webcal://abfallkalender-erftstadt.de/download/bezirk_2.ics + regex: (.*) - Bezirk \d diff --git a/doc/ics/yaml/abfalltermine_bamberg_de.yaml b/doc/ics/yaml/abfalltermine_bamberg_de.yaml index e5fd9874..b6011413 100644 --- a/doc/ics/yaml/abfalltermine_bamberg_de.yaml +++ b/doc/ics/yaml/abfalltermine_bamberg_de.yaml @@ -1,9 +1,11 @@ +--- title: Bamberg (Stadt und Landkreis) url: https://www.abfalltermine-bamberg.de/ -howto: | - - Goto and select your location. - - Copy the link of the Herunterladen button below Digitaler Kalender. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location. + - Copy the link of the Herunterladen button below Digitaler Kalender. + - Replace the `url` in the example configuration with this link. test_cases: - Schlüsselfeld - Thüngbach: - url: "https://www.abfalltermine-bamberg.de/Bamberg/Landkreis/Schl%C3%BCsselfeld%20-%20Th%C3%BCngbach/ics" + Schlüsselfeld - Thüngbach: + url: https://www.abfalltermine-bamberg.de/Bamberg/Landkreis/Schl%C3%BCsselfeld%20-%20Th%C3%BCngbach/ics diff --git a/doc/ics/yaml/abfallv_zerowaste_io.yaml b/doc/ics/yaml/abfallv_zerowaste_io.yaml index b4596ab2..4e20c539 100644 --- a/doc/ics/yaml/abfallv_zerowaste_io.yaml +++ b/doc/ics/yaml/abfallv_zerowaste_io.yaml @@ -1,12 +1,14 @@ +--- title: Umweltv url: https://abfallv.zerowaste.io -howto: | - - Goto and select your location and waste types. - - Click on `Kalender Bo/Download` and copy the URL below `Adresse zum Abonnieren`. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location and waste types. + - Click on `Kalender Bo/Download` and copy the URL below `Adresse zum Abonnieren`. + - Replace the `url` in the example configuration with this link. country: at test_cases: - Bürs: - url: "https://abfallv.zerowaste.io/ical/3338?area_filter=324%2C325%2C326%2C327%2C328%2C329%2C1449%2C1512%2C2046%2C2822&reminder" - Andelsbuch Bergseite: - url: "https://abfallv.zerowaste.io/ical/1899?area_filter=192%2C193%2C194%2C195%2C1440%2C1441%2C1442%2C1443%2C1466%2C2035%2C2847&reminder" \ No newline at end of file + Bürs: + url: https://abfallv.zerowaste.io/ical/3338?area_filter=324%2C325%2C326%2C327%2C328%2C329%2C1449%2C1512%2C2046%2C2822&reminder + Andelsbuch Bergseite: + url: https://abfallv.zerowaste.io/ical/1899?area_filter=192%2C193%2C194%2C195%2C1440%2C1441%2C1442%2C1443%2C1466%2C2035%2C2847&reminder diff --git a/doc/ics/yaml/abfallwirtschaft_freiburg_de.yaml b/doc/ics/yaml/abfallwirtschaft_freiburg_de.yaml index aa81886a..38e19a37 100644 --- a/doc/ics/yaml/abfallwirtschaft_freiburg_de.yaml +++ b/doc/ics/yaml/abfallwirtschaft_freiburg_de.yaml @@ -1,10 +1,13 @@ +--- title: Abfallwirtschaft Freiburg url: https://www.abfall-eglz.de -howto: | - - Goto and select your location. - - Right-click on `ICS` and copy link address. - - Replace the `url` in the example configuration with this link. - - Replace the **2** year fields in the url with `{%Y}`. +howto: + en: | + - Goto and select your location. + - Right-click on `ICS` and copy link address. + - Replace the `url` in the example configuration with this link. + - Replace the **2** year fields in the url with `{%Y}`. test_cases: Ahornweg: - url: "https://api.abfall.io/?key=ba5c0a03ba41d81479797313161ced08&mode=export&idhousenumber=13&wastetypes=1146,627,17,1554,1802,1553&timeperiod={%Y}0101-{%Y}1231&type=ics" + url: + https://api.abfall.io/?key=ba5c0a03ba41d81479797313161ced08&mode=export&idhousenumber=13&wastetypes=1146,627,17,1554,1802,1553&timeperiod={%Y}0101-{%Y}1231&type=ics diff --git a/doc/ics/yaml/abfallwirtschaft_sonneberg_de.yaml b/doc/ics/yaml/abfallwirtschaft_sonneberg_de.yaml index 48aa279f..f0e4e7dc 100644 --- a/doc/ics/yaml/abfallwirtschaft_sonneberg_de.yaml +++ b/doc/ics/yaml/abfallwirtschaft_sonneberg_de.yaml @@ -1,50 +1,52 @@ +--- title: Abfallwirtschaft Sonneberg url: https://www.abfallwirtschaft-sonneberg.de -howto: | - - Goto . - - Select your municipality (`Ort`), district (`Ortsteil`) and - if necessary - street (`Straße`). - - Right-click each dropdown field an click `Inspect`. This will open your browser's developer tools and display the corresponding HTML source: +howto: + en: | + - Goto . + - Select your municipality (`Ort`), district (`Ortsteil`) and - if necessary - street (`Straße`). + - Right-click each dropdown field an click `Inspect`. This will open your browser's developer tools and display the corresponding HTML source: - ```html - + ```html + - + - + - - ``` + + ``` - You will need to get the exact `value` of your selected option as an option's value might differ from the text shown in the dropdown field for certain options, especially for the longer. - - - Replace the corresponding `params` in the example configuration with your values. - - *Please note that there's usually no need to replace umlauts in parameter values with their respective Unicode number (e.g. `ä` -> `\xE4`).* - *This just happens while generating this documentation from source.* - *Refer to [Abfallwirtschaft Sonneberg's documentation source](/doc/ics/yaml/abfallwirtschaft_sonneberg_de.yaml) for unaltered examples.* + You will need to get the exact `value` of your selected option as an option's value might differ from the text shown in the dropdown field for certain options, especially for the longer. + + - Replace the corresponding `params` in the example configuration with your values. + + *Please note that there's usually no need to replace umlauts in parameter values with their respective Unicode number (e.g. `ä` -> `\xE4`).* + *This just happens while generating this documentation from source.* + *Refer to [Abfallwirtschaft Sonneberg's documentation source](/doc/ics/yaml/abfallwirtschaft_sonneberg_de.yaml) for unaltered examples.* default_params: method: POST url: https://www.abfallwirtschaft-sonneberg.de/PHPtoICS{%Y}.php params: - ort: "" - stadtteil: "" - strasse: "" - + ort: '' + stadtteil: '' + strasse: '' + test_cases: Föritztal, Schwärzdorf: @@ -81,7 +83,7 @@ test_cases: stadtteil: Innenstadtbereich # Street (required for the chosen district) strasse: Coburger Allee - Sonneberg, Steinbach (einschl. gesamte Bergstr.): + Sonneberg, Steinbach (einschl. gesamte Bergstr.): url: https://www.abfallwirtschaft-sonneberg.de/PHPtoICS{%Y}.php method: POST params: diff --git a/doc/ics/yaml/abfallwirtschaft_uhk_de.yaml b/doc/ics/yaml/abfallwirtschaft_uhk_de.yaml index ea5eaf17..4a920fd0 100644 --- a/doc/ics/yaml/abfallwirtschaft_uhk_de.yaml +++ b/doc/ics/yaml/abfallwirtschaft_uhk_de.yaml @@ -1,27 +1,29 @@ +--- title: Abfallwirtschaftsbetrieb Unstrut-Hainich-Kreis url: https://www.abfallwirtschaft-uhk.de/ -howto: | - - Goto and select your municipality (2022 in URL is right!). - - Right-click on your city/county and copy link address. - - Replace the year in the `url` with `{%Y}`. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your municipality (2022 in URL is right!). + - Right-click on your city/county and copy link address. + - Replace the year in the `url` with `{%Y}`. + - Replace the `url` in the example configuration with this link. default_params: - split_at: ", " + split_at: ', ' test_cases: - Altengottern: - url: "https://awb-ics.unstrut-hainich-kreis.de/icalendar/{%Y}/Altengottern.ics" - split_at: ", " - Bad Langensalza Stadttour 3: - url: "https://awb-ics.unstrut-hainich-kreis.de/icalendar/{%Y}/LST3.ics" - split_at: ", " - Herbsleben: - url: "https://awb-ics.unstrut-hainich-kreis.de/icalendar/{%Y}/Herbsleben.ics" - split_at: ", " - Thamsbrück: - url: "https://awb-ics.unstrut-hainich-kreis.de/icalendar/{%Y}/Thamsbrueck.ics" - split_at: ", " - Urleben: - url: "https://awb-ics.unstrut-hainich-kreis.de/icalendar/{%Y}/Urleben.ics" - split_at: ", " \ No newline at end of file + Altengottern: + url: https://awb-ics.unstrut-hainich-kreis.de/icalendar/{%Y}/Altengottern.ics + split_at: ', ' + Bad Langensalza Stadttour 3: + url: https://awb-ics.unstrut-hainich-kreis.de/icalendar/{%Y}/LST3.ics + split_at: ', ' + Herbsleben: + url: https://awb-ics.unstrut-hainich-kreis.de/icalendar/{%Y}/Herbsleben.ics + split_at: ', ' + Thamsbrück: + url: https://awb-ics.unstrut-hainich-kreis.de/icalendar/{%Y}/Thamsbrueck.ics + split_at: ', ' + Urleben: + url: https://awb-ics.unstrut-hainich-kreis.de/icalendar/{%Y}/Urleben.ics + split_at: ', ' diff --git a/doc/ics/yaml/abfuhrtermine_info.yaml b/doc/ics/yaml/abfuhrtermine_info.yaml index 47bc087c..105fef25 100644 --- a/doc/ics/yaml/abfuhrtermine_info.yaml +++ b/doc/ics/yaml/abfuhrtermine_info.yaml @@ -1,55 +1,54 @@ +--- title: Abfuhrtermine.info url: https://abfuhrtermine.info country: de -howto: | - - The abfuhrtermine.info website of your region (list below). - - select your location. - - Right click -> copy link address on the "Termine als ICS-Datei zum Import in Terminverwaltungssoftware/MobiltelefonKalender" button. - - Replace the `url` in the example configuration with this link. - - ### List of available regions - - - Attendorn: https://attendorn.abfuhrtermine.info/ - - Drolshagen: https://drolshagen.abfuhrtermine.info/ - - Finnentrop: https://finnentrop.abfuhrtermine.info/ - - Kreuztal: https://kreuztal.abfuhrtermine.info/ - - Lennestadt: https://lennestadt.abfuhrtermine.info - - Olpe: https://olpe.abfuhrtermine.info - - Wenden: https://wenden.abfuhrtermine.info - - and maybe some more. +howto: + en: | + - The abfuhrtermine.info website of your region (list below). + - select your location. + - Right click -> copy link address on the "Termine als ICS-Datei zum Import in Terminverwaltungssoftware/MobiltelefonKalender" button. + - Replace the `url` in the example configuration with this link. + ### List of available regions + - Attendorn: https://attendorn.abfuhrtermine.info/ + - Drolshagen: https://drolshagen.abfuhrtermine.info/ + - Finnentrop: https://finnentrop.abfuhrtermine.info/ + - Kreuztal: https://kreuztal.abfuhrtermine.info/ + - Lennestadt: https://lennestadt.abfuhrtermine.info + - Olpe: https://olpe.abfuhrtermine.info + - Wenden: https://wenden.abfuhrtermine.info + and maybe some more. extra_info: - - title: Olpe - url: https://olpe.de/ - country: de - - title: Lennestadt - url: https://www.lennestadt.de/ - country: de - - title: Attendorn - url: https://www.attendorn.de/ - country: de - - title: Finnentrop - url: https://finnentrop.info/ - country: de - - title: Drolshagen - url: https://www.drolshagen.de/ - country: de - - title: Kreuztal - url: https://www.kreuztal.de/ - country: de - - title: Wenden - url: https://www.gemeinde-wenden.de/ - country: de + - title: Olpe + url: https://olpe.de/ + country: de + - title: Lennestadt + url: https://www.lennestadt.de/ + country: de + - title: Attendorn + url: https://www.attendorn.de/ + country: de + - title: Finnentrop + url: https://finnentrop.info/ + country: de + - title: Drolshagen + url: https://www.drolshagen.de/ + country: de + - title: Kreuztal + url: https://www.kreuztal.de/ + country: de + - title: Wenden + url: https://www.gemeinde-wenden.de/ + country: de test_cases: - Olpe Gerstenhagen - Griesemert: - url: "https://olpe.abfuhrtermine.info/dates/exportDates/58/Ics" - Lennestadt Adlerstraße - Saalhausen: - url: "https://lennestadt.abfuhrtermine.info/dates/exportDates/3232/Ics" + Olpe Gerstenhagen - Griesemert: + url: https://olpe.abfuhrtermine.info/dates/exportDates/58/Ics + Lennestadt Adlerstraße - Saalhausen: + url: https://lennestadt.abfuhrtermine.info/dates/exportDates/3232/Ics diff --git a/doc/ics/yaml/abikw_de.yaml b/doc/ics/yaml/abikw_de.yaml index 5a793c9b..c5e10132 100644 --- a/doc/ics/yaml/abikw_de.yaml +++ b/doc/ics/yaml/abikw_de.yaml @@ -1,10 +1,13 @@ +--- title: Landkreis Anhalt-Bitterfeld url: https://www.abikw.de -howto: | - - Goto and select your location. - - Click on `Exportieren iCal` and copy the link below `URL in Kalender-App einbinden`. - - Replace the `url` in the example configuration with this link. - - Replace the year in the url with `{%Y}` (as shown in the example). +howto: + en: | + - Goto and select your location. + - Click on `Exportieren iCal` and copy the link below `URL in Kalender-App einbinden`. + - Replace the `url` in the example configuration with this link. + - Replace the year in the url with `{%Y}` (as shown in the example). test_cases: - Trüben: - url: "https://abikw.wastebox.gemos-management.de/Gemos/WasteBox/Frontend/TourSchedule/Raw/Name/{%Y}/list/82169/565,566,567,568,569/Print/ics/Default/Abfuhrtermine.ics" + Trüben: + url: + https://abikw.wastebox.gemos-management.de/Gemos/WasteBox/Frontend/TourSchedule/Raw/Name/{%Y}/list/82169/565,566,567,568,569/Print/ics/Default/Abfuhrtermine.ics diff --git a/doc/ics/yaml/alba_bs_de.yaml b/doc/ics/yaml/alba_bs_de.yaml index eb094e3c..3fb78603 100644 --- a/doc/ics/yaml/alba_bs_de.yaml +++ b/doc/ics/yaml/alba_bs_de.yaml @@ -1,12 +1,15 @@ +--- title: ALBA Braunschweig url: https://alba-bs.de -howto: | - - Goto 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. +howto: + en: | + - Goto 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}" + 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} diff --git a/doc/ics/yaml/alp_lup_de.yaml b/doc/ics/yaml/alp_lup_de.yaml index ece38bb7..2d7afeac 100644 --- a/doc/ics/yaml/alp_lup_de.yaml +++ b/doc/ics/yaml/alp_lup_de.yaml @@ -1,10 +1,13 @@ +--- title: Aballwirtschaft Ludwigslust-Parchim AöR url: https://alp-lup.de -howto: | - - Goto and select your location. - - Click on `Exportieren iCal` and copy the link below `URL in Kalender-App einbinden`. - - Replace the `url` in the example configuration with this link. - - Replace the year in the url with `{%Y}` (as shown in the example). +howto: + en: | + - Goto and select your location. + - Click on `Exportieren iCal` and copy the link below `URL in Kalender-App einbinden`. + - Replace the `url` in the example configuration with this link. + - Replace the year in the url with `{%Y}` (as shown in the example). test_cases: - Alt Brenz: - url: "https://lwl.wastebox.gemos-management.de/Gemos/WasteBox/Frontend/TourSchedule/Raw/Name/{%Y}/list/151002/1382,1383,1384,1385,1386,1387/61,64,68/Print/ics/Default/Abfuhrtermine.ics" + Alt Brenz: + url: + https://lwl.wastebox.gemos-management.de/Gemos/WasteBox/Frontend/TourSchedule/Raw/Name/{%Y}/list/151002/1382,1383,1384,1385,1386,1387/61,64,68/Print/ics/Default/Abfuhrtermine.ics diff --git a/doc/ics/yaml/anglesey_gov_wales.yaml b/doc/ics/yaml/anglesey_gov_wales.yaml index 4352c8a7..9071613d 100644 --- a/doc/ics/yaml/anglesey_gov_wales.yaml +++ b/doc/ics/yaml/anglesey_gov_wales.yaml @@ -1,13 +1,15 @@ +--- title: Anglesey url: https://anglesey.gov.wales country: uk -howto: | - - Goto go to `Find your bin day` and search your address. - - Copy the link(s) below `Download calendar to your device` - - Replace the `url` in the example configuration with this link. - - For multiple calendars (waste + garden) add a new source for each calendar. +howto: + en: | + - Goto go to `Find your bin day` and search your address. + - Copy the link(s) below `Download calendar to your device` + - Replace the `url` in the example configuration with this link. + - For multiple calendars (waste + garden) add a new source for each calendar. test_cases: - LL65 1LF waste: - url: "https://www.anglesey.gov.wales/documents/Docs-en/Bins-and-recycling/calendars/ics/B1-1.ics" - LL65 1LF gerden: - url: "https://www.anglesey.gov.wales/documents/Docs-en/Bins-and-recycling/calendars/ics/G1-1.ics" + LL65 1LF waste: + url: https://www.anglesey.gov.wales/documents/Docs-en/Bins-and-recycling/calendars/ics/B1-1.ics + LL65 1LF gerden: + url: https://www.anglesey.gov.wales/documents/Docs-en/Bins-and-recycling/calendars/ics/G1-1.ics diff --git a/doc/ics/yaml/apm_de.yaml b/doc/ics/yaml/apm_de.yaml index ce19d2e0..542a23a2 100644 --- a/doc/ics/yaml/apm_de.yaml +++ b/doc/ics/yaml/apm_de.yaml @@ -1,10 +1,13 @@ +--- title: Abfallwirtschaft Potsdam-Mittelmark (APM) url: https://www.apm-niemegk.de/ -howto: | - - Goto and select your location. - - Click on `Exportieren iCal` to get a webcal link below `URL in Kalender-App einbinden`. - - Replace the `url` in the example configuration with this link. - - Replace the Year in the URL with `{%Y}` +howto: + en: | + - Goto and select your location. + - Click on `Exportieren iCal` to get a webcal link below `URL in Kalender-App einbinden`. + - Replace the `url` in the example configuration with this link. + - Replace the Year in the URL with `{%Y}` test_cases: - Altbensdorf: - url: "https://apm.wastebox.gemos-management.de/Gemos/WasteBox/Frontend/TourSchedule/Raw/Name/{%Y}/List/155643/1427,1429,1431,1433,1434,1435,1436,1437/180/Print/ics/Default/Abfuhrtermine.ics" + Altbensdorf: + url: + https://apm.wastebox.gemos-management.de/Gemos/WasteBox/Frontend/TourSchedule/Raw/Name/{%Y}/List/155643/1427,1429,1431,1433,1434,1435,1436,1437/180/Print/ics/Default/Abfuhrtermine.ics diff --git a/doc/ics/yaml/art_trier_de.yaml b/doc/ics/yaml/art_trier_de.yaml index 2053a255..7984b5d2 100644 --- a/doc/ics/yaml/art_trier_de.yaml +++ b/doc/ics/yaml/art_trier_de.yaml @@ -1,20 +1,22 @@ +--- title: ART Trier url: https://www.art-trier.de/ -howto: | - - Goto and select your municipality. - - Scroll down to `JAHRESKALENDER FÜR IHR OUTLOOK, ETC.` - - Set `Wann möchten Sie erinnert werden?` to `Keine Erinnerung` (not mandatory). - - Click on `> Kalender (ICS) importieren` to get a webcal link. Or click on the `ICS-Kalender Speichern` link to download the ics file copy the download link. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your municipality. + - Scroll down to `JAHRESKALENDER FÜR IHR OUTLOOK, ETC.` + - Set `Wann möchten Sie erinnert werden?` to `Keine Erinnerung` (not mandatory). + - Click on `> Kalender (ICS) importieren` to get a webcal link. Or click on the `ICS-Kalender Speichern` link to download the ics file copy the download link. + - Replace the `url` in the example configuration with this link. default_params: - split_at: " & " - regex: "(.*) - .* - A.R.T. Abfuhrtermin" + split_at: ' & ' + regex: (.*) - .* - A.R.T. Abfuhrtermin test_cases: - Basberg: - url: "webcal://art-trier.de/ics-feed/54578:Basberg::@.ics" - split_at: " & " - regex: "(.*) - .* - A.R.T. Abfuhrtermin" - Trier (Filsch), Edith-Stein-Straße: - url: "webcal://art-trier.de/ics-feed/54296:Trier:Edith-Stein-Stra%C3%9Fe:Filsch@.ics" - regex: "(.*) - .* - A.R.T. Abfuhrtermin" - split_at: " & " \ No newline at end of file + Basberg: + url: webcal://art-trier.de/ics-feed/54578:Basberg::@.ics + split_at: ' & ' + regex: (.*) - .* - A.R.T. Abfuhrtermin + Trier (Filsch), Edith-Stein-Straße: + url: webcal://art-trier.de/ics-feed/54296:Trier:Edith-Stein-Stra%C3%9Fe:Filsch@.ics + regex: (.*) - .* - A.R.T. Abfuhrtermin + split_at: ' & ' diff --git a/doc/ics/yaml/asf_online_de.yaml b/doc/ics/yaml/asf_online_de.yaml index e199782a..a1a5f5f8 100644 --- a/doc/ics/yaml/asf_online_de.yaml +++ b/doc/ics/yaml/asf_online_de.yaml @@ -1,10 +1,13 @@ +--- title: Schleswig-Flensburg (ASF) url: https://asf-online.de/ -howto: | - - Goto and select your location. - - You may want to select the `Abfallarten` if you do not want all to show up in your calendar. - - Right click -> copy-link the `Als Kalenderdatei (.ics) herunterladen` button to get the ICS link. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location. + - You may want to select the `Abfallarten` if you do not want all to show up in your calendar. + - Right click -> copy-link the `Als Kalenderdatei (.ics) herunterladen` button to get the ICS link. + - Replace the `url` in the example configuration with this link. test_cases: - Dannewerk Katenweg: - url: "https://www.asf-online.de/api_v2/collection_dates/1/ort/19/strasse/100/hausnummern/1/abfallarten/R04-R02-B02-D02-P04-P44-P22-R44-R42-R11R21-R54-R52-R61-R71-R82-B82-P82-D82/kalender.ics" + Dannewerk Katenweg: + url: + https://www.asf-online.de/api_v2/collection_dates/1/ort/19/strasse/100/hausnummern/1/abfallarten/R04-R02-B02-D02-P04-P44-P22-R44-R42-R11R21-R54-R52-R61-R71-R82-B82-P82-D82/kalender.ics diff --git a/doc/ics/yaml/asto_de.yaml b/doc/ics/yaml/asto_de.yaml index 6b4363a0..7caba690 100644 --- a/doc/ics/yaml/asto_de.yaml +++ b/doc/ics/yaml/asto_de.yaml @@ -1,14 +1,17 @@ +--- title: ASTO (Abfall- Sammel- und Transportverband Oberberg) url: https://www.asto.de/ -howto: | - - Goto and navigate to the `Abfallkalender` page. - - Click on `Digital / Mobil` in the left navigation sidebar, then select your region in the same sidebar. - - Select your address. - - Right-click -> copy link address on the `Jahreskalender (iCal)` button. - - Paste the copied link into the `url` parameter. - - You can remove the cHash part of the URL, it is not needed. - - It's recommended to replace the year in the URL with `{%Y}` so it will be automatically updated each year if the URL only changes the year. +howto: + en: | + - Goto and navigate to the `Abfallkalender` page. + - Click on `Digital / Mobil` in the left navigation sidebar, then select your region in the same sidebar. + - Select your address. + - Right-click -> copy link address on the `Jahreskalender (iCal)` button. + - Paste the copied link into the `url` parameter. + - You can remove the cHash part of the URL, it is not needed. + - It's recommended to replace the year in the URL with `{%Y}` so it will be automatically updated each year if the URL only changes the year. test_cases: - Marienheide Am Brandteich: - url: "https://www.asto.de/abfallkalender/{%Y}/abfallkalender-jahresdetail/jahrdetail-digital/staedte-listview/district-detailview/district-ical?tx_cctrashcalendar_fetrashcal%5Baction%5D=iCalExport&tx_cctrashcalendar_fetrashcal%5Bcontroller%5D=District&tx_cctrashcalendar_fetrashcal%5Bdistrict%5D=49364" + Marienheide Am Brandteich: + url: + https://www.asto.de/abfallkalender/{%Y}/abfallkalender-jahresdetail/jahrdetail-digital/staedte-listview/district-detailview/district-ical?tx_cctrashcalendar_fetrashcal%5Baction%5D=iCalExport&tx_cctrashcalendar_fetrashcal%5Bcontroller%5D=District&tx_cctrashcalendar_fetrashcal%5Bdistrict%5D=49364 diff --git a/doc/ics/yaml/avl_ludwigsburg_de.yaml b/doc/ics/yaml/avl_ludwigsburg_de.yaml index cd9832b2..fbb265fb 100644 --- a/doc/ics/yaml/avl_ludwigsburg_de.yaml +++ b/doc/ics/yaml/avl_ludwigsburg_de.yaml @@ -1,9 +1,12 @@ +--- title: AVL - Abfallverwertungsgesellschaft des Landkreises Ludwigsburg mbH url: https://www.avl-ludwigsburg.de/ -howto: | - - Goto and select your location. - - Click on `URL ANZEIGEN` to get a webcal link. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location. + - Click on `URL ANZEIGEN` to get a webcal link. + - Replace the `url` in the example configuration with this link. test_cases: - Sandgrubenweg 27: - url: "https://kundenportal.avl-lb.de/WasteManagementLudwigsburg/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=941092001&AboID=76574&Fra=BT;RT;PT;LT;GT" + Sandgrubenweg 27: + url: + https://kundenportal.avl-lb.de/WasteManagementLudwigsburg/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=941092001&AboID=76574&Fra=BT;RT;PT;LT;GT diff --git a/doc/ics/yaml/awb_landkreis_karlsruhe_de.yaml b/doc/ics/yaml/awb_landkreis_karlsruhe_de.yaml index 4a81b7c2..075a40c7 100644 --- a/doc/ics/yaml/awb_landkreis_karlsruhe_de.yaml +++ b/doc/ics/yaml/awb_landkreis_karlsruhe_de.yaml @@ -1,9 +1,12 @@ +--- title: Abfallwirtschaftsbetrieb Landkreis Karlsruhe url: https://www.awb-landkreis-karlsruhe.de/ -howto: | - - Goto and select your location. - - Click on `URL in die Zwischenablage kopieren` to copy link address. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location. + - Click on `URL in die Zwischenablage kopieren` to copy link address. + - Replace the `url` in the example configuration with this link. test_cases: Adlerstr. 1, 76694 Forst: - url: "https://waste.awb-landkreis-karlsruhe.de/WasteManagementKarlsruheHaushalteBlank/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=717948001&AboID=60498&Fra=RC2;RC1;BT2;BC;RT;Schad;WC;WT;BT1" + url: + https://waste.awb-landkreis-karlsruhe.de/WasteManagementKarlsruheHaushalteBlank/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=717948001&AboID=60498&Fra=RC2;RC1;BT2;BC;RT;Schad;WC;WT;BT1 diff --git a/doc/ics/yaml/awd_online_de.yaml b/doc/ics/yaml/awd_online_de.yaml index 0028f937..fd7aa207 100644 --- a/doc/ics/yaml/awd_online_de.yaml +++ b/doc/ics/yaml/awd_online_de.yaml @@ -1,10 +1,13 @@ +--- title: Abfallwirtschaft Dithmarschen (AWD) url: https://awd-online.de/ -howto: | - - Goto and select your location. - - You can either preselect your collection types now or modify them later using the customize option. - - Right click -> copy url the `Als Kalenderdatei (.ics) herunterladen` link. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location. + - You can either preselect your collection types now or modify them later using the customize option. + - Right click -> copy url the `Als Kalenderdatei (.ics) herunterladen` link. + - Replace the `url` in the example configuration with this link. test_cases: - Nordhastedt Hauptsr. 24A: - url: "https://api.awd-online.de/api_v2/collection_dates/1/ort/82/strasse/170/hausnummern/24A/abfallarten/R02-R04-R01-R21-B02-D02-P04-P02-P11-G0-W0/kalender.ics" + Nordhastedt Hauptsr. 24A: + url: + https://api.awd-online.de/api_v2/collection_dates/1/ort/82/strasse/170/hausnummern/24A/abfallarten/R02-R04-R01-R21-B02-D02-P04-P02-P11-G0-W0/kalender.ics diff --git a/doc/ics/yaml/awg_bassum_de.yaml b/doc/ics/yaml/awg_bassum_de.yaml index da839ddc..75368893 100644 --- a/doc/ics/yaml/awg_bassum_de.yaml +++ b/doc/ics/yaml/awg_bassum_de.yaml @@ -1,13 +1,15 @@ +--- title: AWG Bassum url: https://awg-bassum.de -howto: | - - Go to - - Click on "Ort wählen" and choose your location - - Type in your street address in "Ihre Straße" - - Click on the name of your street - - Scroll down and copy the link of "iCal herunterladen". - - Replace the `url` in the example configuration with this link. - - Replace the year in the URL with `{%Y}` to automatically get the current year. +howto: + en: | + - Go to + - Click on "Ort wählen" and choose your location + - Type in your street address in "Ihre Straße" + - Click on the name of your street + - Scroll down and copy the link of "iCal herunterladen". + - Replace the `url` in the example configuration with this link. + - Replace the year in the URL with `{%Y}` to automatically get the current year. test_cases: - Bassum / Alte Poststraße: - url: "https://www.awg-bassum.de/abfuhrkalender.html?year={%Y}&city=Bassum&street=Alte%20Poststr.&slug=Alte%20Poststr.------Bassum--27211--Bassum&ical=1" + Bassum / Alte Poststraße: + url: https://www.awg-bassum.de/abfuhrkalender.html?year={%Y}&city=Bassum&street=Alte%20Poststr.&slug=Alte%20Poststr.------Bassum--27211--Bassum&ical=1 diff --git a/doc/ics/yaml/awhas_de.yaml b/doc/ics/yaml/awhas_de.yaml index 179b1c7d..d8f1e7f7 100644 --- a/doc/ics/yaml/awhas_de.yaml +++ b/doc/ics/yaml/awhas_de.yaml @@ -1,15 +1,17 @@ +--- title: Abfallwirtschaft Landkreis Haßberge url: https://www.awhas.de/ -howto: | - - Goto . - - Select your Location and Garbage Types - - Click on "Termine und Daten laden" - - Select "Mehr" bottom left. - - Select "Erinnerungen beantragen" - - Select "weiter ..." - - Copy the Link from the Button "Termine als iCalendar". - - Replace the `url` in the example configuration with this link. - - Replace the year in the url with `{%Y}` this keeps the link working in the coming years. +howto: + en: | + - Goto . + - Select your Location and Garbage Types + - Click on "Termine und Daten laden" + - Select "Mehr" bottom left. + - Select "Erinnerungen beantragen" + - Select "weiter ..." + - Copy the Link from the Button "Termine als iCalendar". + - Replace the `url` in the example configuration with this link. + - Replace the year in the url with `{%Y}` this keeps the link working in the coming years. test_cases: AWHAS: - url: "https://awido.cubefour.de//Customer/awhas/KalenderICS.aspx?oid=99945703-4fb1-4949-a6d2-19d9f2deba13&jahr={%Y}&reminder=-1.21:00&fraktionen=1,2,3,4,11" + url: https://awido.cubefour.de//Customer/awhas/KalenderICS.aspx?oid=99945703-4fb1-4949-a6d2-19d9f2deba13&jahr={%Y}&reminder=-1.21:00&fraktionen=1,2,3,4,11 diff --git a/doc/ics/yaml/awista_starnberg_de.yaml b/doc/ics/yaml/awista_starnberg_de.yaml index 7e8fbf8f..0a18b4e0 100644 --- a/doc/ics/yaml/awista_starnberg_de.yaml +++ b/doc/ics/yaml/awista_starnberg_de.yaml @@ -1,9 +1,12 @@ +--- title: Awista Starnberg url: https://www.awista-starnberg.de/ -howto: | - - Goto and select your municipality. - - Click on `URL in die Zwischenablage kopieren`. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your municipality. + - Click on `URL in die Zwischenablage kopieren`. + - Replace the `url` in the example configuration with this link. test_cases: - Berg, Ahornweg 1: - url: "https://xmlcall.awista-starnberg.de/WasteManagementStarnberg/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=162188001&AboID=104609&Fra=P;R;B;S;G" + Berg, Ahornweg 1: + url: + https://xmlcall.awista-starnberg.de/WasteManagementStarnberg/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=162188001&AboID=104609&Fra=P;R;B;S;G diff --git a/doc/ics/yaml/awp_landkreis_pfaffenhofen.yaml b/doc/ics/yaml/awp_landkreis_pfaffenhofen.yaml index cc455e45..3fef0fd6 100644 --- a/doc/ics/yaml/awp_landkreis_pfaffenhofen.yaml +++ b/doc/ics/yaml/awp_landkreis_pfaffenhofen.yaml @@ -1,11 +1,14 @@ +--- title: Abfallwirtschaftsbetrieb des Landkreises Pfaffenhofen a.d.Ilm (AWP) url: https://www.awp-paf.de country: de -howto: | - - Goto and select your town. - - Enter your street and house number. - - Click on `ical-Kalenderabo` and `URL in die Zwischenablage kopieren` to get a webcal link. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your town. + - Enter your street and house number. + - Click on `ical-Kalenderabo` and `URL in die Zwischenablage kopieren` to get a webcal link. + - Replace the `url` in the example configuration with this link. test_cases: - Raiffeisenstr. 19: - url: "https://abfuhrtermine.awp-paf.de/WasteManagementPfaffenhofen/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=150372001&AboID=523613&Fra=P;B;S;RM" + Raiffeisenstr. 19: + url: + https://abfuhrtermine.awp-paf.de/WasteManagementPfaffenhofen/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=150372001&AboID=523613&Fra=P;B;S;RM diff --git a/doc/ics/yaml/aws_shg_de.yaml b/doc/ics/yaml/aws_shg_de.yaml index 06eabfd3..7d2b9a8c 100644 --- a/doc/ics/yaml/aws_shg_de.yaml +++ b/doc/ics/yaml/aws_shg_de.yaml @@ -1,9 +1,12 @@ +--- title: Abfallwirtschaftsgesellschaft Landkreis Schaumburg url: https://aws-shg.de -howto: | - - Goto and select your location. - - Under `ical-Kalenderabo`, click on `URL in die Zwischenablage kopieren` to copy the link address. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location. + - Under `ical-Kalenderabo`, click on `URL in die Zwischenablage kopieren` to copy the link address. + - Replace the `url` in the example configuration with this link. test_cases: Am Loh 1, 31559 Haste: - url: "https://kundenlogin.aws-shg.de/WasteManagementSchaumburg/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=367980001&AboID=201645&Fra=R;B;P;V;S" + url: + https://kundenlogin.aws-shg.de/WasteManagementSchaumburg/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=367980001&AboID=201645&Fra=R;B;P;V;S diff --git a/doc/ics/yaml/awu_oberhavel_de.yaml b/doc/ics/yaml/awu_oberhavel_de.yaml index 1518335e..b88c5d4a 100644 --- a/doc/ics/yaml/awu_oberhavel_de.yaml +++ b/doc/ics/yaml/awu_oberhavel_de.yaml @@ -1,9 +1,12 @@ +--- title: Oberhavel AWU url: https://www.awu-oberhavel.de -howto: | - - Goto and select your location. - - Right on `Alle Abfallarten` and select copy link. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location. + - Right on `Alle Abfallarten` and select copy link. + - Replace the `url` in the example configuration with this link. test_cases: - Fürstenberg Altthymener Dorfstraße: - url: "https://www.awu-oberhavel.de/fuer-haushalte/zusatzinfos/tourenplan/?no_cache=1&export=pap,hm,lvp,bio&city=F%C3%BCrstenberg/Havel%20OT%20Altthymen&street=Altthymener%20Dorfstra%C3%9Fe" + Fürstenberg Altthymener Dorfstraße: + url: + https://www.awu-oberhavel.de/fuer-haushalte/zusatzinfos/tourenplan/?no_cache=1&export=pap,hm,lvp,bio&city=F%C3%BCrstenberg/Havel%20OT%20Altthymen&street=Altthymener%20Dorfstra%C3%9Fe diff --git a/doc/ics/yaml/azv_hof_de.yaml b/doc/ics/yaml/azv_hof_de.yaml index 399f1a8c..05d7b17f 100644 --- a/doc/ics/yaml/azv_hof_de.yaml +++ b/doc/ics/yaml/azv_hof_de.yaml @@ -1,19 +1,23 @@ +--- title: AZV Stadt und Landkreis Hof url: https://azv-hof.de/ -howto: | - - Goto and select your location. - - Right-click, copy the link of the `KALENDER EXPORTIEREN` button to get the ICS link. - - Replace the `url` in the example configuration with this link. - - Replace the year in the link with `{%Y}`. - - Feel free to remove the cHash argument (e.g. `&cHash=34c2ea8698d8ebba9d6f9f97abce20cf`) from the link. - - If you want to ignore the `geschlossen` messages, add the `regex` option (second example) to the configuration. and use the customize parameter of the source to `display: False` all geschlossen entries. +howto: + en: | + - Goto and select your location. + - Right-click, copy the link of the `KALENDER EXPORTIEREN` button to get the ICS link. + - Replace the `url` in the example configuration with this link. + - Replace the year in the link with `{%Y}`. + - Feel free to remove the cHash argument (e.g. `&cHash=34c2ea8698d8ebba9d6f9f97abce20cf`) from the link. + - If you want to ignore the `geschlossen` messages, add the `regex` option (second example) to the configuration. and use the customize parameter of the source to `display: False` all geschlossen entries. default_params: - split_at: "\\+" + split_at: \+ test_cases: - Bärlas: - url: "https://www.azv-hof.de/privat/abfuhrtermine/abfuhrkalender-landkreis-hof.html?tx_abfuhrkalender_abfuhrkalender%5Baction%5D=list&tx_abfuhrkalender_abfuhrkalender%5Bansicht%5D=ico&tx_abfuhrkalender_abfuhrkalender%5Bcontroller%5D=Land&tx_abfuhrkalender_abfuhrkalender%5Bjahr%5D={%Y}&tx_abfuhrkalender_abfuhrkalender%5Bort%5D=24&tx_abfuhrkalender_abfuhrkalender%5Bstrasse%5D=&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Ba%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bb%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bg1%5D=0&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bg2%5D=0&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bp%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Br%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bw%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bx%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5By%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bz%5D=1&" - split_at: "\\+" - Bärlas without geschlossen messages: - url: "https://www.azv-hof.de/privat/abfuhrtermine/abfuhrkalender-landkreis-hof.html?tx_abfuhrkalender_abfuhrkalender%5Baction%5D=list&tx_abfuhrkalender_abfuhrkalender%5Bansicht%5D=ico&tx_abfuhrkalender_abfuhrkalender%5Bcontroller%5D=Land&tx_abfuhrkalender_abfuhrkalender%5Bjahr%5D={%Y}&tx_abfuhrkalender_abfuhrkalender%5Bort%5D=24&tx_abfuhrkalender_abfuhrkalender%5Bstrasse%5D=&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Ba%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bb%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bg1%5D=0&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bg2%5D=0&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bp%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Br%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bw%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bx%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5By%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bz%5D=1&" - split_at: "\\+" - regex: ".*([gG]eschlossen)\\." \ No newline at end of file + Bärlas: + url: + https://www.azv-hof.de/privat/abfuhrtermine/abfuhrkalender-landkreis-hof.html?tx_abfuhrkalender_abfuhrkalender%5Baction%5D=list&tx_abfuhrkalender_abfuhrkalender%5Bansicht%5D=ico&tx_abfuhrkalender_abfuhrkalender%5Bcontroller%5D=Land&tx_abfuhrkalender_abfuhrkalender%5Bjahr%5D={%Y}&tx_abfuhrkalender_abfuhrkalender%5Bort%5D=24&tx_abfuhrkalender_abfuhrkalender%5Bstrasse%5D=&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Ba%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bb%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bg1%5D=0&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bg2%5D=0&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bp%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Br%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bw%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bx%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5By%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bz%5D=1& + split_at: \+ + Bärlas without geschlossen messages: + url: + https://www.azv-hof.de/privat/abfuhrtermine/abfuhrkalender-landkreis-hof.html?tx_abfuhrkalender_abfuhrkalender%5Baction%5D=list&tx_abfuhrkalender_abfuhrkalender%5Bansicht%5D=ico&tx_abfuhrkalender_abfuhrkalender%5Bcontroller%5D=Land&tx_abfuhrkalender_abfuhrkalender%5Bjahr%5D={%Y}&tx_abfuhrkalender_abfuhrkalender%5Bort%5D=24&tx_abfuhrkalender_abfuhrkalender%5Bstrasse%5D=&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Ba%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bb%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bg1%5D=0&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bg2%5D=0&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bp%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Br%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bw%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bx%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5By%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bz%5D=1& + split_at: \+ + regex: .*([gG]eschlossen)\. diff --git a/doc/ics/yaml/barrowbc_gov_uk.yaml b/doc/ics/yaml/barrowbc_gov_uk.yaml index 8d9722ec..9e036b4d 100644 --- a/doc/ics/yaml/barrowbc_gov_uk.yaml +++ b/doc/ics/yaml/barrowbc_gov_uk.yaml @@ -1,14 +1,16 @@ +--- title: Westmorland & Furness Council, Barrow area url: https://barrowbc.gov.uk -howto: | - - Goto and select your location. - - Right click -> copy the url of the `Add to iCalendar` link. - - Replace the `url` in the example configuration with this link. (If you know your UPRN, you can just replace the last part of the url with it.) - - if you want to shorten your entry names use the `regex` line from the second example (`Grey lidded bins for General waste` will show up as `Grey`) +howto: + en: | + - Goto and select your location. + - Right click -> copy the url of the `Add to iCalendar` link. + - Replace the `url` in the example configuration with this link. (If you know your UPRN, you can just replace the last part of the url with it.) + - if you want to shorten your entry names use the `regex` line from the second example (`Grey lidded bins for General waste` will show up as `Grey`) test_cases: - 12 GLEASTON AVENUE, BARROW-IN-FURNESS, LA13 0BP: - url: "https://barrowbc.gov.uk/bins-recycling-and-street-cleaning/waste-collection-schedule/download/36022299" - SHORTENED, DALTON-IN-FURNESS, LA15 8HB: - url: "https://barrowbc.gov.uk/bins-recycling-and-street-cleaning/waste-collection-schedule/download/36032299" - regex: (.*) lidded .* \ No newline at end of file + 12 GLEASTON AVENUE, BARROW-IN-FURNESS, LA13 0BP: + url: https://barrowbc.gov.uk/bins-recycling-and-street-cleaning/waste-collection-schedule/download/36022299 + SHORTENED, DALTON-IN-FURNESS, LA15 8HB: + url: https://barrowbc.gov.uk/bins-recycling-and-street-cleaning/waste-collection-schedule/download/36032299 + regex: (.*) lidded .* diff --git a/doc/ics/yaml/bee_emden_de.yaml b/doc/ics/yaml/bee_emden_de.yaml index fa6b2f2f..a488d047 100644 --- a/doc/ics/yaml/bee_emden_de.yaml +++ b/doc/ics/yaml/bee_emden_de.yaml @@ -1,15 +1,17 @@ +--- title: Bau- und Entsorgungsbetrieb Emden url: https://bee-emden.de/ -howto: | - - Goto and search your location or find your `Bezirk`. - - Right click and copy the link of the `abonnieren` button after your `Bezirk` or address. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and search your location or find your `Bezirk`. + - Right click and copy the link of the `abonnieren` button after your `Bezirk` or address. + - Replace the `url` in the example configuration with this link. default_params: - split_at: "," + split_at: ',' test_cases: - Port Arthur / Transvaal: - url: "https://www.bee-emden.de/abfall/entsorgungssystem/abfuhrkalender/ics/port-arthur-transvaal/abfuhrkalender.ics" - split_at: "," - Larrelt: - url: "https://www.bee-emden.de/abfall/entsorgungssystem/abfuhrkalender/ics/larrelt/abfuhrkalender.ics" - split_at: "," + Port Arthur / Transvaal: + url: https://www.bee-emden.de/abfall/entsorgungssystem/abfuhrkalender/ics/port-arthur-transvaal/abfuhrkalender.ics + split_at: ',' + Larrelt: + url: https://www.bee-emden.de/abfall/entsorgungssystem/abfuhrkalender/ics/larrelt/abfuhrkalender.ics + split_at: ',' diff --git a/doc/ics/yaml/blauetonne_schlauetonne_de.yaml b/doc/ics/yaml/blauetonne_schlauetonne_de.yaml index 57f0f807..a1f047ba 100644 --- a/doc/ics/yaml/blauetonne_schlauetonne_de.yaml +++ b/doc/ics/yaml/blauetonne_schlauetonne_de.yaml @@ -1,10 +1,12 @@ +--- title: Blaue Tonne - Schlaue Tonne url: https://www.blauetonne-schlauetonne.de/ -howto: | - - Goto and select your location. - - Right-click on `iCal Download` link and copy link address. - - Replace the `url` in the example configuration with this link. - - Replace the year in the url with `{%Y}`. +howto: + en: | + - Goto and select your location. + - Right-click on `iCal Download` link and copy link address. + - Replace the `url` in the example configuration with this link. + - Replace the year in the url with `{%Y}`. test_cases: Altlußheim: - url: "https://www.blauetonne-schlauetonne.de/abfuhrkalender/{%Y}/altlussheim-altlussheim-1668.ics" + url: https://www.blauetonne-schlauetonne.de/abfuhrkalender/{%Y}/altlussheim-altlussheim-1668.ics diff --git a/doc/ics/yaml/bodenseekreis_de.yaml b/doc/ics/yaml/bodenseekreis_de.yaml index 0d3bb00e..2723df09 100644 --- a/doc/ics/yaml/bodenseekreis_de.yaml +++ b/doc/ics/yaml/bodenseekreis_de.yaml @@ -1,10 +1,12 @@ +--- title: Landratsamt Bodenseekreis url: https://www.bodenseekreis.de/ -howto: | - - Goto and select your municipality. - - Click on `iCal-Kalender` and copy link address. - - Replace the `url` in the example configuration with this link. - - Replace the year in the url with `{%Y}`. +howto: + en: | + - Goto and select your municipality. + - Click on `iCal-Kalender` and copy link address. + - Replace the `url` in the example configuration with this link. + - Replace the year in the url with `{%Y}`. test_cases: - Hagnau: - url: "https://www.bodenseekreis.de/umwelt-landnutzung/abfallentsorgung-privat/termine/abfuhrkalender/export/2023/hagnau/1,4,2,5,16,7,9,8,10,6/ics/" + Hagnau: + url: https://www.bodenseekreis.de/umwelt-landnutzung/abfallentsorgung-privat/termine/abfuhrkalender/export/2023/hagnau/1,4,2,5,16,7,9,8,10,6/ics/ diff --git a/doc/ics/yaml/brent_gov_uk.yaml b/doc/ics/yaml/brent_gov_uk.yaml index a5ac10ea..b0387223 100644 --- a/doc/ics/yaml/brent_gov_uk.yaml +++ b/doc/ics/yaml/brent_gov_uk.yaml @@ -1,10 +1,12 @@ +--- title: Brent Council url: https://www.brent.gov.uk -howto: | - - Goto and enter your post code, and on the following page select your address. - - Right click -> copy the url of the `Add to your calendar (.ics file)` link. - - Replace the `url` in the example configuration with this link. (If you know your address reference, you can just replace the last part of the url with it.) +howto: + en: | + - Goto and enter your post code, and on the following page select your address. + - Right click -> copy the url of the `Add to your calendar (.ics file)` link. + - Replace the `url` in the example configuration with this link. (If you know your address reference, you can just replace the last part of the url with it.) test_cases: - 25 Shaftesbury Avenue, Harrow, HA3 0QU: - url: "https://recyclingservices.brent.gov.uk/waste/2038877/calendar.ics" + 25 Shaftesbury Avenue, Harrow, HA3 0QU: + url: https://recyclingservices.brent.gov.uk/waste/2038877/calendar.ics diff --git a/doc/ics/yaml/buelach_ch.yaml b/doc/ics/yaml/buelach_ch.yaml index 22d6a0f5..f4bb39bc 100644 --- a/doc/ics/yaml/buelach_ch.yaml +++ b/doc/ics/yaml/buelach_ch.yaml @@ -1,9 +1,11 @@ +--- title: Stadt Bülach url: https://www.buelach.ch/ -howto: | - - Visit . - - Right-click -> copy link address on the "Entsorgungskalender" link to get the link to the ICS file. - - Use this url as the `url` argument. +howto: + en: | + - Visit . + - Right-click -> copy link address on the "Entsorgungskalender" link to get the link to the ICS file. + - Use this url as the `url` argument. test_cases: - Ost: - url: "https://eventfrog.ch/stream/de/eventgroup/6652857603254677856.ics?addId=6663904187270590577" + Ost: + url: https://eventfrog.ch/stream/de/eventgroup/6652857603254677856.ics?addId=6663904187270590577 diff --git a/doc/ics/yaml/contarina_it.yaml b/doc/ics/yaml/contarina_it.yaml index a9817550..bd954c2e 100644 --- a/doc/ics/yaml/contarina_it.yaml +++ b/doc/ics/yaml/contarina_it.yaml @@ -1,72 +1,74 @@ +--- title: Contarina S.p.A url: https://contarina.it/ country: it -howto: | - - Copy the `url` in the example configuration with this link. - - Replace the url's `{zone}` substring with your location's zone code (check below for the chart) - - Keeping `regex` and `split_at` as they are will remove potetially unnecessary names and split the waste types if there are multiple in one day. - - Zone codes `{code} : {zone}`: - - 1 : "Treviso - cintura urbana", - - 2 : "Treviso - fuori mura", - - 3 : "Treviso - centro storico", - - 4 : "Arcade", - - 5 : "Breda di Piave", - - 6 : "Carbonera", - - 7 : "Casale sul Sile", - - 8 : "Casier", - - 9 : "Giavera del Montello", - - 10 : "Maserada sul Piave", - - 11 : "Monastier di Treviso", - - 12 : "Morgano", - - 13 : "Nervesa della Battaglia", - - 14 : "Paese", - - 15 : "Ponzano Veneto", - - 16 : "Povegliano", - - 17 : "Preganziol", - - 18 : "Quinto di Treviso", - - 19 : "Roncade", - - 20 : "San Biagio di Callalta", - - 21 : "Silea", - - 22 : "Spresiano", - - 23 : "Susegana", - - 24 : "Villorba", - - 25 : "Volpago del Montello", - - 26 : "Zenson di Piave", - - 27 : "Zero Branco", - - 28 : "Altivole", - - 29 : "Asolo - centro storico", - - 30 : "Asolo - fuori centro storico", - - 31 : "Borso del Grappa", - - 32 : "Caerano di San Marco", - - 33 : "Castelcucco", - - 34 : "Castelfranco Veneto - centro storico", - - 35 : "Castelfranco Veneto - fuori centro storico", - - 36 : "Castello di Godego", - - 37 : "Cavaso del Tomba", - - 38 : "Cornuda", - - 40 : "Crocetta del Montello", - - 41 : "Fonte", - - 42 : "Istrana", - - 43 : "Loria", - - 44 : "Maser", - - 45 : "Monfumo", - - 46 : "Montebelluna - centro storico", - - 47 : "Montebelluna - fuori centro storico", - - 49 : "Pederobba", - - 50 : "Possagno", - - 51 : "Resana", - - 52 : "Riese Pio X", - - 53 : "San Zenone degli Ezzelini", - - 54 : "Trevignano", - - 55 : "Vedelago", - - 56 : "Pieve del Grappa" +howto: + en: | + - Copy the `url` in the example configuration with this link. + - Replace the url's `{zone}` substring with your location's zone code (check below for the chart) + - Keeping `regex` and `split_at` as they are will remove potetially unnecessary names and split the waste types if there are multiple in one day. + + Zone codes `{code} : {zone}`: + - 1 : "Treviso - cintura urbana", + - 2 : "Treviso - fuori mura", + - 3 : "Treviso - centro storico", + - 4 : "Arcade", + - 5 : "Breda di Piave", + - 6 : "Carbonera", + - 7 : "Casale sul Sile", + - 8 : "Casier", + - 9 : "Giavera del Montello", + - 10 : "Maserada sul Piave", + - 11 : "Monastier di Treviso", + - 12 : "Morgano", + - 13 : "Nervesa della Battaglia", + - 14 : "Paese", + - 15 : "Ponzano Veneto", + - 16 : "Povegliano", + - 17 : "Preganziol", + - 18 : "Quinto di Treviso", + - 19 : "Roncade", + - 20 : "San Biagio di Callalta", + - 21 : "Silea", + - 22 : "Spresiano", + - 23 : "Susegana", + - 24 : "Villorba", + - 25 : "Volpago del Montello", + - 26 : "Zenson di Piave", + - 27 : "Zero Branco", + - 28 : "Altivole", + - 29 : "Asolo - centro storico", + - 30 : "Asolo - fuori centro storico", + - 31 : "Borso del Grappa", + - 32 : "Caerano di San Marco", + - 33 : "Castelcucco", + - 34 : "Castelfranco Veneto - centro storico", + - 35 : "Castelfranco Veneto - fuori centro storico", + - 36 : "Castello di Godego", + - 37 : "Cavaso del Tomba", + - 38 : "Cornuda", + - 40 : "Crocetta del Montello", + - 41 : "Fonte", + - 42 : "Istrana", + - 43 : "Loria", + - 44 : "Maser", + - 45 : "Monfumo", + - 46 : "Montebelluna - centro storico", + - 47 : "Montebelluna - fuori centro storico", + - 49 : "Pederobba", + - 50 : "Possagno", + - 51 : "Resana", + - 52 : "Riese Pio X", + - 53 : "San Zenone degli Ezzelini", + - 54 : "Trevignano", + - 55 : "Vedelago", + - 56 : "Pieve del Grappa" default_params: - url: "https://contarina.it/ajax/moduli/appbugfixapi/genera_ics_calendari?id_zona={zone}" - split_at: ", " - regex: ".*: (.*)" + url: https://contarina.it/ajax/moduli/appbugfixapi/genera_ics_calendari?id_zona={zone} + split_at: ', ' + regex: '.*: (.*)' test_cases: - Treviso - cintura urbana": - url: "https://contarina.it/ajax/moduli/appbugfixapi/genera_ics_calendari?id_zona=1" - split_at: ", " - regex: ".*: (.*)" + Treviso - cintura urbana": + url: https://contarina.it/ajax/moduli/appbugfixapi/genera_ics_calendari?id_zona=1 + split_at: ', ' + regex: '.*: (.*)' diff --git a/doc/ics/yaml/detmold_de.yaml b/doc/ics/yaml/detmold_de.yaml index 925901eb..1c8615af 100644 --- a/doc/ics/yaml/detmold_de.yaml +++ b/doc/ics/yaml/detmold_de.yaml @@ -1,15 +1,17 @@ +--- title: Stadt Detmold url: https://www.detmold.de/ -howto: | - - Goto and select your location. - - Click on `Weitere Information`. - - Click on `Download ics-Datei (iCal). - - Right-click on `Download` link and copy link address. - - Replace the `url` in the example configuration with this link. - - Replace the year in the url with `{%Y}`. +howto: + en: | + - Goto and select your location. + - Click on `Weitere Information`. + - Click on `Download ics-Datei (iCal). + - Right-click on `Download` link and copy link address. + - Replace the `url` in the example configuration with this link. + - Replace the year in the url with `{%Y}`. default_params: - regex: "Müllabfuhr: (.*)" + regex: 'Müllabfuhr: (.*)' test_cases: - Beateweg: - url: "https://abfuhrkalender.detmold.de/icsmaker.php?strid=146&year={%Y}" - regex: "Müllabfuhr: (.*)" \ No newline at end of file + Beateweg: + url: https://abfuhrkalender.detmold.de/icsmaker.php?strid=146&year={%Y} + regex: 'Müllabfuhr: (.*)' diff --git a/doc/ics/yaml/ebu_ulm_de.yaml b/doc/ics/yaml/ebu_ulm_de.yaml index 321126f0..89cf0aac 100644 --- a/doc/ics/yaml/ebu_ulm_de.yaml +++ b/doc/ics/yaml/ebu_ulm_de.yaml @@ -1,10 +1,12 @@ +--- title: ULM (EBU) url: https://ebu-ulm.de -howto: | - - Goto and select your location. - - Scroll down and copy the link of the `ICS Kalenderdaten für Outlook / iCal...` button. - - Replace the `url` in the example configuration with this link. - - Replcae the year with `{%Y}` to keep the link valid for following years. +howto: + en: | + - Goto and select your location. + - Scroll down and copy the link of the `ICS Kalenderdaten für Outlook / iCal...` button. + - Replace the `url` in the example configuration with this link. + - Replcae the year with `{%Y}` to keep the link valid for following years. test_cases: - bezirk 4 (Hauptbahnhof): - url: "https://www.ebu-ulm.de/export.php?bezirk=4&jahr={%Y}" + bezirk 4 (Hauptbahnhof): + url: https://www.ebu-ulm.de/export.php?bezirk=4&jahr={%Y} diff --git a/doc/ics/yaml/edg_de.yaml b/doc/ics/yaml/edg_de.yaml index 1e20f648..861ce668 100644 --- a/doc/ics/yaml/edg_de.yaml +++ b/doc/ics/yaml/edg_de.yaml @@ -1,14 +1,17 @@ -title: EDG Entsorgung Dortmund +--- +title: EDG Entsorgung Dortmund url: https://www.edg.de/ -howto: | - - Goto and select your location and press `weiter`. - - Click on `URL in die Zwischenablage kopieren` to copy the ical url. - - Replace the `url` in the example configuration with this link. - - Leave the `regex` untouched - - You can use the different types as `Bioabfall`, `Altpapier`, `Restabfall` and `Wertstoffe` +howto: + en: | + - Goto and select your location and press `weiter`. + - Click on `URL in die Zwischenablage kopieren` to copy the ical url. + - Replace the `url` in the example configuration with this link. + - Leave the `regex` untouched + - You can use the different types as `Bioabfall`, `Altpapier`, `Restabfall` and `Wertstoffe` default_params: - regex: "^(\\w*) \\d* .*" + regex: ^(\w*) \d* .* test_cases: - Baackweg 1: - url: "https://kundenportal.edg.de/WasteManagementDortmund/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=1271001001&AboID=66930&Fra=P;R;B;W" - regex: "^(\\w*) \\d* .*" \ No newline at end of file + Baackweg 1: + url: + https://kundenportal.edg.de/WasteManagementDortmund/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=1271001001&AboID=66930&Fra=P;R;B;W + regex: ^(\w*) \d* .* diff --git a/doc/ics/yaml/ekm_mittelsachsen_de.yaml b/doc/ics/yaml/ekm_mittelsachsen_de.yaml index bef3dbb5..0dc066ee 100644 --- a/doc/ics/yaml/ekm_mittelsachsen_de.yaml +++ b/doc/ics/yaml/ekm_mittelsachsen_de.yaml @@ -1,12 +1,15 @@ +--- title: EKM Mittelsachsen GmbH url: https://www.ekm-mittelsachsen.de/ -howto: | - - Goto - - Select a year and your location. - - Right-click on `Digitalen Kalender exportieren` to copy the link. - - Replace the `url` in the example configuration with this link. - - Replace the year in the pasted link by {%Y} +howto: + en: | + - Goto + - Select a year and your location. + - Right-click on `Digitalen Kalender exportieren` to copy the link. + - Replace the `url` in the example configuration with this link. + - Replace the year in the pasted link by {%Y} test_cases: Flöha, OT Falkenau: - url: "https://www.ekm-mittelsachsen.de/service-dienstleistungen/entsorgungstermine-abfallkalender?tx_ekmabfallkalender_abfallkalender%5Baction%5D=getIcal&tx_ekmabfallkalender_abfallkalender%5Bcity_id%5D=9886&tx_ekmabfallkalender_abfallkalender%5Bdistrict_id%5D=6871&tx_ekmabfallkalender_abfallkalender%5Byear%5D={%Y}&cHash=fcebd5160307e9c5690f3c7e02dcd869&tx_ekmabfallkalender_abfallkalender[types][]=r&tx_ekmabfallkalender_abfallkalender[types][]=p&tx_ekmabfallkalender_abfallkalender[types][]=l&tx_ekmabfallkalender_abfallkalender[trigger_days]=0" + url: + https://www.ekm-mittelsachsen.de/service-dienstleistungen/entsorgungstermine-abfallkalender?tx_ekmabfallkalender_abfallkalender%5Baction%5D=getIcal&tx_ekmabfallkalender_abfallkalender%5Bcity_id%5D=9886&tx_ekmabfallkalender_abfallkalender%5Bdistrict_id%5D=6871&tx_ekmabfallkalender_abfallkalender%5Byear%5D={%Y}&cHash=fcebd5160307e9c5690f3c7e02dcd869&tx_ekmabfallkalender_abfallkalender[types][]=r&tx_ekmabfallkalender_abfallkalender[types][]=p&tx_ekmabfallkalender_abfallkalender[types][]=l&tx_ekmabfallkalender_abfallkalender[trigger_days]=0 diff --git a/doc/ics/yaml/entsorgung_cham_de.yaml b/doc/ics/yaml/entsorgung_cham_de.yaml index d3c75a52..4c0e3def 100644 --- a/doc/ics/yaml/entsorgung_cham_de.yaml +++ b/doc/ics/yaml/entsorgung_cham_de.yaml @@ -1,15 +1,18 @@ +--- title: Cham Landkreis url: https://entsorgung-cham.de -howto: | - - Goto and select your location. - - Click on `Termine {YEAR} im Kalender speichern (ICS)` and `Kalenderdaten {YEAR} herunterladen`. - - Copy the download link address. - - Replace the `url` in the example configuration with this link. - - Replace the year argument with `{%Y}`, so the source will work for all years. - - For easier automations and source configurations you probably want to add the `regex` argument like in the examle below. This will remove the date from the event title. +howto: + en: | + - Goto and select your location. + - Click on `Termine {YEAR} im Kalender speichern (ICS)` and `Kalenderdaten {YEAR} herunterladen`. + - Copy the download link address. + - Replace the `url` in the example configuration with this link. + - Replace the year argument with `{%Y}`, so the source will work for all years. + - For easier automations and source configurations you probably want to add the `regex` argument like in the examle below. This will remove the date from the event title. default_params: - regex: "(.*) \\d{2}\\.\\d{2}\\.\\d{4}" + regex: (.*) \d{2}\.\d{2}\.\d{4} test_cases: - Arrach, Am Anger: - url: "https://pwa.entsorgung-cham.de/php/generateICS.php?year={%Y}&plz=93474&ort=Arrach&ort_ID=2&strasse=Am%20Anger&nr=&zusatz=&rm=203&pt=615&ws=206&rm_u=3&pt_u=3&ws_u=3&rmYes=1&ptYes=1&wsYes=1" - regex: "(.*) \\d{2}\\.\\d{2}\\.\\d{4}" \ No newline at end of file + Arrach, Am Anger: + url: + https://pwa.entsorgung-cham.de/php/generateICS.php?year={%Y}&plz=93474&ort=Arrach&ort_ID=2&strasse=Am%20Anger&nr=&zusatz=&rm=203&pt=615&ws=206&rm_u=3&pt_u=3&ws_u=3&rmYes=1&ptYes=1&wsYes=1 + regex: (.*) \d{2}\.\d{2}\.\d{4} diff --git a/doc/ics/yaml/entsorgung_regional_de.yaml b/doc/ics/yaml/entsorgung_regional_de.yaml index 7f93bd55..ae7cbcfe 100644 --- a/doc/ics/yaml/entsorgung_regional_de.yaml +++ b/doc/ics/yaml/entsorgung_regional_de.yaml @@ -1,18 +1,21 @@ +--- title: Abfallwirtschaft Enzkreis url: https://www.entsorgung-regional.de/ -howto: | - - Goto and select your location. - - Select all waste types (or at least the ones you want to be reminded of). - - Replace the `url` in the example configuration with this link. - - Do not forget the method and params parameter. +howto: + en: | + - Goto and select your location. + - Select all waste types (or at least the ones you want to be reminded of). + - Replace the `url` in the example configuration with this link. + - Do not forget the method and params parameter. default_params: - method: POST - params: - ICS_DOWNLOAD: 3def184ad8f4755ff269862ea77393dd + method: POST + params: + ICS_DOWNLOAD: 3def184ad8f4755ff269862ea77393dd test_cases: - Engelsbrand: - url: "https://www.entsorgung-regional.de/entsorgung/leerungstermine/terminservice-ics-datei.html?icsgemeinde=Engelsbrand&icsortsteil=Salmbach&icsabfallart[]=Bioabfall&icsabfallart[]=Elektrogroßgeräte&icsabfallart[]=Glas&icsabfallart[]=LVP&icsabfallart[]=Papier&icsabfallart[]=Restmüll&icsabfallart[]=Schadstoff&icsabfallart[]=Sperrmüll" - method: POST - params: - ICS_DOWNLOAD: 3def184ad8f4755ff269862ea77393dd \ No newline at end of file + Engelsbrand: + url: + https://www.entsorgung-regional.de/entsorgung/leerungstermine/terminservice-ics-datei.html?icsgemeinde=Engelsbrand&icsortsteil=Salmbach&icsabfallart[]=Bioabfall&icsabfallart[]=Elektrogroßgeräte&icsabfallart[]=Glas&icsabfallart[]=LVP&icsabfallart[]=Papier&icsabfallart[]=Restmüll&icsabfallart[]=Schadstoff&icsabfallart[]=Sperrmüll + method: POST + params: + ICS_DOWNLOAD: 3def184ad8f4755ff269862ea77393dd diff --git a/doc/ics/yaml/entsorgung_sad_de.yaml b/doc/ics/yaml/entsorgung_sad_de.yaml index 4360a200..10acab64 100644 --- a/doc/ics/yaml/entsorgung_sad_de.yaml +++ b/doc/ics/yaml/entsorgung_sad_de.yaml @@ -1,14 +1,17 @@ +--- title: LK Schwandorf url: https://entsorgung-sad.de -howto: | - - Goto and select your location. - - Click on `ICS-Datei herunterladen` copy the download link of the downloaded ics file. - - Replace the `url` in the example configuration with this link. - - The `regex` is used to extract the pickup date from the event title. +howto: + en: | + - Goto and select your location. + - Click on `ICS-Datei herunterladen` copy the download link of the downloaded ics file. + - Replace the `url` in the example configuration with this link. + - The `regex` is used to extract the pickup date from the event title. default_params: - regex: (.*) \d{2}.\d{2}.\d{4}$ + regex: (.*) \d{2}.\d{2}.\d{4}$ test_cases: - 93133 Hauptstraße: - url: "https://entsorgung-sad.de/steuerung/ics.php?plz=93133&ort=Burglengenfeld&ort_ID=4&strasse=Hauptstra%C3%9Fe&rm=202&pt=407&ws=417&spm=0&nr=&zusatz=&email=" - regex: (.*) \d{2}.\d{2}.\d{4}$ + 93133 Hauptstraße: + url: + https://entsorgung-sad.de/steuerung/ics.php?plz=93133&ort=Burglengenfeld&ort_ID=4&strasse=Hauptstra%C3%9Fe&rm=202&pt=407&ws=417&spm=0&nr=&zusatz=&email= + regex: (.*) \d{2}.\d{2}.\d{4}$ diff --git a/doc/ics/yaml/entsorgungsbetrieb_mol_de.yaml b/doc/ics/yaml/entsorgungsbetrieb_mol_de.yaml index bd49762e..f0a4634a 100644 --- a/doc/ics/yaml/entsorgungsbetrieb_mol_de.yaml +++ b/doc/ics/yaml/entsorgungsbetrieb_mol_de.yaml @@ -1,10 +1,13 @@ +--- title: Entsorgungsbetrieb Märkisch-Oderland url: https://www.entsorgungsbetrieb-mol.de/ -howto: | - - Goto and select your location. - - copy the link of the `ICS` button. - - Replace the `url` in the example configuration with this link. - - Replace the year in the url with `{%Y}` (as shown in the example). +howto: + en: | + - Goto and select your location. + - copy the link of the `ICS` button. + - Replace the `url` in the example configuration with this link. + - Replace the year in the url with `{%Y}` (as shown in the example). test_cases: - Buckow, Hasenholz: - url: "https://api.abfall.io/?key=efb75cbd1f08fae1d4e47ae72a85c655&mode=export&idhousenumber=7701&wastetypes=18,2139,20,2639,295,42,1480&timeperiod={%Y}0101-{%Y}1231&showinactive=false&type=ics" + Buckow, Hasenholz: + url: + https://api.abfall.io/?key=efb75cbd1f08fae1d4e47ae72a85c655&mode=export&idhousenumber=7701&wastetypes=18,2139,20,2639,295,42,1480&timeperiod={%Y}0101-{%Y}1231&showinactive=false&type=ics diff --git a/doc/ics/yaml/entsorgungstermine_jena_de.yaml b/doc/ics/yaml/entsorgungstermine_jena_de.yaml index 78cbac12..0a5e6122 100644 --- a/doc/ics/yaml/entsorgungstermine_jena_de.yaml +++ b/doc/ics/yaml/entsorgungstermine_jena_de.yaml @@ -1,10 +1,12 @@ +--- title: Entsorgungstermine Jena url: https://entsorgungstermine.jena.de -howto: | - - Goto and select your address. - - For all bin types do not select any bin type - - Copy the link of the `ICS Jahr` button - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your address. + - For all bin types do not select any bin type + - Copy the link of the `ICS Jahr` button + - Replace the `url` in the example configuration with this link. test_cases: Altenburger Strasse 15-19: - url: "https://entsorgungstermine.jena.de/makeICSAll??x=true&street=Altenburger+Stra%C3%9Fe&hnummer=15-19" + url: https://entsorgungstermine.jena.de/makeICSAll??x=true&street=Altenburger+Stra%C3%9Fe&hnummer=15-19 diff --git a/doc/ics/yaml/esg_soest_de.yaml b/doc/ics/yaml/esg_soest_de.yaml index ae694d1e..fe752d52 100644 --- a/doc/ics/yaml/esg_soest_de.yaml +++ b/doc/ics/yaml/esg_soest_de.yaml @@ -1,10 +1,12 @@ +--- title: ESG Soest - Entsorgungswirtschaft Soest GmbH url: https://www.esg-soest.de/ -howto: | - - Goto and select your location and press `weiter`. - - Enter your street and press `weiter`. - - Right click and copy the link of the `.ics-Datei` button. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location and press `weiter`. + - Enter your street and press `weiter`. + - Right click and copy the link of the `.ics-Datei` button. + - Replace the `url` in the example configuration with this link. test_cases: - Rathausstraße (Soest): - url: "https://www.esg-soest.de/abfallkalender/soest/rathausstrasse/herunterladen" + Rathausstraße (Soest): + url: https://www.esg-soest.de/abfallkalender/soest/rathausstrasse/herunterladen diff --git a/doc/ics/yaml/eva_abfallentsorgung_de.yaml b/doc/ics/yaml/eva_abfallentsorgung_de.yaml index 5319371b..48fd1e62 100644 --- a/doc/ics/yaml/eva_abfallentsorgung_de.yaml +++ b/doc/ics/yaml/eva_abfallentsorgung_de.yaml @@ -1,21 +1,23 @@ +--- title: EVA Abfallentsorgung url: https://www.eva-abfallentsorgung.de/ -howto: | - - Goto https://www.eva-abfallentsorgung.de/Service-Center/Abfallentsorgung/Abfuhrkalender%20individuell# - - Choose Place and Location - - Click on ICS-Datei Kalender herunterladen - - Turn off Erinnerung and select Alarm Meldung anzeigen - - Copy the link of the download ICS - - Replace the url in the example configuration with this link - - You might want to add a regex to the split_at parameter to remove the location from the title (Restmüll In Böbing, Böbing) +howto: + en: | + - Goto https://www.eva-abfallentsorgung.de/Service-Center/Abfallentsorgung/Abfuhrkalender%20individuell# + - Choose Place and Location + - Click on ICS-Datei Kalender herunterladen + - Turn off Erinnerung and select Alarm Meldung anzeigen + - Copy the link of the download ICS + - Replace the url in the example configuration with this link + - You might want to add a regex to the split_at parameter to remove the location from the title (Restmüll In Böbing, Böbing) default_params: - split_at: " & " + split_at: ' & ' test_cases: Ingenried with regex: url: https://www.eva-abfallentsorgung.de/genics?ort=Ingenried&strasse=10477&strassenname=Ingenried&erinnerung=0&alarm=0&r=1&b=1&g=1&p=1&s=1 - split_at: " & " - regex: "^(.*) in " + split_at: ' & ' + regex: '^(.*) in ' Böbing Without regex: url: https://www.eva-abfallentsorgung.de/genics?ort=B%C3%B6bing&strasse=10484&strassenname=B%C3%B6bing&erinnerung=0&alarm=0&r=1&b=1&g=1&p=1&s=1 - split_at: " & " \ No newline at end of file + split_at: ' & ' diff --git a/doc/ics/yaml/falkirk_gov_uk.yaml b/doc/ics/yaml/falkirk_gov_uk.yaml index e2428baa..a8964a83 100644 --- a/doc/ics/yaml/falkirk_gov_uk.yaml +++ b/doc/ics/yaml/falkirk_gov_uk.yaml @@ -1,10 +1,12 @@ +--- title: Falkirk url: https://www.falkirk.gov.uk/ -howto: | - - Goto and select your location. - - Click on `Add to smartphone`. - - select Android and uncheck Remind me. - - Replace the `url` in the example configuration with the link shown in the bar below `Remind me`. +howto: + en: | + - Goto and select your location. + - Click on `Add to smartphone`. + - select Android and uncheck Remind me. + - Replace the `url` in the example configuration with the link shown in the bar below `Remind me`. test_cases: - 23, WEIR STREET, FALKIRK, FK1 1RB: - url: "webcal://www.falkirk.gov.uk/bin-ical?uprn=136028227" + 23, WEIR STREET, FALKIRK, FK1 1RB: + url: webcal://www.falkirk.gov.uk/bin-ical?uprn=136028227 diff --git a/doc/ics/yaml/fes_frankfurt_de.yaml b/doc/ics/yaml/fes_frankfurt_de.yaml index 2f62392f..0fd0e32e 100644 --- a/doc/ics/yaml/fes_frankfurt_de.yaml +++ b/doc/ics/yaml/fes_frankfurt_de.yaml @@ -1,16 +1,18 @@ +--- title: FES Frankfurter Entsorgungs- und Service GmbH url: https://www.fes-frankfurt.de/ -howto: | - - Goto and select your location. - - Click on `Kalender`. - - Copy link address. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location. + - Click on `Kalender`. + - Copy link address. + - Replace the `url` in the example configuration with this link. default_params: - regex: "(.*)\\s+\\|" - split_at: " \/ " + regex: (.*)\s+\| + split_at: ' / ' test_cases: - Achenbachstr. 2: - url: "https://www.fes-frankfurt.de/abfallkalender/QWNoZW5iYWNoc3RyLnwyfDYwNTk2.ics" - regex: "(.*)\\s+\\|" - split_at: " \/ " \ No newline at end of file + Achenbachstr. 2: + url: https://www.fes-frankfurt.de/abfallkalender/QWNoZW5iYWNoc3RyLnwyfDYwNTk2.ics + regex: (.*)\s+\| + split_at: ' / ' diff --git a/doc/ics/yaml/floersheim_umweltkalender_de.yaml b/doc/ics/yaml/floersheim_umweltkalender_de.yaml index 08cbe83b..b8aeb66e 100644 --- a/doc/ics/yaml/floersheim_umweltkalender_de.yaml +++ b/doc/ics/yaml/floersheim_umweltkalender_de.yaml @@ -1,11 +1,14 @@ +--- title: Flörsheim Am Main url: https://www.floersheim-umweltkalender.de -howto: | - - Visit and select your location. - - Richt click -> copy link address on `Kalender für das ganze Jahr im iCal (ics) Format herunterladen` to get the ical link. - - Replace the `url` in the example configuration with this link. - - You might want to add regex `(.*?, .*?), .*?` to remove some unwanted information from the event title. +howto: + en: | + - Visit and select your location. + - Richt click -> copy link address on `Kalender für das ganze Jahr im iCal (ics) Format herunterladen` to get the ical link. + - Replace the `url` in the example configuration with this link. + - You might want to add regex `(.*?, .*?), .*?` to remove some unwanted information from the event title. test_cases: - Hauptstraße: - url: "https://www.floersheim-umweltkalender.de/icalkalender.html?jahr=1&selectedmonat=&selectedwoche=&bezirk=1&hausnr=HausNr.&strasse=Hauptstra%C3%9Fe&checkedarts=1_10_3_7_4_8_9_5_6" - regex: (.*?, .*?), .*? \ No newline at end of file + Hauptstraße: + url: + https://www.floersheim-umweltkalender.de/icalkalender.html?jahr=1&selectedmonat=&selectedwoche=&bezirk=1&hausnr=HausNr.&strasse=Hauptstra%C3%9Fe&checkedarts=1_10_3_7_4_8_9_5_6 + regex: (.*?, .*?), .*? diff --git a/doc/ics/yaml/gda_gv_at.yaml b/doc/ics/yaml/gda_gv_at.yaml index d13d59f9..dff2db33 100644 --- a/doc/ics/yaml/gda_gv_at.yaml +++ b/doc/ics/yaml/gda_gv_at.yaml @@ -1,11 +1,13 @@ +--- title: GDA Amstetten url: https://gda.gv.at -howto: | - - Goto and select your location. - - Copy the link of the `iCal` Button. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location. + - Copy the link of the `iCal` Button. + - Replace the `url` in the example configuration with this link. test_cases: - Markt 47, 3365 Allhartsberg: - url: "https://gda.abfuhrtermine.at/webcalzip/Markt/47/3365/03171/30501" - Schlossstraße 2, 3311 Zeillern: - url: "https://gda.abfuhrtermine.at/webcalzip/Schlossstra%C3%9Fe/2/3311/03349/30544" + Markt 47, 3365 Allhartsberg: + url: https://gda.abfuhrtermine.at/webcalzip/Markt/47/3365/03171/30501 + Schlossstraße 2, 3311 Zeillern: + url: https://gda.abfuhrtermine.at/webcalzip/Schlossstra%C3%9Fe/2/3311/03349/30544 diff --git a/doc/ics/yaml/gedling_gov_uk.yaml b/doc/ics/yaml/gedling_gov_uk.yaml index 4acfbdbf..6c45edfd 100644 --- a/doc/ics/yaml/gedling_gov_uk.yaml +++ b/doc/ics/yaml/gedling_gov_uk.yaml @@ -1,20 +1,22 @@ +--- title: Gedling Borough Council (unofficial) url: https://www.gbcbincalendars.co.uk -howto: | - - Gedling Borough Council does not provide bin collections in the iCal calendar format directly. - - The iCal calendar files have been generated from the official printed calendars and hosted on GitHub for use. - - Find your collection weekday and schedule by entering your street name in the [collection search tool](https://www.gbcbincalendars.co.uk/collection-search). - - The correct calendar link will be displayed. On the calendar page use the "Copy iCal URL" button to get the calendar URL to use with this integration. +howto: + en: | + - Gedling Borough Council does not provide bin collections in the iCal calendar format directly. + - The iCal calendar files have been generated from the official printed calendars and hosted on GitHub for use. + - Find your collection weekday and schedule by entering your street name in the [collection search tool](https://www.gbcbincalendars.co.uk/collection-search). + - The correct calendar link will be displayed. On the calendar page use the "Copy iCal URL" button to get the calendar URL to use with this integration. test_cases: - Monday G1 (General bin collection): - url: "https://www.gbcbincalendars.co.uk/ical/gedling_borough_council_monday_g1_bin_schedule.ics" - Wednesday G2 (General bin collection): - url: "https://www.gbcbincalendars.co.uk/ical/gedling_borough_council_wednesday_g2_bin_schedule.ics" - Friday G3 (General bin collection): - url: "https://www.gbcbincalendars.co.uk/ical/gedling_borough_council_friday_g3_bin_schedule.ics" - Monday A (Garden waste collection): - url: "https://www.gbcbincalendars.co.uk/ical/gedling_borough_council_monday_a_garden_bin_schedule.ics" - Wednesday C (Garden waste collection): - url: "https://www.gbcbincalendars.co.uk/ical/gedling_borough_council_wednesday_c_garden_bin_schedule.ics" - Friday E (Garden waste collection): - url: "https://www.gbcbincalendars.co.uk/ical/gedling_borough_council_friday_e_garden_bin_schedule.ics" + Monday G1 (General bin collection): + url: https://www.gbcbincalendars.co.uk/ical/gedling_borough_council_monday_g1_bin_schedule.ics + Wednesday G2 (General bin collection): + url: https://www.gbcbincalendars.co.uk/ical/gedling_borough_council_wednesday_g2_bin_schedule.ics + Friday G3 (General bin collection): + url: https://www.gbcbincalendars.co.uk/ical/gedling_borough_council_friday_g3_bin_schedule.ics + Monday A (Garden waste collection): + url: https://www.gbcbincalendars.co.uk/ical/gedling_borough_council_monday_a_garden_bin_schedule.ics + Wednesday C (Garden waste collection): + url: https://www.gbcbincalendars.co.uk/ical/gedling_borough_council_wednesday_c_garden_bin_schedule.ics + Friday E (Garden waste collection): + url: https://www.gbcbincalendars.co.uk/ical/gedling_borough_council_friday_e_garden_bin_schedule.ics diff --git a/doc/ics/yaml/gelbersack_stuttgart_de.yaml b/doc/ics/yaml/gelbersack_stuttgart_de.yaml index 0d9ef736..01d6bd96 100644 --- a/doc/ics/yaml/gelbersack_stuttgart_de.yaml +++ b/doc/ics/yaml/gelbersack_stuttgart_de.yaml @@ -1,9 +1,11 @@ +--- title: Gelber Sack Stuttgart url: https://gelbersack-stuttgart.de -howto: | - - Goto and select your location. - - Right click -> copy the url of the `Termine in meinen Kalender eintragen` button. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location. + - Right click -> copy the url of the `Termine in meinen Kalender eintragen` button. + - Replace the `url` in the example configuration with this link. test_cases: - An der Burg: - url: "https://www.gelbersack-stuttgart.de/abfuhrplan/export/an-der-burg?type=201" + An der Burg: + url: https://www.gelbersack-stuttgart.de/abfuhrplan/export/an-der-burg?type=201 diff --git a/doc/ics/yaml/gelsendienste_de.yaml b/doc/ics/yaml/gelsendienste_de.yaml index f230db92..ca4f684c 100644 --- a/doc/ics/yaml/gelsendienste_de.yaml +++ b/doc/ics/yaml/gelsendienste_de.yaml @@ -1,9 +1,11 @@ +--- title: Gelsendienste Gelsenkirchen url: https://www.gelsendienste.de -howto: | - - Goto and select your location. - - Click on `Abfallkalender abonnieren` to open a sub-frame, and then copy the link address. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location. + - Click on `Abfallkalender abonnieren` to open a sub-frame, and then copy the link address. + - Replace the `url` in the example configuration with this link. test_cases: Adamshof 1: - url: "https://gelsendienste.abisapp.de/abfuhrkalender?format=ical&street=1A533A82&number=1" + url: https://gelsendienste.abisapp.de/abfuhrkalender?format=ical&street=1A533A82&number=1 diff --git a/doc/ics/yaml/gipsprojekt_de.yaml b/doc/ics/yaml/gipsprojekt_de.yaml index 62cc57e3..4ae7ee3b 100644 --- a/doc/ics/yaml/gipsprojekt_de.yaml +++ b/doc/ics/yaml/gipsprojekt_de.yaml @@ -1,19 +1,22 @@ +--- title: Gipsprojekt url: https://www.gipsprojekt.de/ -howto: | - - Goto the Abfuhrkalender url of your service provider (like ) and click on your location/street. - - Right-click -> copy the url of the Im iCalendar-Format abonnieren/speichern. - - Replace the `url` in the example configuration with this link. - - Replace the Jahr argument with `{%Y}` like in the example configuration. This way the year will be automatically updated. +howto: + en: | + - Goto the Abfuhrkalender url of your service provider (like ) and click on your location/street. + - Right-click -> copy the url of the Im iCalendar-Format abonnieren/speichern. + - Replace the `url` in the example configuration with this link. + - Replace the Jahr argument with `{%Y}` like in the example configuration. This way the year will be automatically updated. description: | - known to work with: - | region | url | - | ------ | --- | - | Heidelberg | | + known to work with: + | region | url | + | ------ | --- | + | Heidelberg | | extra_info: - title: Heidelberg url: https://heidelberg.de/ country: de test_cases: Heidelberg Berthold-Mogel-Str. (Südstadt): - url: "https://www.gipsprojekt.de/featureGips/Gips?SessionMandant=Heidelberg&Anwendung=ABFUHRKALENDER&Methode=TermineAnzeigenICS&Mandant=Heidelberg&Abfuhrkalender=Heidelberg&Bezirk_ID=36336&Jahr={%Y}&Suchkriterium1=" + url: + https://www.gipsprojekt.de/featureGips/Gips?SessionMandant=Heidelberg&Anwendung=ABFUHRKALENDER&Methode=TermineAnzeigenICS&Mandant=Heidelberg&Abfuhrkalender=Heidelberg&Bezirk_ID=36336&Jahr={%Y}&Suchkriterium1= diff --git a/doc/ics/yaml/goes_nl.yaml b/doc/ics/yaml/goes_nl.yaml index 7b75ac8a..2bf32606 100644 --- a/doc/ics/yaml/goes_nl.yaml +++ b/doc/ics/yaml/goes_nl.yaml @@ -1,10 +1,12 @@ +--- title: Goes url: https://www.goes.nl/ -howto: | - - Visit and select your location. - - Right click copy link address on the `Persoonlijke afvalkalender` button. - - Replace the `url` in the example configuration with this link. - - Replace the current year with `{%Y}` in the link. +howto: + en: | + - Visit and select your location. + - Right click copy link address on the `Persoonlijke afvalkalender` button. + - Replace the `url` in the example configuration with this link. + - Replace the current year with `{%Y}` in the link. test_cases: - 4472AS 2: - url: "https://afvalkalender.goes.nl/{%Y}/4472AS-2.ics" + 4472AS 2: + url: https://afvalkalender.goes.nl/{%Y}/4472AS-2.ics diff --git a/doc/ics/yaml/gross_gerau_de.yaml b/doc/ics/yaml/gross_gerau_de.yaml index 38f037eb..d559383d 100644 --- a/doc/ics/yaml/gross_gerau_de.yaml +++ b/doc/ics/yaml/gross_gerau_de.yaml @@ -1,9 +1,11 @@ +--- title: Kreisstadt Groß-Gerau url: https://www.gross-gerau.de -howto: | - - Go to and select your street. - - Click on `Als Kalenderdatei (.ics) herunterladen`, select no alarm. The ICS file will be doanloaded automatically, but one can grab the source URL. (inspecting the button (F12) reveals the URL (you need to add the prefix `https://www.gross-gerau.de`)) - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Go to and select your street. + - Click on `Als Kalenderdatei (.ics) herunterladen`, select no alarm. The ICS file will be doanloaded automatically, but one can grab the source URL. (inspecting the button (F12) reveals the URL (you need to add the prefix `https://www.gross-gerau.de`)) + - Replace the `url` in the example configuration with this link. test_cases: - Hagnau: - url: "https://www.gross-gerau.de/output/options.php?ModID=48&call=ical&pois=3411.298&alarm=8" + Hagnau: + url: https://www.gross-gerau.de/output/options.php?ModID=48&call=ical&pois=3411.298&alarm=8 diff --git a/doc/ics/yaml/hameln_pyrmont_de.yaml b/doc/ics/yaml/hameln_pyrmont_de.yaml index 84694af6..9e249538 100644 --- a/doc/ics/yaml/hameln_pyrmont_de.yaml +++ b/doc/ics/yaml/hameln_pyrmont_de.yaml @@ -1,13 +1,16 @@ +--- title: Landkreis Hameln-Pyrmont url: https://www.hameln-pyrmont.de -howto: | - - Goto and select your location. - - Click on `URL in die Zwischenablage kopieren` to copy link address. - - Replace the `url` in the example configuration with this link. - - you might need to add the verify_ssl: true option to the source configuration if you get an ssl error in your logs. +howto: + en: | + - Goto and select your location. + - Click on `URL in die Zwischenablage kopieren` to copy link address. + - Replace the `url` in the example configuration with this link. + - you might need to add the verify_ssl: true option to the source configuration if you get an ssl error in your logs. default_params: verify_ssl: false test_cases: Ahorn 1, 31855 Aerzen: - url: "webcal://om.kaw-hameln.de/WasteManagementHameln/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=26881528001&AboID=355061&Fra=P;C4;R;B;S;V;G;M;C1;C2" - verify_ssl: false \ No newline at end of file + url: + webcal://om.kaw-hameln.de/WasteManagementHameln/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=26881528001&AboID=355061&Fra=P;C4;R;B;S;V;G;M;C1;C2 + verify_ssl: false diff --git a/doc/ics/yaml/heinz_entsorgung_de.yaml b/doc/ics/yaml/heinz_entsorgung_de.yaml index 6c0a3b85..68dcda12 100644 --- a/doc/ics/yaml/heinz_entsorgung_de.yaml +++ b/doc/ics/yaml/heinz_entsorgung_de.yaml @@ -1,16 +1,20 @@ +--- title: Heinz-Entsorgung (Landkreis Freising) url: https://www.heinz-entsorgung.de/ -howto: | - - Goto and select your location. - - Click on `ICAL-Datei` - - Select the types of waste you are interested in ("Fraktionen") - - Click on `Ok` - - Download the ics file - - Get the download link address from your browser's download history - - Replace the `url` in the example configuration with this link. - - Edit the link and replace the year with `{%Y}` (e.g. `Jahr=2024` with `Jahr={%Y}`) +howto: + en: | + - Goto and select your location. + - Click on `ICAL-Datei` + - Select the types of waste you are interested in ("Fraktionen") + - Click on `Ok` + - Download the ics file + - Get the download link address from your browser's download history + - Replace the `url` in the example configuration with this link. + - Edit the link and replace the year with `{%Y}` (e.g. `Jahr=2024` with `Jahr={%Y}`) test_cases: Freising, Am Moosanger: - url: https://www.heinz-entsorgung.de/wp-includes/heinz_forms/Abfuhrkalender/php/query.php?ICAL=1&ORT=nRlJXapNmb=c&STRASSE=WQg0WTv92cuF2ZyV&ERINNERUNG=-6&ISERINNERUNG=false&Jahr={%Y}&FRAKTIONEN=W3siZnJha3Rpb24iOiJSZXN0YWJmYWxsIn0seyJmcmFrdGlvbiI6IkdlbGJlciBTYWNrIn0seyJmcmFrdGlvbiI6IkJpb2FiZmFsbCJ9LHsiZnJha3Rpb24iOiJQYXBpZXIifV0= + url: + https://www.heinz-entsorgung.de/wp-includes/heinz_forms/Abfuhrkalender/php/query.php?ICAL=1&ORT=nRlJXapNmb=c&STRASSE=WQg0WTv92cuF2ZyV&ERINNERUNG=-6&ISERINNERUNG=false&Jahr={%Y}&FRAKTIONEN=W3siZnJha3Rpb24iOiJSZXN0YWJmYWxsIn0seyJmcmFrdGlvbiI6IkdlbGJlciBTYWNrIn0seyJmcmFrdGlvbiI6IkJpb2FiZmFsbCJ9LHsiZnJha3Rpb24iOiJQYXBpZXIifV0= Moosburg, Amselstr.: - url: https://www.heinz-entsorgung.de/wp-includes/heinz_forms/Abfuhrkalender/php/query.php?ICAL=1&ORT=WTv92c1Jmc=c&STRASSE=WQz1WZzxHduI&ERINNERUNG=-6&ISERINNERUNG=false&Jahr={%Y}&FRAKTIONEN=W3siZnJha3Rpb24iOiJSZXN0YWJmYWxsIn0seyJmcmFrdGlvbiI6IkdlbGJlciBTYWNrIn0seyJmcmFrdGlvbiI6IkJpb2FiZmFsbCJ9LHsiZnJha3Rpb24iOiJQYXBpZXIifV0= \ No newline at end of file + url: + https://www.heinz-entsorgung.de/wp-includes/heinz_forms/Abfuhrkalender/php/query.php?ICAL=1&ORT=WTv92c1Jmc=c&STRASSE=WQz1WZzxHduI&ERINNERUNG=-6&ISERINNERUNG=false&Jahr={%Y}&FRAKTIONEN=W3siZnJha3Rpb24iOiJSZXN0YWJmYWxsIn0seyJmcmFrdGlvbiI6IkdlbGJlciBTYWNrIn0seyJmcmFrdGlvbiI6IkJpb2FiZmFsbCJ9LHsiZnJha3Rpb24iOiJQYXBpZXIifV0= diff --git a/doc/ics/yaml/herten_de.yaml b/doc/ics/yaml/herten_de.yaml index 068e2472..75ae1e66 100644 --- a/doc/ics/yaml/herten_de.yaml +++ b/doc/ics/yaml/herten_de.yaml @@ -1,9 +1,11 @@ +--- title: Herten (durth-roos.de) url: https://herten.de -howto: | - - Goto and select your location. - - Right click copy-url of the `iCalendar` button to get a webcal link. (You can ignore the note below as this source automatically refetches the ics file) - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location. + - Right click copy-url of the `iCalendar` button to get a webcal link. (You can ignore the note below as this source automatically refetches the ics file) + - Replace the `url` in the example configuration with this link. test_cases: - Ackerstraße 1: - url: "https://abfallkalender.durth-roos.de/herten/icalendar/Ackerstrasse_1.ics" + Ackerstraße 1: + url: https://abfallkalender.durth-roos.de/herten/icalendar/Ackerstrasse_1.ics diff --git a/doc/ics/yaml/hws_halle_de.yaml b/doc/ics/yaml/hws_halle_de.yaml index 490c2308..abbd0b1d 100644 --- a/doc/ics/yaml/hws_halle_de.yaml +++ b/doc/ics/yaml/hws_halle_de.yaml @@ -1,21 +1,23 @@ +--- title: Hallesche Wasser und Stadtwirtschaft GmbH url: https://hws-halle.de -howto: | - - Go to and enter your address. - - Click on `Suchen` - - Right-click on `Termine in Kalender übernehmen` and copy link address. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Go to and enter your address. + - Click on `Suchen` + - Right-click on `Termine in Kalender übernehmen` and copy link address. + - Replace the `url` in the example configuration with this link. default_params: version: 1 test_cases: Am Kirchtor 8: - url: "https://hws-halle.de/index.php?c=entsorgungskalender&a=generateIcs&str=Am%20Kirchtor&nr=8&kunde1=LEO%201221_H&kunde2=&backend_call=1&year={%Y}" + url: https://hws-halle.de/index.php?c=entsorgungskalender&a=generateIcs&str=Am%20Kirchtor&nr=8&kunde1=LEO%201221_H&kunde2=&backend_call=1&year={%Y} version: 1 Landrain 129A: - url: "https://hws-halle.de/index.php?c=entsorgungskalender&a=generateIcs&str=Landrain&nr=129A&kunde1=LEO%2017314_H&kunde2=&backend_call=1&year={%Y}" + url: https://hws-halle.de/index.php?c=entsorgungskalender&a=generateIcs&str=Landrain&nr=129A&kunde1=LEO%2017314_H&kunde2=&backend_call=1&year={%Y} version: 1 Schkopauer Weg 27: - url: "https://hws-halle.de/index.php?c=entsorgungskalender&a=generateIcs&str=Schkopauer%20Weg&nr=27&kunde1=LEO%2025674_H&kunde2=&backend_call=1&year={%Y}" - version: 1 \ No newline at end of file + url: https://hws-halle.de/index.php?c=entsorgungskalender&a=generateIcs&str=Schkopauer%20Weg&nr=27&kunde1=LEO%2025674_H&kunde2=&backend_call=1&year={%Y} + version: 1 diff --git a/doc/ics/yaml/ilm_kreis_de.yaml b/doc/ics/yaml/ilm_kreis_de.yaml index 591d4a0e..3a83b260 100644 --- a/doc/ics/yaml/ilm_kreis_de.yaml +++ b/doc/ics/yaml/ilm_kreis_de.yaml @@ -1,28 +1,29 @@ +--- title: Abfallwirtschaftsbetrieb Ilm-Kreis url: https://www.ilm-kreis.de -howto: | - - Goto and select your municipality. - - Right-click on `Terminexport` and select `Inspect`. - - You should see a HTML fragment like this: +howto: + en: | + - Goto and select your municipality. + - Right-click on `Terminexport` and select `Inspect`. + - You should see a HTML fragment like this: - ```html - - ``` + ```html + + ``` - The relevant information pieces are the 2 numbers behind `ModID` and `pois` at the end of the HTML fragment: + The relevant information pieces are the 2 numbers behind `ModID` and `pois` at the end of the HTML fragment: - ``` - ModID=48 - pois=3053.8 - ``` + ``` + ModID=48 + pois=3053.8 + ``` - - Replace the numbers behind `ModID` and `pois` in the example configuration with your values from the HTML fragment. + - Replace the numbers behind `ModID` and `pois` in the example configuration with your values from the HTML fragment. default_params: headers: - referer: "https://aik.ilm-kreis.de" - + referer: https://aik.ilm-kreis.de test_cases: Oppach: - url: "https://aik.ilm-kreis.de/output/options.php?ModID=48&call=ical&pois=3053.8" + url: https://aik.ilm-kreis.de/output/options.php?ModID=48&call=ical&pois=3053.8 headers: - referer: "https://aik.ilm-kreis.de" + referer: https://aik.ilm-kreis.de diff --git a/doc/ics/yaml/kecl_de.yaml b/doc/ics/yaml/kecl_de.yaml index deb57778..980b227d 100644 --- a/doc/ics/yaml/kecl_de.yaml +++ b/doc/ics/yaml/kecl_de.yaml @@ -1,13 +1,15 @@ +--- title: KECL Kommunalentsorgung Chemnitzer Land url: https://www.kecl.de/ country: de -howto: | - - Goto and select your city by clicking - - Now select your street. You can use the filter on top of the list. - - Copy the link of the `abonnieren` button - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your city by clicking + - Now select your street. You can use the filter on top of the list. + - Copy the link of the `abonnieren` button + - Replace the `url` in the example configuration with this link. test_cases: Limbach Oberfrohna Am Hohen Hain: - url: "webcal://www.kecl.de/ical_kalender.php?ort_id=4&strasse_id=601" + url: webcal://www.kecl.de/ical_kalender.php?ort_id=4&strasse_id=601 Zwickau Holunderweg: - url: "webcal://www.kecl.de/ical_kalender.php?ort_id=1435&strasse_id=1579" + url: webcal://www.kecl.de/ical_kalender.php?ort_id=1435&strasse_id=1579 diff --git a/doc/ics/yaml/koblenz_de.yaml b/doc/ics/yaml/koblenz_de.yaml index c63d562d..d43abc11 100644 --- a/doc/ics/yaml/koblenz_de.yaml +++ b/doc/ics/yaml/koblenz_de.yaml @@ -1,10 +1,12 @@ +--- title: Stadt Koblenz url: https://www.koblenz.de/ -howto: | - - Goto . - - Right-click on your municipality and copy link address. - - Replace the `url` in the example configuration with this link. - - Replace the year in the url by {%Y}. +howto: + en: | + - Goto . + - Right-click on your municipality and copy link address. + - Replace the `url` in the example configuration with this link. + - Replace the year in the url by {%Y}. test_cases: - Altstadt: - url: "https://servicebetrieb.koblenz.de/abfallwirtschaft/entsorgungstermine-digital/entsorgungstermine-2023-digital/altstadt-{%Y}.ics?cid=2ui7" + Altstadt: + url: https://servicebetrieb.koblenz.de/abfallwirtschaft/entsorgungstermine-digital/entsorgungstermine-2023-digital/altstadt-{%Y}.ics?cid=2ui7 diff --git a/doc/ics/yaml/kredslob_dk.yaml b/doc/ics/yaml/kredslob_dk.yaml index c88cc19c..0a30ae84 100644 --- a/doc/ics/yaml/kredslob_dk.yaml +++ b/doc/ics/yaml/kredslob_dk.yaml @@ -1,11 +1,13 @@ +--- title: Kredsløb url: https://kredslob.dk/ -howto: | - - Goto and select your location. - - Click on `Abonnér på kalender` to get a ical subscription url. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location. + - Click on `Abonnér på kalender` to get a ical subscription url. + - Replace the `url` in the example configuration with this link. test_cases: - Skovparken 5, 8240 Risskov: - url: "https://portal-api.kredslob.dk/api/calendar/icsfeed/07517381___5_______/67799" - Skødstrupbakken 67, 8541 Skødstrup: - url: "https://portal-api.kredslob.dk/api/calendar/icsfeed/07517484__79_______/71319" + Skovparken 5, 8240 Risskov: + url: https://portal-api.kredslob.dk/api/calendar/icsfeed/07517381___5_______/67799 + Skødstrupbakken 67, 8541 Skødstrup: + url: https://portal-api.kredslob.dk/api/calendar/icsfeed/07517484__79_______/71319 diff --git a/doc/ics/yaml/kreis_alzey_worms_de.yaml b/doc/ics/yaml/kreis_alzey_worms_de.yaml index 533f2276..4252d930 100644 --- a/doc/ics/yaml/kreis_alzey_worms_de.yaml +++ b/doc/ics/yaml/kreis_alzey_worms_de.yaml @@ -1,11 +1,14 @@ +--- title: Alzey-Worms url: https://www.kreis-alzey-worms.de/aktuelles/nichts-mehr-verpassen/abfalltermine/ -howto: | - - Visit and select your location. - - Click on `URL anzeigen` to see the ICS link. - - Use this url for the `url` parameter. - - You might want to add regex `(.*) \d+ \d+-wöchentl\.` parameter to remove the size and frequency of collections (e.g. `Restmüll 240 02-wöchentl.` -> `Restmüll`). +howto: + en: | + - Visit and select your location. + - Click on `URL anzeigen` to see the ICS link. + - Use this url for the `url` parameter. + - You might want to add regex `(.*) \d+ \d+-wöchentl\.` parameter to remove the size and frequency of collections (e.g. `Restmüll 240 02-wöchentl.` -> `Restmüll`). test_cases: - Alzeyer Pforte 1, 55234 Albig: - url: "https://abfall.alzey-worms.de/WasteManagementAlzeyworms/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=1053576001&AboID=313121&Fra=P;R;B;S;C;L&ObjektID=1145306001" - regex: (.*) \d+ \d+-wöchentl\. + Alzeyer Pforte 1, 55234 Albig: + url: + https://abfall.alzey-worms.de/WasteManagementAlzeyworms/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=1053576001&AboID=313121&Fra=P;R;B;S;C;L&ObjektID=1145306001 + regex: (.*) \d+ \d+-wöchentl\. diff --git a/doc/ics/yaml/kreis_ploen_de.yaml b/doc/ics/yaml/kreis_ploen_de.yaml index 5c5312ab..074d7f19 100644 --- a/doc/ics/yaml/kreis_ploen_de.yaml +++ b/doc/ics/yaml/kreis_ploen_de.yaml @@ -1,22 +1,24 @@ +--- title: Abfallwirtschaft Kreis Plön url: https://www.kreis-ploen.de/ -howto: | - - Goto and select your location. - - Select `Jahreskalender` as view - - Choose the types of waste you need - - Click on `Als Kalenderdatei (.ics) exportieren`. - - Get link of download (firefox only?): - - select `Keine benachrichting` which should start the download - - save the file - - copy the download link (firefox download icon: right click(on the downloaded ics file) -> copy download link) - - If the above does not work (could not find a way to do this with chromium based browsers): - - Open the developer tools (F12) - - Go to the network tab - - Select `Keine benachrichting` which should start the download - - Look for the request in the network tab - - copy the request url - - Replace the `url` in the example configuration with this link. - - Replace the year field in the url with `{%Y}`. +howto: + en: | + - Goto and select your location. + - Select `Jahreskalender` as view + - Choose the types of waste you need + - Click on `Als Kalenderdatei (.ics) exportieren`. + - Get link of download (firefox only?): + - select `Keine benachrichting` which should start the download + - save the file + - copy the download link (firefox download icon: right click(on the downloaded ics file) -> copy download link) + - If the above does not work (could not find a way to do this with chromium based browsers): + - Open the developer tools (F12) + - Go to the network tab + - Select `Keine benachrichting` which should start the download + - Look for the request in the network tab + - copy the request url + - Replace the `url` in the example configuration with this link. + - Replace the year field in the url with `{%Y}`. test_cases: - Bendfeld: - url: "https://www.kreis-ploen.de/output/options.php?ModID=48&call=ical&&pois=3932.214&alarm=0" + Bendfeld: + url: https://www.kreis-ploen.de/output/options.php?ModID=48&call=ical&&pois=3932.214&alarm=0 diff --git a/doc/ics/yaml/landkreis_as_de.yaml b/doc/ics/yaml/landkreis_as_de.yaml index 06958dcc..c8a60367 100644 --- a/doc/ics/yaml/landkreis_as_de.yaml +++ b/doc/ics/yaml/landkreis_as_de.yaml @@ -1,17 +1,19 @@ +--- title: Landkreis Amberg-Sulzbach url: https://landkreis-as.de -howto: | - - Goto and select your location. - - Click on `Kalenderübersicht anzegen`. - - Right click -> copy link address on the `exportieren` link. - - Replace the `url` in the example configuration with this link. - - You can also use the `regex` to strip unwanted text from the event summary. +howto: + en: | + - Goto and select your location. + - Click on `Kalenderübersicht anzegen`. + - Right click -> copy link address on the `exportieren` link. + - Replace the `url` in the example configuration with this link. + - You can also use the `regex` to strip unwanted text from the event summary. test_cases: - Sulzenbach-Rosenberg Am Anger (no regex): - url: "https://landkreis-as.de/abfallwirtschaft/abfuhrtermine_kalender_sulzbach-rosenberg8.ics" - Freudenberg (regex strip after `|`): - url: "https://landkreis-as.de/abfallwirtschaft/abfuhrtermine_kalender_freudenberg.ics" - regex: (.*?)\s+\|.* - Ensdorf (regex also strip `! vorgefahren !`): - url: "https://landkreis-as.de/abfallwirtschaft/abfuhrtermine_kalender_ensdorf.ics" - regex: (.*?)\s+(\||\!).* + Sulzenbach-Rosenberg Am Anger (no regex): + url: https://landkreis-as.de/abfallwirtschaft/abfuhrtermine_kalender_sulzbach-rosenberg8.ics + Freudenberg (regex strip after `|`): + url: https://landkreis-as.de/abfallwirtschaft/abfuhrtermine_kalender_freudenberg.ics + regex: (.*?)\s+\|.* + Ensdorf (regex also strip `! vorgefahren !`): + url: https://landkreis-as.de/abfallwirtschaft/abfuhrtermine_kalender_ensdorf.ics + regex: (.*?)\s+(\||\!).* diff --git a/doc/ics/yaml/landkreis_miltenberg_de.yaml b/doc/ics/yaml/landkreis_miltenberg_de.yaml index 996b8553..056b5882 100644 --- a/doc/ics/yaml/landkreis_miltenberg_de.yaml +++ b/doc/ics/yaml/landkreis_miltenberg_de.yaml @@ -1,9 +1,12 @@ +--- title: Landratsamt Miltenberg url: https://landkreis-miltenberg.de -howto: | - - Goto and select your location. - - Click on `URL ANZEIGEN` to get a webcal link. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location. + - Click on `URL ANZEIGEN` to get a webcal link. + - Replace the `url` in the example configuration with this link. test_cases: - Am Ullersbach 3, 97903 Collenberg: - url: "https://sperrgut.landkreis-miltenberg.de/WasteManagementMiltenberg/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=82947985001&AboID=107727&Fra=R2;B2;P1;R4;P2;P4;Gelb;SM;R1;B1" + Am Ullersbach 3, 97903 Collenberg: + url: + https://sperrgut.landkreis-miltenberg.de/WasteManagementMiltenberg/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=82947985001&AboID=107727&Fra=R2;B2;P1;R4;P2;P4;Gelb;SM;R1;B1 diff --git a/doc/ics/yaml/landkreis_stade_de.yaml b/doc/ics/yaml/landkreis_stade_de.yaml index 9b511bc2..cf0b0df9 100644 --- a/doc/ics/yaml/landkreis_stade_de.yaml +++ b/doc/ics/yaml/landkreis_stade_de.yaml @@ -1,9 +1,12 @@ +--- title: Landkreis Stade url: https://www.landkreis-stade.de -howto: | - - Goto and select your location. - - Right-click on `Als Kalenderdatei (.ics) herunterladen` and copy link address. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location. + - Right-click on `Als Kalenderdatei (.ics) herunterladen` and copy link address. + - Replace the `url` in the example configuration with this link. test_cases: - Dollern, an der Bahn 1: - url: "https://abfall.landkreis-stade.de/api_v2/collection_dates/1/ort/12/strasse/60/hausnummern/1/abfallarten/R02-R04-B02-D04-D12-P04-R14-R12-W0-R22-R24-R31/kalender.ics" + Dollern, an der Bahn 1: + url: + https://abfall.landkreis-stade.de/api_v2/collection_dates/1/ort/12/strasse/60/hausnummern/1/abfallarten/R02-R04-B02-D04-D12-P04-R14-R12-W0-R22-R24-R31/kalender.ics diff --git a/doc/ics/yaml/lebach_de.yaml b/doc/ics/yaml/lebach_de.yaml index 866002d9..676a79cb 100644 --- a/doc/ics/yaml/lebach_de.yaml +++ b/doc/ics/yaml/lebach_de.yaml @@ -1,9 +1,11 @@ +--- title: Lebacher Abfallzweckverband (LAZ) url: https://www.lebach.de/ -howto: | - - Goto and select your location in the gray box on the right. - - Right click on `hier: die Ical-Datei zum Importieren auf Ihr Mobiltelefon` select `copy link` to get a webcal link. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location in the gray box on the right. + - Right click on `hier: die Ical-Datei zum Importieren auf Ihr Mobiltelefon` select `copy link` to get a webcal link. + - Replace the `url` in the example configuration with this link. test_cases: - Hoxberg: - url: "https://www.lebach.de/fileadmin/Dokumente_und_Grafiken/Abfall/Ical_Dateien/Hoxberg.ics" + Hoxberg: + url: https://www.lebach.de/fileadmin/Dokumente_und_Grafiken/Abfall/Ical_Dateien/Hoxberg.ics diff --git a/doc/ics/yaml/limburg_net.yaml b/doc/ics/yaml/limburg_net.yaml index 8362db88..fd312e27 100644 --- a/doc/ics/yaml/limburg_net.yaml +++ b/doc/ics/yaml/limburg_net.yaml @@ -1,12 +1,14 @@ +--- title: Limburg.net url: https://www.limburg.net country: be -howto: | - - Goto and select your location. - - Click on `Download`. - - Under `Kies formaat`, select `Android/iPhone`. - - Copy the webcal link. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location. + - Click on `Download`. + - Under `Kies formaat`, select `Android/iPhone`. + - Copy the webcal link. + - Replace the `url` in the example configuration with this link. test_cases: - Bandstraat 11, Bilzen: - url: "webcal://www.limburg.net/ics/afvalkalender/73006/10998/11/0" + Bandstraat 11, Bilzen: + url: webcal://www.limburg.net/ics/afvalkalender/73006/10998/11/0 diff --git a/doc/ics/yaml/linzag_at.yaml b/doc/ics/yaml/linzag_at.yaml index 1fd0d0a7..aa238f53 100644 --- a/doc/ics/yaml/linzag_at.yaml +++ b/doc/ics/yaml/linzag_at.yaml @@ -1,10 +1,13 @@ +--- title: Linz AG url: https://www.linzag.at/ -howto: | - - Goto and select your location. - - Click on the download `Abfallkalender (ICS)` button and copy the download link or copy the link of the button after you already pressed it (href changes after first click). - - Replace the `url` in the example configuration with this link. - - Replace the date in the url (after `downloadStartDate=`) with `01-01-{%Y}` this way the link keep valid for following years. +howto: + en: | + - Goto and select your location. + - Click on the download `Abfallkalender (ICS)` button and copy the download link or copy the link of the button after you already pressed it (href changes after first click). + - Replace the `url` in the example configuration with this link. + - Replace the date in the url (after `downloadStartDate=`) with `01-01-{%Y}` this way the link keep valid for following years. test_cases: - Freistädter Straße 9, 4040 Linz: - url: "https://services.linzag.at/abfall-rest/icalCalendar?reminderTime=19&address=Freist%C3%A4dter%20Stra%C3%9Fe%209,%204040%20Linz&addressId=12170&isBusinessApp=false&PAP=02&BIO=&LVP=02&RMU=21&downloadStartDate=01-01-{%Y}" + Freistädter Straße 9, 4040 Linz: + url: + https://services.linzag.at/abfall-rest/icalCalendar?reminderTime=19&address=Freist%C3%A4dter%20Stra%C3%9Fe%209,%204040%20Linz&addressId=12170&isBusinessApp=false&PAP=02&BIO=&LVP=02&RMU=21&downloadStartDate=01-01-{%Y} diff --git a/doc/ics/yaml/luebeck_de.yaml b/doc/ics/yaml/luebeck_de.yaml index be2918eb..0e939e2a 100644 --- a/doc/ics/yaml/luebeck_de.yaml +++ b/doc/ics/yaml/luebeck_de.yaml @@ -1,10 +1,12 @@ +--- title: Lübeck Entsorgungsbetriebe url: https://www.luebeck.de -howto: | - - Goto and select your location. - - Right-click on `iCalendar` and copy link address. - - Replace the `url` in the example configuration with this link. - - Replace the year in the url with `{%Y}`. +howto: + en: | + - Goto and select your location. + - Right-click on `iCalendar` and copy link address. + - Replace the `url` in the example configuration with this link. + - Replace the year in the url with `{%Y}`. test_cases: - Dampfpfeife 2: - url: "https://insert-it.de/BMSAbfallkalenderLuebeck/Main/Calender?bmsLocationId=127863&year={%Y}" + Dampfpfeife 2: + url: https://insert-it.de/BMSAbfallkalenderLuebeck/Main/Calender?bmsLocationId=127863&year={%Y} diff --git a/doc/ics/yaml/mayer_recycling_at.yaml b/doc/ics/yaml/mayer_recycling_at.yaml index 36d07f56..d6ddf067 100644 --- a/doc/ics/yaml/mayer_recycling_at.yaml +++ b/doc/ics/yaml/mayer_recycling_at.yaml @@ -1,9 +1,11 @@ +--- title: Mayer Recycling url: https://www.mayer-recycling.at/ -howto: | - - Goto . - - Right click -> copy link the calendar icon of your Collection region to get the link of the ICS file. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto . + - Right click -> copy link the calendar icon of your Collection region to get the link of the ICS file. + - Replace the `url` in the example configuration with this link. test_cases: - Kalwang: - url: "https://58137901-e99c-439f-a523-d74348c63dcf.filesusr.com/ugd/5b01c5_0902fe70c9d2480da3eed6a72fc581fd.ics?dn=Kalender%20von%20Kalwang.ics" + Kalwang: + url: https://58137901-e99c-439f-a523-d74348c63dcf.filesusr.com/ugd/5b01c5_0902fe70c9d2480da3eed6a72fc581fd.ics?dn=Kalender%20von%20Kalwang.ics diff --git a/doc/ics/yaml/mein_abfallkalender_online.yaml b/doc/ics/yaml/mein_abfallkalender_online.yaml index 1acb019e..2460e54d 100644 --- a/doc/ics/yaml/mein_abfallkalender_online.yaml +++ b/doc/ics/yaml/mein_abfallkalender_online.yaml @@ -1,15 +1,17 @@ title: Mein-Abfallkalender.online url: https://www.mein-abfallkalender.online/ country: de -howto: | - - `mein-abfallkalender.online` uses a subdomain per supported municipality/city. Open the subdomain of your location, e.g., . If you not know the subdomain for your location, you can check their references page: . - - Select your location (if needed). - - Click on `Meine Termine anzeigen`. - - Click on `Termine (iCal / WebCal)`. - - Don't forget to register your e-mail, otherwise you will not get a valid webcal link! - - Click on `Termine via iCal/WebCal nutzen`. - - Copy the webcal link below `Online=Kalender "Google Kalender" (manuell)`. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - `mein-abfallkalender.online` uses a subdomain per supported municipality/city. Open the subdomain of your location, e.g., . If you not know the subdomain for your location, you can check their references page: . + - Select your location (if needed). + - Click on `Meine Termine anzeigen`. + - Click on `Termine (iCal / WebCal)`. + - Don't forget to register your e-mail, otherwise you will not get a valid webcal link! + - Click on `Termine via iCal/WebCal nutzen`. + - Copy the webcal link below `Online=Kalender "Google Kalender" (manuell)`. + - Replace the `url` in the example configuration with this link. test_cases: - Eppstein, Niderjosbach, Bahnstrasse: - url: "webcal://eppstein.mein-abfallkalender.de/ical.ics?sid=19799&cd=inline&ft=noalarm&fu=webcal_google&fp=next_30&wids=494,495,496,498,497,499,502,500,513,501&uid=267293&pwid=1266c6e8df&cid=80" \ No newline at end of file + Eppstein, Niderjosbach, Bahnstrasse: + url: + webcal://eppstein.mein-abfallkalender.de/ical.ics?sid=19799&cd=inline&ft=noalarm&fu=webcal_google&fp=next_30&wids=494,495,496,498,497,499,502,500,513,501&uid=267293&pwid=1266c6e8df&cid=80 diff --git a/doc/ics/yaml/moretonbay_qld_gov_au.yaml b/doc/ics/yaml/moretonbay_qld_gov_au.yaml index 7e97b294..ce3d365d 100644 --- a/doc/ics/yaml/moretonbay_qld_gov_au.yaml +++ b/doc/ics/yaml/moretonbay_qld_gov_au.yaml @@ -1,9 +1,11 @@ +--- title: Moreton Bay url: https://www.moretonbay.qld.gov.au -howto: | - - Goto and select your location. - - Click on `Subscribe to a personalised calendar` to get a webcal link. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location. + - Click on `Subscribe to a personalised calendar` to get a webcal link. + - Replace the `url` in the example configuration with this link. test_cases: - 18 Mainsail Drive, CABOOLTURE SOUTH Queensland 4510: - url: "webcal://www.moretonbay.qld.gov.au/bincal?externalId=459739" + 18 Mainsail Drive, CABOOLTURE SOUTH Queensland 4510: + url: webcal://www.moretonbay.qld.gov.au/bincal?externalId=459739 diff --git a/doc/ics/yaml/muellapp_com.yaml b/doc/ics/yaml/muellapp_com.yaml index 8fb8c67b..53e080c0 100644 --- a/doc/ics/yaml/muellapp_com.yaml +++ b/doc/ics/yaml/muellapp_com.yaml @@ -1,354 +1,356 @@ +--- title: Müll App url: https://muellapp.com country: at -howto: | - - Go to the [Müll App homepage](https://muellapp.com/) and click on "...abonniere den Kalender" or follow [this Link](https://app.muellapp.com/web-reminder?channel=calendar) - - Choose your municipality, address and collection types - - Copy the URL under "Adresse zum Abonnieren" in the "Kalender Abo/Download" tab - - Paste it to the `url` key in the example configuration +howto: + en: | + - Go to the [Müll App homepage](https://muellapp.com/) and click on "...abonniere den Kalender" or follow [this Link](https://app.muellapp.com/web-reminder?channel=calendar) + - Choose your municipality, address and collection types + - Copy the URL under "Adresse zum Abonnieren" in the "Kalender Abo/Download" tab + - Paste it to the `url` key in the example configuration test_cases: - Leoben: - url: "https://app.muellapp.com/ical/241061?area_filter=174334%2C174336%2C174348%2C187236%2C187237%2C187238%2C187239&reminder" -extra_info: - - title: Afritz am See - url: https://muellapp.com - country: at - - title: Alpbach - url: https://muellapp.com - country: at - - title: Althofen - url: https://muellapp.com - country: at - - title: Angath - url: https://muellapp.com - country: at - - title: Arnoldstein - url: https://muellapp.com - country: at - - title: Aschau im Zillertal - url: https://muellapp.com - country: at - - title: Bad Häring - url: https://muellapp.com - country: at - - title: Bad Kleinkirchheim - url: https://muellapp.com - country: at - - title: Baldramsdorf - url: https://muellapp.com - country: at - - title: Berg im Drautal - url: https://muellapp.com - country: at - - title: Berndorf bei Salzburg - url: https://muellapp.com - country: at - - title: Brandenberg - url: https://muellapp.com - country: at - - title: Breitenbach am Inn - url: https://muellapp.com - country: at - - title: Dellach - url: https://muellapp.com - country: at - - title: Dellach im Drautal - url: https://muellapp.com - country: at - - title: Ebenthal in Kärnten - url: https://muellapp.com - country: at - - title: Eugendorf - url: https://muellapp.com - country: at - - title: Feistritz im Rosental - url: https://muellapp.com - country: at - - title: Feldkirchen in Kärnten - url: https://muellapp.com - country: at - - title: Ferlach - url: https://muellapp.com - country: at - - title: Ferndorf - url: https://muellapp.com - country: at - - title: Finkenstein am Faaker See - url: https://muellapp.com - country: at - - title: Frauenstein - url: https://muellapp.com - country: at - - title: Gitschtal - url: https://muellapp.com - country: at - - title: Globasnitz - url: https://muellapp.com - country: at - - title: Gmünd in Kärnten - url: https://muellapp.com - country: at - - title: Grafenstein - url: https://muellapp.com - country: at - - title: Greifenburg - url: https://muellapp.com - country: at - - title: Großkirchheim - url: https://muellapp.com - country: at - - title: Guttaring - url: https://muellapp.com - country: at - - title: Heiligenblut am Großglockner - url: https://muellapp.com - country: at - - title: Henndorf am Wallersee - url: https://muellapp.com - country: at - - title: Hermagor-Pressegger See - url: https://muellapp.com - country: at - - title: Hopfgarten im Brixental - url: https://muellapp.com - country: at - - title: Irschen - url: https://muellapp.com - country: at - - title: Keutschach am See - url: https://muellapp.com - country: at - - title: Kirchbach - url: https://muellapp.com - country: at - - title: Kirchbichl - url: https://muellapp.com - country: at - - title: Kirchdorf in Tirol - url: https://muellapp.com - country: at - - title: Klagenfurt am Wörthersee - url: https://muellapp.com - country: at - - title: Kleblach-Lind - url: https://muellapp.com - country: at - - title: Kössen - url: https://muellapp.com - country: at - - title: Köstendorf - url: https://muellapp.com - country: at - - title: Kötschach-Mauthen - url: https://muellapp.com - country: at - - title: Köttmannsdorf - url: https://muellapp.com - country: at - - title: Krems in Kärnten - url: https://muellapp.com - country: at - - title: Krumpendorf am Wörthersee - url: https://muellapp.com - country: at - - title: Kundl - url: https://muellapp.com - country: at - - title: Lendorf - url: https://muellapp.com - country: at - - title: Leoben - url: https://muellapp.com - country: at - - title: Lesachtal - url: https://muellapp.com - country: at - - title: Ludmannsdorf - url: https://muellapp.com - country: at - - title: Lurnfeld - url: https://muellapp.com - country: at - - title: Magdalensberg - url: https://muellapp.com - country: at - - title: Mallnitz - url: https://muellapp.com - country: at - - title: Malta - url: https://muellapp.com - country: at - - title: Maria Rain - url: https://muellapp.com - country: at - - title: Maria Saal - url: https://muellapp.com - country: at - - title: Maria Wörth - url: https://muellapp.com - country: at - - title: Mattsee - url: https://muellapp.com - country: at - - title: Millstatt - url: https://muellapp.com - country: at - - title: Moosburg - url: https://muellapp.com - country: at - - title: Mörtschach - url: https://muellapp.com - country: at - - title: Mühldorf - url: https://muellapp.com - country: at - - title: Münster - url: https://muellapp.com - country: at - - title: Neumarkt am Wallersee - url: https://muellapp.com - country: at - - title: Oberdrauburg - url: https://muellapp.com - country: at - - title: Oberndorf in Tirol - url: https://muellapp.com - country: at - - title: Obertrum am See - url: https://muellapp.com - country: at - - title: Ottobrunn - url: https://muellapp.com - country: at - - title: Paternion - url: https://muellapp.com - country: at - - title: Poggersdorf - url: https://muellapp.com - country: at - - title: Pörtschach am Wörther See - url: https://muellapp.com - country: at - - title: Radenthein - url: https://muellapp.com - country: at - - title: Radfeld - url: https://muellapp.com - country: at - - title: Ramsau im Zillertal - url: https://muellapp.com - country: at - - title: Rangersdorf - url: https://muellapp.com - country: at - - title: Reichenfels - url: https://muellapp.com - country: at - - title: Reißeck - url: https://muellapp.com - country: at - - title: Reith im Alpbachtal - url: https://muellapp.com - country: at - - title: Rennweg am Katschberg - url: https://muellapp.com - country: at - - title: Sachsenburg - url: https://muellapp.com - country: at - - title: Schiefling am Wörthersee - url: https://muellapp.com - country: at - - title: Schleedorf - url: https://muellapp.com - country: at - - title: Schwaz - url: https://muellapp.com - country: at - - title: Schwoich - url: https://muellapp.com - country: at - - title: Seeboden - url: https://muellapp.com - country: at - - title: Seeham - url: https://muellapp.com - country: at - - title: Seekirchen am Wallersee - url: https://muellapp.com - country: at - - title: Söll - url: https://muellapp.com - country: at - - title: Spittal an der Drau - url: https://muellapp.com - country: at - - title: St. Andrä - url: https://muellapp.com - country: at - - title: St. Jakob im Rosental - url: https://muellapp.com - country: at - - title: St. Johann in Tirol - url: https://muellapp.com - country: at - - title: St. Margareten im Rosental - url: https://muellapp.com - country: at - - title: St. Symvaro - url: https://muellapp.com - country: at - - title: Stall - url: https://muellapp.com - country: at - - title: Steinfeld - url: https://muellapp.com - country: at - - title: Stockenboi - url: https://muellapp.com - country: at - - title: Strass im Zillertal - url: https://muellapp.com - country: at - - title: Straßwalchen - url: https://muellapp.com - country: at - - title: Techelsberg am Wörther See - url: https://muellapp.com - country: at - - title: Trebesing - url: https://muellapp.com - country: at - - title: Treffen am Ossiacher See - url: https://muellapp.com - country: at - - title: Velden am Wörther See - url: https://muellapp.com - country: at - - title: Villach - url: https://muellapp.com - country: at - - title: Völkermarkt - url: https://muellapp.com - country: at - - title: Wattens - url: https://muellapp.com - country: at - - title: Weißensee - url: https://muellapp.com - country: at - - title: Winklern - url: https://muellapp.com - country: at - - title: Wolfsberg - url: https://muellapp.com - country: at - - title: Zell - url: https://muellapp.com - country: at - - title: Zell am Ziller - url: https://muellapp.com - country: at - - title: Zellberg - url: https://muellapp.com - country: at \ No newline at end of file + Leoben: + url: https://app.muellapp.com/ical/241061?area_filter=174334%2C174336%2C174348%2C187236%2C187237%2C187238%2C187239&reminder +extra_info: + - title: Afritz am See + url: https://muellapp.com + country: at + - title: Alpbach + url: https://muellapp.com + country: at + - title: Althofen + url: https://muellapp.com + country: at + - title: Angath + url: https://muellapp.com + country: at + - title: Arnoldstein + url: https://muellapp.com + country: at + - title: Aschau im Zillertal + url: https://muellapp.com + country: at + - title: Bad Häring + url: https://muellapp.com + country: at + - title: Bad Kleinkirchheim + url: https://muellapp.com + country: at + - title: Baldramsdorf + url: https://muellapp.com + country: at + - title: Berg im Drautal + url: https://muellapp.com + country: at + - title: Berndorf bei Salzburg + url: https://muellapp.com + country: at + - title: Brandenberg + url: https://muellapp.com + country: at + - title: Breitenbach am Inn + url: https://muellapp.com + country: at + - title: Dellach + url: https://muellapp.com + country: at + - title: Dellach im Drautal + url: https://muellapp.com + country: at + - title: Ebenthal in Kärnten + url: https://muellapp.com + country: at + - title: Eugendorf + url: https://muellapp.com + country: at + - title: Feistritz im Rosental + url: https://muellapp.com + country: at + - title: Feldkirchen in Kärnten + url: https://muellapp.com + country: at + - title: Ferlach + url: https://muellapp.com + country: at + - title: Ferndorf + url: https://muellapp.com + country: at + - title: Finkenstein am Faaker See + url: https://muellapp.com + country: at + - title: Frauenstein + url: https://muellapp.com + country: at + - title: Gitschtal + url: https://muellapp.com + country: at + - title: Globasnitz + url: https://muellapp.com + country: at + - title: Gmünd in Kärnten + url: https://muellapp.com + country: at + - title: Grafenstein + url: https://muellapp.com + country: at + - title: Greifenburg + url: https://muellapp.com + country: at + - title: Großkirchheim + url: https://muellapp.com + country: at + - title: Guttaring + url: https://muellapp.com + country: at + - title: Heiligenblut am Großglockner + url: https://muellapp.com + country: at + - title: Henndorf am Wallersee + url: https://muellapp.com + country: at + - title: Hermagor-Pressegger See + url: https://muellapp.com + country: at + - title: Hopfgarten im Brixental + url: https://muellapp.com + country: at + - title: Irschen + url: https://muellapp.com + country: at + - title: Keutschach am See + url: https://muellapp.com + country: at + - title: Kirchbach + url: https://muellapp.com + country: at + - title: Kirchbichl + url: https://muellapp.com + country: at + - title: Kirchdorf in Tirol + url: https://muellapp.com + country: at + - title: Klagenfurt am Wörthersee + url: https://muellapp.com + country: at + - title: Kleblach-Lind + url: https://muellapp.com + country: at + - title: Kössen + url: https://muellapp.com + country: at + - title: Köstendorf + url: https://muellapp.com + country: at + - title: Kötschach-Mauthen + url: https://muellapp.com + country: at + - title: Köttmannsdorf + url: https://muellapp.com + country: at + - title: Krems in Kärnten + url: https://muellapp.com + country: at + - title: Krumpendorf am Wörthersee + url: https://muellapp.com + country: at + - title: Kundl + url: https://muellapp.com + country: at + - title: Lendorf + url: https://muellapp.com + country: at + - title: Leoben + url: https://muellapp.com + country: at + - title: Lesachtal + url: https://muellapp.com + country: at + - title: Ludmannsdorf + url: https://muellapp.com + country: at + - title: Lurnfeld + url: https://muellapp.com + country: at + - title: Magdalensberg + url: https://muellapp.com + country: at + - title: Mallnitz + url: https://muellapp.com + country: at + - title: Malta + url: https://muellapp.com + country: at + - title: Maria Rain + url: https://muellapp.com + country: at + - title: Maria Saal + url: https://muellapp.com + country: at + - title: Maria Wörth + url: https://muellapp.com + country: at + - title: Mattsee + url: https://muellapp.com + country: at + - title: Millstatt + url: https://muellapp.com + country: at + - title: Moosburg + url: https://muellapp.com + country: at + - title: Mörtschach + url: https://muellapp.com + country: at + - title: Mühldorf + url: https://muellapp.com + country: at + - title: Münster + url: https://muellapp.com + country: at + - title: Neumarkt am Wallersee + url: https://muellapp.com + country: at + - title: Oberdrauburg + url: https://muellapp.com + country: at + - title: Oberndorf in Tirol + url: https://muellapp.com + country: at + - title: Obertrum am See + url: https://muellapp.com + country: at + - title: Ottobrunn + url: https://muellapp.com + country: at + - title: Paternion + url: https://muellapp.com + country: at + - title: Poggersdorf + url: https://muellapp.com + country: at + - title: Pörtschach am Wörther See + url: https://muellapp.com + country: at + - title: Radenthein + url: https://muellapp.com + country: at + - title: Radfeld + url: https://muellapp.com + country: at + - title: Ramsau im Zillertal + url: https://muellapp.com + country: at + - title: Rangersdorf + url: https://muellapp.com + country: at + - title: Reichenfels + url: https://muellapp.com + country: at + - title: Reißeck + url: https://muellapp.com + country: at + - title: Reith im Alpbachtal + url: https://muellapp.com + country: at + - title: Rennweg am Katschberg + url: https://muellapp.com + country: at + - title: Sachsenburg + url: https://muellapp.com + country: at + - title: Schiefling am Wörthersee + url: https://muellapp.com + country: at + - title: Schleedorf + url: https://muellapp.com + country: at + - title: Schwaz + url: https://muellapp.com + country: at + - title: Schwoich + url: https://muellapp.com + country: at + - title: Seeboden + url: https://muellapp.com + country: at + - title: Seeham + url: https://muellapp.com + country: at + - title: Seekirchen am Wallersee + url: https://muellapp.com + country: at + - title: Söll + url: https://muellapp.com + country: at + - title: Spittal an der Drau + url: https://muellapp.com + country: at + - title: St. Andrä + url: https://muellapp.com + country: at + - title: St. Jakob im Rosental + url: https://muellapp.com + country: at + - title: St. Johann in Tirol + url: https://muellapp.com + country: at + - title: St. Margareten im Rosental + url: https://muellapp.com + country: at + - title: St. Symvaro + url: https://muellapp.com + country: at + - title: Stall + url: https://muellapp.com + country: at + - title: Steinfeld + url: https://muellapp.com + country: at + - title: Stockenboi + url: https://muellapp.com + country: at + - title: Strass im Zillertal + url: https://muellapp.com + country: at + - title: Straßwalchen + url: https://muellapp.com + country: at + - title: Techelsberg am Wörther See + url: https://muellapp.com + country: at + - title: Trebesing + url: https://muellapp.com + country: at + - title: Treffen am Ossiacher See + url: https://muellapp.com + country: at + - title: Velden am Wörther See + url: https://muellapp.com + country: at + - title: Villach + url: https://muellapp.com + country: at + - title: Völkermarkt + url: https://muellapp.com + country: at + - title: Wattens + url: https://muellapp.com + country: at + - title: Weißensee + url: https://muellapp.com + country: at + - title: Winklern + url: https://muellapp.com + country: at + - title: Wolfsberg + url: https://muellapp.com + country: at + - title: Zell + url: https://muellapp.com + country: at + - title: Zell am Ziller + url: https://muellapp.com + country: at + - title: Zellberg + url: https://muellapp.com + country: at diff --git a/doc/ics/yaml/muensingen_ch.yaml b/doc/ics/yaml/muensingen_ch.yaml index 1f95d7fe..bf72ef8c 100644 --- a/doc/ics/yaml/muensingen_ch.yaml +++ b/doc/ics/yaml/muensingen_ch.yaml @@ -1,17 +1,19 @@ +--- title: Münsingen BE, Switzerland url: https://www.muensingen.ch country: ch -howto: | - - Go to [Abfallkalender](https://www.muensingen.ch/de/verwaltung/dienstleistungen/detail/detail.php?i=90) to get the url of the ICal file. - - Replace the URL in the Example section with the url of the ICal file. - - Replace the year in the url with `{%Y}`. +howto: + en: | + - Go to [Abfallkalender](https://www.muensingen.ch/de/verwaltung/dienstleistungen/detail/detail.php?i=90) to get the url of the ICal file. + - Replace the URL in the Example section with the url of the ICal file. + - Replace the year in the url with `{%Y}`. default_params: version: 1 test_cases: Papier und Karton: - url: "https://www.muensingen.ch/de/verwaltung/dokumente/dokumente/Papier-und-Kartonabfuhr-{%Y}.ics" - title_template: "{{date.summary}} {{date.location}}" + url: https://www.muensingen.ch/de/verwaltung/dokumente/dokumente/Papier-und-Kartonabfuhr-{%Y}.ics + title_template: '{{date.summary}} {{date.location}}' version: 1 Gartenabfaelle: - url: "https://www.muensingen.ch/de/verwaltung/dokumente/dokumente/Gartenabfaelle-{%Y}.ics" - version: 1 \ No newline at end of file + url: https://www.muensingen.ch/de/verwaltung/dokumente/dokumente/Gartenabfaelle-{%Y}.ics + version: 1 diff --git a/doc/ics/yaml/nerdbridge_de.yaml b/doc/ics/yaml/nerdbridge_de.yaml index fced8eb9..0b246b21 100644 --- a/doc/ics/yaml/nerdbridge_de.yaml +++ b/doc/ics/yaml/nerdbridge_de.yaml @@ -1,10 +1,12 @@ +--- title: Landkreis Northeim (unofficial) url: https://abfall.nerdbridge.de/ description: This is an unofficial service provided by nerdbridge Einbeck! -howto: | - - Goto and select your municipality. - - Click on `In die Zwischenablage kopieren` to copy the link address. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your municipality. + - Click on `In die Zwischenablage kopieren` to copy the link address. + - Replace the `url` in the example configuration with this link. test_cases: Einbeck (Bezirk 2): - url: "https://abfall.nerdbridge.de/ical/abfall-nom-einbeck_bezirk_2-HM2W,HM4W,PET,BIO,PAP,GL.ics" + url: https://abfall.nerdbridge.de/ical/abfall-nom-einbeck_bezirk_2-HM2W,HM4W,PET,BIO,PAP,GL.ics diff --git a/doc/ics/yaml/neu_ulm_de.yaml b/doc/ics/yaml/neu_ulm_de.yaml index c5ae5278..0c0a0e05 100644 --- a/doc/ics/yaml/neu_ulm_de.yaml +++ b/doc/ics/yaml/neu_ulm_de.yaml @@ -1,17 +1,20 @@ +--- title: Neu Ulm url: https://neu-ulm.de/ -howto: | - - Goto and select your location. - - Copy the correct link below `Abfuhrtermine als ICS-Dateien`. - - Replace the `url` in the example configuration with this link. - - Replace the year in the url with `{%Y}` so the url should stay valid the next years. - - Keep the regex if you do not want to see the Abfuhr prefix in the event title. - - If you want to split events like `Rest- und Biomüll` into two events, you can use the `split_at` option. ( results in events `Rest` and `Biomüll` You might want to change the name of the first one using the customize option. [_See configuration documentationt_](https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/installation.md#configuring-sources).) +howto: + en: | + - Goto and select your location. + - Copy the correct link below `Abfuhrtermine als ICS-Dateien`. + - Replace the `url` in the example configuration with this link. + - Replace the year in the url with `{%Y}` so the url should stay valid the next years. + - Keep the regex if you do not want to see the Abfuhr prefix in the event title. + - If you want to split events like `Rest- und Biomüll` into two events, you can use the `split_at` option. ( results in events `Rest` and `Biomüll` You might want to change the name of the first one using the customize option. [_See configuration documentationt_](https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/installation.md#configuring-sources).) default_params: - regex: Abfuhr (.*) - split_at: "- und " + regex: Abfuhr (.*) + split_at: '- und ' test_cases: - Bezirk 3: - url: "https://nu.neu-ulm.de/securedl/sdl-eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3MDg5MjgxMDAsImV4cCI6MTcwODk3NDkwMCwidXNlciI6MCwiZ3JvdXBzIjpbMCwtMV0sImZpbGUiOiJmaWxlYWRtaW5cL21vdW50XC9zdGFkdC1udVwvcGRmc1wvMl9CdWVyZ2VyX1NlcnZpY2VcL011ZWxsX3VuZF9TYXViZXJrZWl0XC9BYmZhbGxrYWxlbmRlcl9OVV8yMDI0X0Jlemlya18zLmljcyIsInBhZ2UiOjEwODJ9.HbF_Xgiefyjrzr11XCt47CCB0VcpX_TAPsESNncbQZk/Abfallkalender_NU_{%Y}_Bezirk_3.ics" - regex: Abfuhr (.*) - split_at: "- und " + Bezirk 3: + url: + https://nu.neu-ulm.de/securedl/sdl-eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3MDg5MjgxMDAsImV4cCI6MTcwODk3NDkwMCwidXNlciI6MCwiZ3JvdXBzIjpbMCwtMV0sImZpbGUiOiJmaWxlYWRtaW5cL21vdW50XC9zdGFkdC1udVwvcGRmc1wvMl9CdWVyZ2VyX1NlcnZpY2VcL011ZWxsX3VuZF9TYXViZXJrZWl0XC9BYmZhbGxrYWxlbmRlcl9OVV8yMDI0X0Jlemlya18zLmljcyIsInBhZ2UiOjEwODJ9.HbF_Xgiefyjrzr11XCt47CCB0VcpX_TAPsESNncbQZk/Abfallkalender_NU_{%Y}_Bezirk_3.ics + regex: Abfuhr (.*) + split_at: '- und ' diff --git a/doc/ics/yaml/offalkalinder_nl.yaml b/doc/ics/yaml/offalkalinder_nl.yaml index 622fe026..78e3cbc4 100644 --- a/doc/ics/yaml/offalkalinder_nl.yaml +++ b/doc/ics/yaml/offalkalinder_nl.yaml @@ -1,10 +1,12 @@ -title: "Ôffalkalinder van Noardeast-Fryslân & Dantumadiel" +--- +title: Ôffalkalinder van Noardeast-Fryslân & Dantumadiel url: https://offalkalinder.nl/ -howto: | - - Goto and add your postcode and housenummer. (9074DL, 1) - - Click on `Zet in agenda` - - Click on `Kopieer naar klembord` - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and add your postcode and housenummer. (9074DL, 1) + - Click on `Zet in agenda` + - Click on `Kopieer naar klembord` + - Replace the `url` in the example configuration with this link. test_cases: - Oppach: - url: "https://offalkalinder.nl/ical/1722200000001856" + Oppach: + url: https://offalkalinder.nl/ical/1722200000001856 diff --git a/doc/ics/yaml/openerz_metaodi_ch.yaml b/doc/ics/yaml/openerz_metaodi_ch.yaml index 074fa481..26cb169f 100644 --- a/doc/ics/yaml/openerz_metaodi_ch.yaml +++ b/doc/ics/yaml/openerz_metaodi_ch.yaml @@ -1,81 +1,84 @@ +--- title: Canton of Zürich url: https://openerz.metaodi.ch -howto: | - - Leave the url as is. - - Set the region to one of the ones listed below. - - Set the zip (not needed for all regions). "The zip code for the collection. Some regions (e.g. Basel) do not provide zip codes." - Website - - Set the area to one of the ones listed below. - - You probably want to leave the regex as is to remove unnecessary information from the summary. +howto: + en: | + - Leave the url as is. + - Set the region to one of the ones listed below. + - Set the zip (not needed for all regions). "The zip code for the collection. Some regions (e.g. Basel) do not provide zip codes." - Website + - Set the area to one of the ones listed below. + - You probably want to leave the regex as is to remove unnecessary information from the summary. - | Region | Areas | - | ------ | ----- | - | adliswil | No Areas | - | basel | A, B, C, D, E, F, G, H | - | bassersdorf | No Areas | - | duebendorf | 1, 2, 3, 4, oekibus-dienstag, oekibus-donnerstag, oekibus-mittwoch, oekibus-montag | - | embrach | ost, west | - | horgen | A, B, C, D | - | kilchberg | A, B | - | langnau | No Areas | - | oberrieden | No Areas | - | richterswil | A, B | - | rueschlikon | A, B | - | stgallen | A, B, C, D, E, F, G, H, I, K, L Ost, L West | - | thalwil | A, B, C | - | uster | 1, 2, 3, 4 | - | waedenswil | A, B, C, D | - | wangen-bruttisellen | No Areas | - | zurich | 8001, 8002, 8003, 8004, 8005, 8006, 8008, 8032, 8037, 8038, 8041, 8044, 8045, 8046, 8047, 8048, 8049, 8050, 8051, 8052, 8053, 8055, 8057, 8064 | + | Region | Areas | + | ------ | ----- | + | adliswil | No Areas | + | basel | A, B, C, D, E, F, G, H | + | bassersdorf | No Areas | + | duebendorf | 1, 2, 3, 4, oekibus-dienstag, oekibus-donnerstag, oekibus-mittwoch, oekibus-montag | + | embrach | ost, west | + | horgen | A, B, C, D | + | kilchberg | A, B | + | langnau | No Areas | + | oberrieden | No Areas | + | richterswil | A, B | + | rueschlikon | A, B | + | stgallen | A, B, C, D, E, F, G, H, I, K, L Ost, L West | + | thalwil | A, B, C | + | uster | 1, 2, 3, 4 | + | waedenswil | A, B, C, D | + | wangen-bruttisellen | No Areas | + | zurich | 8001, 8002, 8003, 8004, 8005, 8006, 8008, 8032, 8037, 8038, 8041, 8044, 8045, 8046, 8047, 8048, 8049, 8050, 8051, 8052, 8053, 8055, 8057, 8064 | default_params: - regex: "(.*), .*" - params: - region: "" - zip: "" - area: "" + regex: (.*), .* + params: + region: '' + zip: '' + area: '' test_cases: - züich 8048: - url: "https://openerz.metaodi.ch/api/calendar.ics?types=bulky_goods&types=cardboard&types=cargotram&types=chipping_service&types=etram&types=incombustibles&types=metal&types=oekibus&types=organic&types=paper&types=special&types=textile&types=waste&sort=date&offset=0&limit=500" - params: - region: zurich - zip: 8048 - area: 8048 - regex: "(.*), .*" - züich 8048 only paper: - url: "https://openerz.metaodi.ch/api/calendar.ics?sort=date&offset=0&limit=500" - params: - region: zurich - zip: 8048 - area: 8048 - types: - - cardboard - - paper - regex: "(.*), .*" - - langau everything as types (equal to providing types in the url): - url: "https://openerz.metaodi.ch/api/calendar.ics?sort=date&offset=0&limit=500" - params: - region: langnau - zip: 8135 - types: - - bulky_goods - - cardboard - - cargotram - - chipping_service - - etram - - incombustibles - - metal - - oekibus - - organic - - paper - - special - - textile - - waste - regex: "(.*), .*" - waedenswil: - url: "https://openerz.metaodi.ch/api/calendar.ics?types=bulky_goods&types=cardboard&types=cargotram&types=chipping_service&types=etram&types=incombustibles&types=metal&types=oekibus&types=organic&types=paper&types=special&types=textile&types=waste&sort=date&offset=0&limit=500" - params: - region: waedenswil - area: C - regex: "(.*), .*" \ No newline at end of file + züich 8048: + url: + https://openerz.metaodi.ch/api/calendar.ics?types=bulky_goods&types=cardboard&types=cargotram&types=chipping_service&types=etram&types=incombustibles&types=metal&types=oekibus&types=organic&types=paper&types=special&types=textile&types=waste&sort=date&offset=0&limit=500 + params: + region: zurich + zip: 8048 + area: 8048 + regex: (.*), .* + züich 8048 only paper: + url: https://openerz.metaodi.ch/api/calendar.ics?sort=date&offset=0&limit=500 + params: + region: zurich + zip: 8048 + area: 8048 + types: + - cardboard + - paper + regex: (.*), .* + langau everything as types (equal to providing types in the url): + url: https://openerz.metaodi.ch/api/calendar.ics?sort=date&offset=0&limit=500 + params: + region: langnau + zip: 8135 + types: + - bulky_goods + - cardboard + - cargotram + - chipping_service + - etram + - incombustibles + - metal + - oekibus + - organic + - paper + - special + - textile + - waste + regex: (.*), .* + waedenswil: + url: + https://openerz.metaodi.ch/api/calendar.ics?types=bulky_goods&types=cardboard&types=cargotram&types=chipping_service&types=etram&types=incombustibles&types=metal&types=oekibus&types=organic&types=paper&types=special&types=textile&types=waste&sort=date&offset=0&limit=500 + params: + region: waedenswil + area: C + regex: (.*), .* diff --git a/doc/ics/yaml/osnabrueck_de.yaml b/doc/ics/yaml/osnabrueck_de.yaml index e1618e28..e615ddc0 100644 --- a/doc/ics/yaml/osnabrueck_de.yaml +++ b/doc/ics/yaml/osnabrueck_de.yaml @@ -1,12 +1,14 @@ +--- title: Stadt Osnabrück url: https://www.osnabrueck.de/ -howto: | - - Goto and select your location. - - Right-click on `Termine importieren` and copy link address. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location. + - Right-click on `Termine importieren` and copy link address. + - Replace the `url` in the example configuration with this link. default_params: - regex: "OSB (.*)" + regex: OSB (.*) test_cases: - Alte Landebahn 17: - url: "https://geo.osnabrueck.de/osb-service/abfuhrkalender/?bezirk=2" - regex: "OSB (.*)" + Alte Landebahn 17: + url: https://geo.osnabrueck.de/osb-service/abfuhrkalender/?bezirk=2 + regex: OSB (.*) diff --git a/doc/ics/yaml/piesting_at.yaml b/doc/ics/yaml/piesting_at.yaml index 708abff5..9995d5d4 100644 --- a/doc/ics/yaml/piesting_at.yaml +++ b/doc/ics/yaml/piesting_at.yaml @@ -1,9 +1,11 @@ +--- title: Markt Piesting Dreistetten url: https://www.piesting.at/ -howto: | - - Visit . - - Right-click -> copy link address on the "Herunterladen" button below "digitaler Kalender". - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Visit . + - Right-click -> copy link address on the "Herunterladen" button below "digitaler Kalender". + - Replace the `url` in the example configuration with this link. test_cases: - ICAL File: - url: "https://www.google.com/calendar/ical/7570b106hm2i4dibq23tes9p8c%40group.calendar.google.com/public/basic.ics" + ICAL File: + url: https://www.google.com/calendar/ical/7570b106hm2i4dibq23tes9p8c%40group.calendar.google.com/public/basic.ics diff --git a/doc/ics/yaml/recollect.yaml b/doc/ics/yaml/recollect.yaml index bb7c0dc1..f1dff973 100644 --- a/doc/ics/yaml/recollect.yaml +++ b/doc/ics/yaml/recollect.yaml @@ -1,132 +1,138 @@ +--- title: ReCollect url: https://recollect.net/ country: us -extra_info: - - title: Ottawa, Canada - url: https://ottawa.ca - country: ca - - title: City of Cambridge - url: www.cambridgema.gov - country: us - - title: City of Bloomington - url: https://bloomington.in.gov - country: us - - title: City of Georgetown, TX - url: https://www.texasdisposal.com/waste-wizard/ - country: us - - title: City of Gastonia, NC - url: https://gastonianc.gov - country: us - - title: Strathcona County, ON - url: https://www.strathcona.ca/ - country: ca - - title: City of Edmonton, AB - url: https://www.edmonton.ca/ - country: ca - - title: City of Greater Sudbury, ON - url: https://www.greatersudbury.ca/ - country: ca - - title: Waste Wise APPS - url: https://www.edmonton.ca/ - country: ca - - title: Calgary, AB - url: https://www.calgary.ca/ - country: ca - - title: RM of Morris, MB - url: https://www.mwmenviro.ca/ - country: ca - - title: City of Peterborough, ON - url: https://www.peterborough.ca/ - country: ca - - title: City of Vancouver - url: https://vancouver.ca - country: ca - - title: City of Nanaimo - url: https://www.nanaimo.ca - country: ca - - title: City of Austin, TX - url: https://austintexas.gov - country: us - - title: County of Simcoe, ON - url: https://www.simcoe.ca - country: ca - - title: Halifax, NS - url: https://www.halifax.ca - country: ca - - title: Middlesbrough Council - url: https://middlesbrough.gov.uk - country: uk - - title: City of McKinney, TX - url: https://www.mckinneytexas.org/ - country: us - - title: Waste Connections - url: https://www.wasteconnections.com/ - country: us - - title: Niagara Region - url: https://www.niagararegion.ca - country: ca - - title: CURBit St. John's - url: https://curbitstjohns.ca/ - country: ca - - title: Region of Waterloo - url: https://www.regionofwaterloo.ca - country: ca - - title: University Park, TX - url: https://www.uptexas.org - country: us - - title: Peel Region, ON - url: https://www.peelregion.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". - - The URL shown is your ICS calendar link, for example. - ```plain - https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics?client_id=6FBD18FE-167B-11EC-992A-C843A7F05606 - ``` - - You can strip the client ID URL parameter to get the final URL: `https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics` +extra_info: + - title: Ottawa, Canada + url: https://ottawa.ca + country: ca + - title: City of Cambridge + url: www.cambridgema.gov + country: us + - title: City of Bloomington + url: https://bloomington.in.gov + country: us + - title: City of Georgetown, TX + url: https://www.texasdisposal.com/waste-wizard/ + country: us + - title: City of Gastonia, NC + url: https://gastonianc.gov + country: us + - title: Strathcona County, ON + url: https://www.strathcona.ca/ + country: ca + - title: City of Edmonton, AB + url: https://www.edmonton.ca/ + country: ca + - title: City of Greater Sudbury, ON + url: https://www.greatersudbury.ca/ + country: ca + - title: Waste Wise APPS + url: https://www.edmonton.ca/ + country: ca + - title: Calgary, AB + url: https://www.calgary.ca/ + country: ca + - title: RM of Morris, MB + url: https://www.mwmenviro.ca/ + country: ca + - title: City of Peterborough, ON + url: https://www.peterborough.ca/ + country: ca + - title: City of Vancouver + url: https://vancouver.ca + country: ca + - title: City of Nanaimo + url: https://www.nanaimo.ca + country: ca + - title: City of Austin, TX + url: https://austintexas.gov + country: us + - title: County of Simcoe, ON + url: https://www.simcoe.ca + country: ca + - title: Halifax, NS + url: https://www.halifax.ca + country: ca + - title: Middlesbrough Council + url: https://middlesbrough.gov.uk + country: uk + - title: City of McKinney, TX + url: https://www.mckinneytexas.org/ + country: us + - title: Waste Connections + url: https://www.wasteconnections.com/ + country: us + - title: Niagara Region + url: https://www.niagararegion.ca + country: ca + - title: CURBit St. John's + url: https://curbitstjohns.ca/ + country: ca + - title: Region of Waterloo + url: https://www.regionofwaterloo.ca + country: ca + - title: University Park, TX + url: https://www.uptexas.org + country: us + - title: Peel Region, ON + url: https://www.peelregion.ca + country: ca +howto: + en: | + - To get the URL, search your address in the recollect form of your home town. + - Click "Get a calendar", then "Add to Google Calendar". + - The URL shown is your ICS calendar link, for example. + ```plain + https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics?client_id=6FBD18FE-167B-11EC-992A-C843A7F05606 + ``` + - You can strip the client ID URL parameter to get the final URL: `https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics` - known to work with: - |Region|Country|URL| - |-|-|-| - |Ottawa, ON|Canada|[ottawa.ca](https://ottawa.ca/en/garbage-and-recycling/recycling/garbage-and-recycling-collection-calendar)| - |Simcoe County, ON|Canada|[simcoe.ca](https://www.simcoe.ca/dpt/swm/when)| - |City of Bloomington, IN|USA|[api.recollect.net/r/area/bloomingtonin](https://api.recollect.net/r/area/bloomingtonin)| - |City of Cambridge, MA|USA|[cambridgema.gov](https://www.cambridgema.gov/services/curbsidecollections)| - |City of Georgetown, TX|USA|[texasdisposal.com](https://www.texasdisposal.com/waste-wizard/)| - |City of Vancouver|Canada|[vancouver.ca](https://vancouver.ca/home-property-development/garbage-and-recycling-collection-schedules.aspx)| - |City of Nanaimo|Canada|[nanaimo.ca](https://www.nanaimo.ca/city-services/garbage-recycling/collectionschedule)| - |City of Austin|USA|[austintexas.gov](https://www.austintexas.gov/myschedule)| - |Middlesbrough|UK|[middlesbrough.gov.uk](https://my.middlesbrough.gov.uk/login/)| - |City of McKinney|USA|[mckinneytexas.org](https://www.mckinneytexas.org/503/Residential-Trash-Services/#App)| - |Waste Connections|USA|[wasteconnections.com](https://www.wasteconnections.com/pickup-schedule/)| + known to work with: + |Region|Country|URL| + |-|-|-| + |Ottawa, ON|Canada|[ottawa.ca](https://ottawa.ca/en/garbage-and-recycling/recycling/garbage-and-recycling-collection-calendar)| + |Simcoe County, ON|Canada|[simcoe.ca](https://www.simcoe.ca/dpt/swm/when)| + |City of Bloomington, IN|USA|[api.recollect.net/r/area/bloomingtonin](https://api.recollect.net/r/area/bloomingtonin)| + |City of Cambridge, MA|USA|[cambridgema.gov](https://www.cambridgema.gov/services/curbsidecollections)| + |City of Georgetown, TX|USA|[texasdisposal.com](https://www.texasdisposal.com/waste-wizard/)| + |City of Vancouver|Canada|[vancouver.ca](https://vancouver.ca/home-property-development/garbage-and-recycling-collection-schedules.aspx)| + |City of Nanaimo|Canada|[nanaimo.ca](https://www.nanaimo.ca/city-services/garbage-recycling/collectionschedule)| + |City of Austin|USA|[austintexas.gov](https://www.austintexas.gov/myschedule)| + |Middlesbrough|UK|[middlesbrough.gov.uk](https://my.middlesbrough.gov.uk/login/)| + |City of McKinney|USA|[mckinneytexas.org](https://www.mckinneytexas.org/503/Residential-Trash-Services/#App)| + |Waste Connections|USA|[wasteconnections.com](https://www.wasteconnections.com/pickup-schedule/)| - and probably a lot more. + and probably a lot more. default_params: - split_at: "\\, (?:and )?|(?: and )" + split_at: '\, (?:and )?|(?: and )' test_cases: - Cambridge, MA, USA: - url: "https://recollect.a.ssl.fastly.net/api/places/F2BCBBF2-ACC9-11E8-B4BD-CFDD30C1D4D8/services/761/events.en-US.ics" - split_at: "\\, (?:and )?|(?: and )" - Ottawa, ON, Canada: - url: https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics - split_at: "\\, (?:and )?|(?: and )" - Georgetown, TX, USA: - url: "https://recollect.a.ssl.fastly.net/api/places/9EA385D4-4AF9-11EB-B308-E6A235C11932/services/611/events.en-US.ics" - split_at: "\\, (?:and )?|(?: and )" - Sherwood Park, AB, Canada: - url: "webcal://recollect.a.ssl.fastly.net/api/places/F5A5C1D2-3D25-11EE-A377-8D1C706BDDF3/services/238/events.en.ics?client_id=7CCAFDAE-3D25-11EE-8AF8-9D1C706BDDF3" - 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 )" - 166 W 47th Ave, Vancouver: - url: "webcal://recollect.a.ssl.fastly.net/api/places/3734BF46-A9A1-11E2-8B00-43B94144C028/services/193/events.en.ics?client_id=8844492C-9457-11EE-90E3-08A383E66757" - Cathedral of Junk, Austin, TX: - url: https://recollect.a.ssl.fastly.net/api/places/2587D9F6-DF59-11E8-96F5-0E2C682931C6/services/323/events.en-US.ics - split_at: "\\, (?:and )?|(?: and )" - 3329 Sorghum Way, McKinney, TX: - url: https://api.recollect.net/w/areas/WC-5183/services/995/pages/widget_subscribe_calendar?back_stack=%5B%5B%22place_calendar%22%2C%7B%22for%22%3A%22WC-5183%22%2C%22tabbed%22%3Atrue%7D%5D%5D# - split_at: "\\, (?:and )?|(?: and )" + Cambridge, MA, USA: + url: https://recollect.a.ssl.fastly.net/api/places/F2BCBBF2-ACC9-11E8-B4BD-CFDD30C1D4D8/services/761/events.en-US.ics + split_at: '\, (?:and )?|(?: and )' + Ottawa, ON, Canada: + url: https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics + split_at: '\, (?:and )?|(?: and )' + Georgetown, TX, USA: + url: https://recollect.a.ssl.fastly.net/api/places/9EA385D4-4AF9-11EB-B308-E6A235C11932/services/611/events.en-US.ics + split_at: '\, (?:and )?|(?: and )' + Sherwood Park, AB, Canada: + url: + webcal://recollect.a.ssl.fastly.net/api/places/F5A5C1D2-3D25-11EE-A377-8D1C706BDDF3/services/238/events.en.ics?client_id=7CCAFDAE-3D25-11EE-8AF8-9D1C706BDDF3 + 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 )' + 166 W 47th Ave, Vancouver: + url: + webcal://recollect.a.ssl.fastly.net/api/places/3734BF46-A9A1-11E2-8B00-43B94144C028/services/193/events.en.ics?client_id=8844492C-9457-11EE-90E3-08A383E66757 + Cathedral of Junk, Austin, TX: + url: https://recollect.a.ssl.fastly.net/api/places/2587D9F6-DF59-11E8-96F5-0E2C682931C6/services/323/events.en-US.ics + split_at: '\, (?:and )?|(?: and )' + 3329 Sorghum Way, McKinney, TX: + url: + https://api.recollect.net/w/areas/WC-5183/services/995/pages/widget_subscribe_calendar?back_stack=%5B%5B%22place_calendar%22%2C%7B%22for%22%3A%22WC-5183%22%2C%22tabbed%22%3Atrue%7D%5D%5D# + split_at: '\, (?:and )?|(?: and )' diff --git a/doc/ics/yaml/siegen_stadt_de.yaml b/doc/ics/yaml/siegen_stadt_de.yaml index 676058ba..21d514fa 100644 --- a/doc/ics/yaml/siegen_stadt_de.yaml +++ b/doc/ics/yaml/siegen_stadt_de.yaml @@ -1,10 +1,12 @@ +--- title: Siegen url: https://www.siegen-stadt.de -howto: | - - Visit and select your location. - - Right click -> copy link address on `Abfallkalender als iCAL` below `Druckansichten` to get the ics link. - - Replace the `url` in the example configuration with this link. - - Replace the year in the link with `{%Y}` to always get the current year. +howto: + en: | + - Visit and select your location. + - Right click -> copy link address on `Abfallkalender als iCAL` below `Druckansichten` to get the ics link. + - Replace the `url` in the example configuration with this link. + - Replace the year in the link with `{%Y}` to always get the current year. test_cases: - HAUPTSTRAßE: - url: "https://www.siegen-stadt.de/abfallkalender/list/download/4130/{%Y}/0" + HAUPTSTRAßE: + url: https://www.siegen-stadt.de/abfallkalender/list/download/4130/{%Y}/0 diff --git a/doc/ics/yaml/southlakeland_gov_uk.yaml b/doc/ics/yaml/southlakeland_gov_uk.yaml index 8c68c5f1..83d90d24 100644 --- a/doc/ics/yaml/southlakeland_gov_uk.yaml +++ b/doc/ics/yaml/southlakeland_gov_uk.yaml @@ -1,9 +1,11 @@ +--- title: Westmorland & Furness Council, South Lakeland area url: https://southlakeland.gov.uk/ -howto: | - - Goto and select your location. - - Rightclick -> copy the URL of the `Import these dates into your calendar` link. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location. + - Rightclick -> copy the URL of the `Import these dates into your calendar` link. + - Replace the `url` in the example configuration with this link. test_cases: - 8, Cliff Terrace, Kendal, LA9 4JR: - url: "https://www.southlakeland.gov.uk/Umbraco/Api/iCalRecycling/Get/?siteid=48750" + 8, Cliff Terrace, Kendal, LA9 4JR: + url: https://www.southlakeland.gov.uk/Umbraco/Api/iCalRecycling/Get/?siteid=48750 diff --git a/doc/ics/yaml/st-poelten_at.yaml b/doc/ics/yaml/st-poelten_at.yaml index 7c1103aa..9ea25ae5 100644 --- a/doc/ics/yaml/st-poelten_at.yaml +++ b/doc/ics/yaml/st-poelten_at.yaml @@ -1,17 +1,19 @@ +--- title: Abfallwirtschaft der Stadt St. Pölten url: https://www.st-poelten.at/sonstiges/17653-abfallkalender country: at -howto: | - - Goto and click "Inhalte von services.st-poelten.at laden" - - fill out your address - - click F12 or start the dev-mode on your browser another way - - click on "Download Kalenderexport" and discard or save the file (you'll not need it for that) - - find the link for the ics-file in the "Network"-section of your browsers Dev-tools - - copy the link - for the Landhaus it's https://services.infeo.at/awm/api/st.p%C3%B6lten/wastecalendar/v2/export/?calendarId=135&cityId=162&streetId=124691&housenumber=1&outputType=ical - - (the only values changing here shall be "streetId" and "housenumber") +howto: + en: | + - Goto and click "Inhalte von services.st-poelten.at laden" + - fill out your address + - click F12 or start the dev-mode on your browser another way + - click on "Download Kalenderexport" and discard or save the file (you'll not need it for that) + - find the link for the ics-file in the "Network"-section of your browsers Dev-tools + - copy the link - for the Landhaus it's https://services.infeo.at/awm/api/st.p%C3%B6lten/wastecalendar/v2/export/?calendarId=135&cityId=162&streetId=124691&housenumber=1&outputType=ical + - (the only values changing here shall be "streetId" and "housenumber") default_params: - split_at: " & " + split_at: ' & ' test_cases: - Oppach: - url: "https://services.infeo.at/awm/api/st.p%C3%B6lten/wastecalendar/v2/export/?calendarId=135&cityId=162&streetId=124691&housenumber=1&outputType=ical" - split_at: " & " + Oppach: + url: https://services.infeo.at/awm/api/st.p%C3%B6lten/wastecalendar/v2/export/?calendarId=135&cityId=162&streetId=124691&housenumber=1&outputType=ical + split_at: ' & ' diff --git a/doc/ics/yaml/stadt_mainhausen_de.yaml b/doc/ics/yaml/stadt_mainhausen_de.yaml index d31c2b32..c29ef1d6 100644 --- a/doc/ics/yaml/stadt_mainhausen_de.yaml +++ b/doc/ics/yaml/stadt_mainhausen_de.yaml @@ -1,13 +1,15 @@ +--- title: Stadt Mainhausen url: https://www.mainhausen.de/ -howto: | - - Goto and select your street name. - - Right-click on `Download Kalenderdatei nur Bezirke mit *selected street name*` and copy link address. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your street name. + - Right-click on `Download Kalenderdatei nur Bezirke mit *selected street name*` and copy link address. + - Replace the `url` in the example configuration with this link. test_cases: Breslauer Straße: - url: "https://www.mainhausen.de/municipal/subscribe/trash/15" + url: https://www.mainhausen.de/municipal/subscribe/trash/15 Aussiger Straße: - url: "https://www.mainhausen.de/municipal/subscribe/trash/9" + url: https://www.mainhausen.de/municipal/subscribe/trash/9 Mainflinger Straße: - url: "https://www.mainhausen.de/municipal/subscribe/trash/44" + url: https://www.mainhausen.de/municipal/subscribe/trash/44 diff --git a/doc/ics/yaml/stadtbetrieb_frechen_de.yaml b/doc/ics/yaml/stadtbetrieb_frechen_de.yaml index bfa1aed7..ecd0a82b 100644 --- a/doc/ics/yaml/stadtbetrieb_frechen_de.yaml +++ b/doc/ics/yaml/stadtbetrieb_frechen_de.yaml @@ -1,10 +1,12 @@ +--- title: Stadtbetrieb Frechen url: https://www.stadtbetrieb-frechen.de/ -howto: | - - Goto and select your street name. - - Right-click on `Jahreskalender importieren (iCal)` and copy link address. - - Replace the `url` in the example configuration with this link. - - Replace the year in the url with `{%Y}` this way the link keep valid for following years. +howto: + en: | + - Goto and select your street name. + - Right-click on `Jahreskalender importieren (iCal)` and copy link address. + - Replace the `url` in the example configuration with this link. + - Replace the year in the url with `{%Y}` this way the link keep valid for following years. test_cases: Elisabethstrasse: - url: "https://www.stadtbetrieb-frechen.de/service/abfallkalender/elisabethstrasse-141/{%Y}/ical" + url: https://www.stadtbetrieb-frechen.de/service/abfallkalender/elisabethstrasse-141/{%Y}/ical diff --git a/doc/ics/yaml/stadtentsorgung_rostock_de.yaml b/doc/ics/yaml/stadtentsorgung_rostock_de.yaml index 3e16a3a8..c1b04bef 100644 --- a/doc/ics/yaml/stadtentsorgung_rostock_de.yaml +++ b/doc/ics/yaml/stadtentsorgung_rostock_de.yaml @@ -1,21 +1,23 @@ +--- title: Stadtentsorgung Rostock url: https://www.stadtentsorgung-rostock.de -howto: | - - Goto and select your location. - - Click on `Abfuhrtermine anzeigen` - - Click on `Jahr` - - Right-click on `Terminexport` and select `Inspect`. - - You should see a HTML fragment like this: +howto: + en: | + - Goto and select your location. + - Click on `Abfuhrtermine anzeigen` + - Click on `Jahr` + - Right-click on `Terminexport` and select `Inspect`. + - You should see a HTML fragment like this: - ```html - - ``` + ```html + + ``` - The relevant information piece is the text between `(key)/` and `(period)`, which is `GEG~17155-AWI~17155` in this example. + The relevant information piece is the text between `(key)/` and `(period)`, which is `GEG~17155-AWI~17155` in this example. - - Replace the corresponding text in the example configuration with your values from the HTML fragment. + - Replace the corresponding text in the example configuration with your values from the HTML fragment. test_cases: Bahnhofstr. 1: - url: "https://www.stadtentsorgung-rostock.de/service/ekalend_ical/(key)/AWI~156364-GEG~156364/(period)/year" + url: https://www.stadtentsorgung-rostock.de/service/ekalend_ical/(key)/AWI~156364-GEG~156364/(period)/year Baumschulenweg 1: - url: "https://www.stadtentsorgung-rostock.de/service/ekalend_ical/(key)/GEG~17155-AWI~17155/(period)/year" + url: https://www.stadtentsorgung-rostock.de/service/ekalend_ical/(key)/GEG~17155-AWI~17155/(period)/year diff --git a/doc/ics/yaml/stadtreinigung_leipzig_de.yaml b/doc/ics/yaml/stadtreinigung_leipzig_de.yaml index 45995cb0..6396151b 100644 --- a/doc/ics/yaml/stadtreinigung_leipzig_de.yaml +++ b/doc/ics/yaml/stadtreinigung_leipzig_de.yaml @@ -1,13 +1,15 @@ +--- title: Stadtreinigung Leipzig url: https://stadtreinigung-leipzig.de/ -howto: | - - Goto , select your location and click on "Termine anzeigen". - - Download the iCal file by clicking on 'Exportieren' -> `Ganztätig` -> `Herunterladen`. - - Copy the download link of the ical file (firefox: downloads menu -> right click -> copy download-link). - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto , select your location and click on "Termine anzeigen". + - Download the iCal file by clicking on 'Exportieren' -> `Ganztätig` -> `Herunterladen`. + - Copy the download link of the ical file (firefox: downloads menu -> right click -> copy download-link). + - Replace the `url` in the example configuration with this link. default_params: - regex: "(.*), .*" + regex: (.*), .* test_cases: - Sandgrubenweg 27: - url: "https://stadtreinigung-leipzig.de/wir-kommen-zu-ihnen/abfallkalender/ical.ics?position_nos=38296&name=Sandgrubenweg&mode=download" - regex: "(.*), .*" + Sandgrubenweg 27: + url: https://stadtreinigung-leipzig.de/wir-kommen-zu-ihnen/abfallkalender/ical.ics?position_nos=38296&name=Sandgrubenweg&mode=download + regex: (.*), .* diff --git a/doc/ics/yaml/stadtwerke_huerth_de.yaml b/doc/ics/yaml/stadtwerke_huerth_de.yaml index 5e78d418..13fdfc43 100644 --- a/doc/ics/yaml/stadtwerke_huerth_de.yaml +++ b/doc/ics/yaml/stadtwerke_huerth_de.yaml @@ -1,10 +1,13 @@ +--- title: Stadtwerke Hürth url: https://stadtwerke-huerth.de -howto: | - - Goto and select your location on the left of the calendar (not the dropdown menu above the calendar). - - Copy the link of the button `Termine herunterladen` below the calendar. - - Replace the `url` in the example configuration with this link. - - You may want to change the date in the url to `{%Y}-01-01` für multi year use (not sure if necessary) +howto: + en: | + - Goto and select your location on the left of the calendar (not the dropdown menu above the calendar). + - Copy the link of the button `Termine herunterladen` below the calendar. + - Replace the `url` in the example configuration with this link. + - You may want to change the date in the url to `{%Y}-01-01` für multi year use (not sure if necessary) test_cases: - Alt-Hürth Am Römerkanal: - url: "https://www.swhmobil.de/muellkalender?tx_swhtonnenalarm_pi1%5Baction%5D=calendarFile&tx_swhtonnenalarm_pi1%5Bcontroller%5D=Calendar&tx_swhtonnenalarm_pi1%5BselectedDate%5D={%Y}-01-01&tx_swhtonnenalarm_pi1%5BselectedDistrict%5D=Alt-H%C3%BCrth&tx_swhtonnenalarm_pi1%5BselectedStreet%5D=Am%20R%C3%B6merkanal&tx_swhtonnenalarm_pi1%5BselectedTypes%5D%5B0%5D=1&tx_swhtonnenalarm_pi1%5BselectedTypes%5D%5B1%5D=5&tx_swhtonnenalarm_pi1%5BselectedTypes%5D%5B2%5D=4&tx_swhtonnenalarm_pi1%5BselectedTypes%5D%5B3%5D=2&tx_swhtonnenalarm_pi1%5BselectedTypes%5D%5B4%5D=6&tx_swhtonnenalarm_pi1%5BselectedTypes%5D%5B5%5D=3&tx_swhtonnenalarm_pi1%5BselectedTypes%5D%5B6%5D=7&type=1985&cHash=21e359062f8252efaa7b3dbfc57b98c1" + Alt-Hürth Am Römerkanal: + url: + https://www.swhmobil.de/muellkalender?tx_swhtonnenalarm_pi1%5Baction%5D=calendarFile&tx_swhtonnenalarm_pi1%5Bcontroller%5D=Calendar&tx_swhtonnenalarm_pi1%5BselectedDate%5D={%Y}-01-01&tx_swhtonnenalarm_pi1%5BselectedDistrict%5D=Alt-H%C3%BCrth&tx_swhtonnenalarm_pi1%5BselectedStreet%5D=Am%20R%C3%B6merkanal&tx_swhtonnenalarm_pi1%5BselectedTypes%5D%5B0%5D=1&tx_swhtonnenalarm_pi1%5BselectedTypes%5D%5B1%5D=5&tx_swhtonnenalarm_pi1%5BselectedTypes%5D%5B2%5D=4&tx_swhtonnenalarm_pi1%5BselectedTypes%5D%5B3%5D=2&tx_swhtonnenalarm_pi1%5BselectedTypes%5D%5B4%5D=6&tx_swhtonnenalarm_pi1%5BselectedTypes%5D%5B5%5D=3&tx_swhtonnenalarm_pi1%5BselectedTypes%5D%5B6%5D=7&type=1985&cHash=21e359062f8252efaa7b3dbfc57b98c1 diff --git a/doc/ics/yaml/steinburg_de.yaml b/doc/ics/yaml/steinburg_de.yaml index cb7fff2a..f69a9982 100644 --- a/doc/ics/yaml/steinburg_de.yaml +++ b/doc/ics/yaml/steinburg_de.yaml @@ -1,9 +1,11 @@ +--- title: Kreis Steinburg url: https://steinburg.de -howto: | - - Goto and select your location. - - Right-click, copy the link address of the `Als Kalenderdatei (.ics) herunterladen` link. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location. + - Right-click, copy the link address of the `Als Kalenderdatei (.ics) herunterladen` link. + - Replace the `url` in the example configuration with this link. test_cases: - Bekmünde Am Deich 1: - url: "https://abfall.steinburg.de/api_v2/collection_dates/1/ort/10/strasse/10/hausnummern/1/abfallarten/R02-B02-P04-D02-R04-R11-W0/kalender.ics" + Bekmünde Am Deich 1: + url: https://abfall.steinburg.de/api_v2/collection_dates/1/ort/10/strasse/10/hausnummern/1/abfallarten/R02-B02-P04-D02-R04-R11-W0/kalender.ics diff --git a/doc/ics/yaml/swk_herford_de.yaml b/doc/ics/yaml/swk_herford_de.yaml index f4605b6a..3207f5d1 100644 --- a/doc/ics/yaml/swk_herford_de.yaml +++ b/doc/ics/yaml/swk_herford_de.yaml @@ -1,15 +1,17 @@ +--- title: SWK Herford url: https://swk.herford.de/ -howto: | - - Goto and select your location. - - Copy the link of ` Export in Kalenderanwendung` - - 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 might want to keep the regex as it removes potentially unnecessary information from the title. +howto: + en: | + - Goto and select your location. + - Copy the link of ` Export in Kalenderanwendung` + - 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 might want to keep the regex as it removes potentially unnecessary information from the title. default_params: - regex: HF (.*?),? \d{1} wöchentlich.* + regex: HF (.*?),? \d{1} wöchentlich.* test_cases: - Hauptstrasse 1 C: - url: "https://swk.herford.de/output/abfall_export.php?csv_export=1&mode=vcal&ort=393.9&strasse=395.5.1&vtyp=2&vMo=01&vJ={%Y}&bMo=12" - regex: HF (.*?),? \d{1} wöchentlich.* + Hauptstrasse 1 C: + url: https://swk.herford.de/output/abfall_export.php?csv_export=1&mode=vcal&ort=393.9&strasse=395.5.1&vtyp=2&vMo=01&vJ={%Y}&bMo=12 + regex: HF (.*?),? \d{1} wöchentlich.* diff --git a/doc/ics/yaml/tbr_reutlingen_de.yaml b/doc/ics/yaml/tbr_reutlingen_de.yaml index 0dc48b7a..9f713de4 100644 --- a/doc/ics/yaml/tbr_reutlingen_de.yaml +++ b/doc/ics/yaml/tbr_reutlingen_de.yaml @@ -1,10 +1,13 @@ +--- title: Technischer Betriebsdienst Reutlingen url: https://www.tbr-reutlingen.de -howto: | - - Goto and select your street. - - Right-click on `Abfuhrtermine (iCal) herunterladen` and copy link address. - - Replace the `url` in the example configuration with this link. - - The trailing part of the URL is a URL-encoded JSON string. It contains the "from" and "to" dates for the calendar. You need to replace the "from" date with `01.01.{%Y}` and the "to" date with `31.12.{%Y}`. You can use a ureldecoding/-encoding service to make the URL path easier to edit. +howto: + en: | + - Goto and select your street. + - Right-click on `Abfuhrtermine (iCal) herunterladen` and copy link address. + - Replace the `url` in the example configuration with this link. + - The trailing part of the URL is a URL-encoded JSON string. It contains the "from" and "to" dates for the calendar. You need to replace the "from" date with `01.01.{%Y}` and the "to" date with `31.12.{%Y}`. You can use a ureldecoding/-encoding service to make the URL path easier to edit. test_cases: - Reutlingen: - url: "https://www.tbr-reutlingen.de/tools/garbageCalendar/ics/1/%7B%22garbageTypeFilter%22%3A%7B%22RM2%22%3A%22RM2%22%2C%22RM4%22%3A%22RM4%22%2C%22BIO%22%3A%22BIO%22%2C%22GES%22%3A%22GES%22%2C%22GRG%22%3A%22GRG%22%2C%22PAP%22%3A%22PAP%22%2C%22WST%22%3A%22WST%22%7D%2C%22dateFilter%22%3A%7B%22from%22%3A%2201.01.{%Y}%22%2C%22to%22%3A%2231.12.{%Y}%22%7D%7D" + Reutlingen: + url: + https://www.tbr-reutlingen.de/tools/garbageCalendar/ics/1/%7B%22garbageTypeFilter%22%3A%7B%22RM2%22%3A%22RM2%22%2C%22RM4%22%3A%22RM4%22%2C%22BIO%22%3A%22BIO%22%2C%22GES%22%3A%22GES%22%2C%22GRG%22%3A%22GRG%22%2C%22PAP%22%3A%22PAP%22%2C%22WST%22%3A%22WST%22%7D%2C%22dateFilter%22%3A%7B%22from%22%3A%2201.01.{%Y}%22%2C%22to%22%3A%2231.12.{%Y}%22%7D%7D diff --git a/doc/ics/yaml/traiskirchen_gv_at.yaml b/doc/ics/yaml/traiskirchen_gv_at.yaml index b5ab40ae..85902905 100644 --- a/doc/ics/yaml/traiskirchen_gv_at.yaml +++ b/doc/ics/yaml/traiskirchen_gv_at.yaml @@ -1,9 +1,11 @@ +--- title: Stadtgemeinde Traiskirchen url: https://traiskirchen.gv.at -howto: | - - Goto and search your address. - - Copy the link of `Abfuhrbereich...` below `Kalender zum Download als ICS` button. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and search your address. + - Copy the link of `Abfuhrbereich...` below `Kalender zum Download als ICS` button. + - Replace the `url` in the example configuration with this link. test_cases: - Abfuhrbereich 5: - url: "https://traiskirchen.gv.at/fileadmin/files/download/iCAL-Abfuhrkalender/Abfuhrbereich_5.ics" + Abfuhrbereich 5: + url: https://traiskirchen.gv.at/fileadmin/files/download/iCAL-Abfuhrkalender/Abfuhrbereich_5.ics diff --git a/doc/ics/yaml/trv_no.yaml b/doc/ics/yaml/trv_no.yaml index cb8ebd29..470c366c 100644 --- a/doc/ics/yaml/trv_no.yaml +++ b/doc/ics/yaml/trv_no.yaml @@ -1,9 +1,11 @@ +--- title: Trondheim url: https://trv.no/ -howto: | - - Go to and search for your address. - - Copy the link address of `Legg til i kalender (iCal)` to get a webcal link. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Go to and search for your address. + - Copy the link address of `Legg til i kalender (iCal)` to get a webcal link. + - Replace the `url` in the example configuration with this link. test_cases: - Asalvegen 1A: - url: "webcal://trv.no/calendar/002cac88-e10d-4138-b4d6-d3494d892f4b" + Asalvegen 1A: + url: webcal://trv.no/calendar/002cac88-e10d-4138-b4d6-d3494d892f4b diff --git a/doc/ics/yaml/vogtlandkreis_de.yaml b/doc/ics/yaml/vogtlandkreis_de.yaml index 8bfdeb11..30234949 100644 --- a/doc/ics/yaml/vogtlandkreis_de.yaml +++ b/doc/ics/yaml/vogtlandkreis_de.yaml @@ -1,9 +1,12 @@ +--- title: Landkreis Vogtland url: https://vogtlandkreis.de -howto: | - - Goto and select your location. - - Click on `URL ANZEIGEN` to get a ical link. If the button is broken use the `URL in Zwichenablage kopieren` button. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location. + - Click on `URL ANZEIGEN` to get a ical link. If the button is broken use the `URL in Zwichenablage kopieren` button. + - Replace the `url` in the example configuration with this link. test_cases: - Bergen, Am Anger 3a: - url: "https://awi.vogtlandkreis.de/WasteManagementVogtland/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=1017029001&AboID=217980&Fra=R2;P;P1;B;G;R1https://awi.vogtlandkreis.de/WasteManagementVogtland/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=1017786001&AboID=217979&Fra=R2;P;P1;B;G;R1" + Bergen, Am Anger 3a: + url: + https://awi.vogtlandkreis.de/WasteManagementVogtland/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=1017029001&AboID=217980&Fra=R2;P;P1;B;G;R1https://awi.vogtlandkreis.de/WasteManagementVogtland/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=1017786001&AboID=217979&Fra=R2;P;P1;B;G;R1 diff --git a/doc/ics/yaml/worms_de.yaml b/doc/ics/yaml/worms_de.yaml index 2328beb9..9165e97b 100644 --- a/doc/ics/yaml/worms_de.yaml +++ b/doc/ics/yaml/worms_de.yaml @@ -1,13 +1,15 @@ +--- title: ebwo - Entsorgungs- und Baubetrieb Anstalt des öffentlichen Rechts der Stadt Worms url: https://www.worms.de/de/web/ebwo/ -howto: | - - Goto and switch to the Abfallakalender tab. - - Search for your street and click on the street name. - - Right click on the 'Export-Datei (.ics) herunterladen' button and select 'Copy link address'. - - Replace the `url` in the example configuration with this link. - - Replace the year in the url with `{%Y}` to keep the link valid for following years. -test_cases: - Ahornweg: +howto: + en: | + - Goto and switch to the Abfallakalender tab. + - Search for your street and click on the street name. + - Right click on the 'Export-Datei (.ics) herunterladen' button and select 'Copy link address'. + - Replace the `url` in the example configuration with this link. + - Replace the year in the url with `{%Y}` to keep the link valid for following years. +test_cases: + Ahornweg: url: https://www.worms.de/de/web/ebwo/abfallkalender/{%Y}/ical.php?id=4ca5c7e9a80af5540.93039563 Marktplatz: url: https://www.worms.de/de/web/ebwo/abfallkalender/{%Y}/ical.php?id=4ca5c7e9a80e1b805.42577576 diff --git a/doc/ics/yaml/za_sws_de.yaml b/doc/ics/yaml/za_sws_de.yaml index 119fb588..1330e416 100644 --- a/doc/ics/yaml/za_sws_de.yaml +++ b/doc/ics/yaml/za_sws_de.yaml @@ -1,10 +1,13 @@ +--- title: Zweckverband Abfallwirtschaft Südwestsachsen (ZAS) url: https://www.za-sws.de/ -howto: | - - Goto and select your location. - - Click on `URL in die Zwischenablage kopieren` to copy the link to the ICS file. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location. + - Click on `URL in die Zwischenablage kopieren` to copy the link to the ICS file. + - Replace the `url` in the example configuration with this link. test_cases: - Gornsdorf, August-Bebel Strasse 23: - url: "https://online-portal.za-sws.de/WasteManagementSuedwestsachsen/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=16459903001&AboID=80078&Fra=P;R;B;C;S;W;L" - verify_ssl: false \ No newline at end of file + Gornsdorf, August-Bebel Strasse 23: + url: + https://online-portal.za-sws.de/WasteManagementSuedwestsachsen/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=16459903001&AboID=80078&Fra=P;R;B;C;S;W;L + verify_ssl: false diff --git a/doc/ics/yaml/zah_hildesheim_de.yaml b/doc/ics/yaml/zah_hildesheim_de.yaml index f9a8d55f..7837d2eb 100644 --- a/doc/ics/yaml/zah_hildesheim_de.yaml +++ b/doc/ics/yaml/zah_hildesheim_de.yaml @@ -1,12 +1,14 @@ +--- title: ZAH Hildesheim url: https://www.zah-hildesheim.de/ -howto: | - - Goto and select your location. - - Right-click on `Export Kalender` and copy link address. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location. + - Right-click on `Export Kalender` and copy link address. + - Replace the `url` in the example configuration with this link. default_params: - regex: "(.*)(?:\\s\\(verschoben\\))" + regex: (.*)(?:\s\(verschoben\)) test_cases: - Elze, Ortsteil Elze, Meisenweg: - url: "https://hildesheim.abfuhrkalender.de/ICalendar/Index.aspx?year={%Y}&streetID=5065" - regex: "(.*)(?:\\s\\(verschoben\\))" + Elze, Ortsteil Elze, Meisenweg: + url: https://hildesheim.abfuhrkalender.de/ICalendar/Index.aspx?year={%Y}&streetID=5065 + regex: (.*)(?:\s\(verschoben\)) diff --git a/doc/ics/yaml/zaoe_de.yaml b/doc/ics/yaml/zaoe_de.yaml index a54833be..249177af 100644 --- a/doc/ics/yaml/zaoe_de.yaml +++ b/doc/ics/yaml/zaoe_de.yaml @@ -1,9 +1,11 @@ +--- title: Zweckverband Abfallwirtschaft Oberes Elbtal url: https://www.zaoe.de/ -howto: | - - Goto and select your location. - - Click on `(als iCal-Abonnement)` to get a webcal link. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your location. + - Click on `(als iCal-Abonnement)` to get a webcal link. + - Replace the `url` in the example configuration with this link. test_cases: - Riesa-Großenhain, Schönfeld, OT Kraußnitz, Grenzweg: - url: "https://www.zaoe.de/kalender/ical/33213/_1-2-3-4-5-6-7/24/" + Riesa-Großenhain, Schönfeld, OT Kraußnitz, Grenzweg: + url: https://www.zaoe.de/kalender/ical/33213/_1-2-3-4-5-6-7/24/ diff --git a/doc/ics/yaml/zfa_iserlohn_de.yaml b/doc/ics/yaml/zfa_iserlohn_de.yaml index b4c54775..df5cfe70 100644 --- a/doc/ics/yaml/zfa_iserlohn_de.yaml +++ b/doc/ics/yaml/zfa_iserlohn_de.yaml @@ -1,12 +1,14 @@ +--- title: ZfA Iserlohn url: https://www.zfa-iserlohn.de -howto: | - - Goto and select your municipality. - - Click on `Leerungstermine` - - Right-click on `Leerungstermine 20xx als Kaldender-Datei (ICS-Format)` and copy link address. - - Replace the `url` in the example configuration with this link. +howto: + en: | + - Goto and select your municipality. + - Click on `Leerungstermine` + - Right-click on `Leerungstermine 20xx als Kaldender-Datei (ICS-Format)` and copy link address. + - Replace the `url` in the example configuration with this link. test_cases: Menden, Bahnstrasse: - url: "https://www.zfa-iserlohn.de/kalender_75e408a534610f9326bd4edd4956abbb.ics" + url: https://www.zfa-iserlohn.de/kalender_75e408a534610f9326bd4edd4956abbb.ics Iserlohn, Bahnhofsplatz: - url: "https://www.zfa-iserlohn.de/kalender_8592ee817bbd0298caa04766b9925484.ics" + url: https://www.zfa-iserlohn.de/kalender_8592ee817bbd0298caa04766b9925484.ics diff --git a/requirements.txt b/requirements.txt index 8b15b1bf..1c3e5ddf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,3 +11,4 @@ urllib3>=2.0.7 jinja2>=3.1.2 lxml>=4.9.4 pycryptodome>=3.20.0 +typing_extensions>=4.12.2 diff --git a/update_docu_links.py b/update_docu_links.py index a23adbaa..07f71588 100755 --- a/update_docu_links.py +++ b/update_docu_links.py @@ -8,7 +8,12 @@ import re import site from pathlib import Path from types import ModuleType -from typing import Any, Tuple +from typing import Any, Callable, Tuple, TypedDict, TypeVar + +try: + from typing import NotRequired +except ImportError: + from typing_extensions import NotRequired import yaml @@ -51,6 +56,7 @@ class SourceInfo: extra_info_default_params: dict[str, Any] = {}, custom_param_translation: dict[str, dict[str, str]] = {}, custom_param_description: dict[str, dict[str, str]] = {}, + custom_howto: dict[str, str] = {}, ): self._filename = filename self._module = module @@ -62,6 +68,7 @@ class SourceInfo: self._custom_param_translation = custom_param_translation self._custom_param_description = custom_param_description + self._custom_howto = custom_howto for k, v in custom_param_translation.items(): if k not in LANGUAGES: @@ -126,6 +133,10 @@ class SourceInfo: def custom_param_description(self): return self._custom_param_description + @property + def custom_howto(self): + return self._custom_howto + class Section: def __init__(self, section): @@ -140,7 +151,26 @@ class Section: return f"" -def split_camel_and_snake_case(s): +class ExtraInfoDict(TypedDict): + title: NotRequired[str] + url: NotRequired[str] + country: NotRequired[str] + default_params: NotRequired[dict[str, Any]] + how_to_get_arguments_description: NotRequired[dict[str, str]] + + +class IcsSourceData(TypedDict): + title: str + url: str + description: NotRequired[str] + howto: dict[str, str] + country: NotRequired[str] + default_params: NotRequired[dict[str, Any]] + test_cases: dict[str, dict[str, Any]] + extra_info: NotRequired[list[ExtraInfoDict]] + + +def split_camel_and_snake_case(s: str) -> list[str]: s = re.sub("([a-z0-9])([A-Z])", r"\1 \2", s) # Split CamelCase return s.replace("_", " ").split() # Split snake_case @@ -230,6 +260,7 @@ def browse_sources() -> list[SourceInfo]: params.remove("self") param_translations = getattr(module, "PARAM_TRANSLATIONS", {}) param_descriptions = getattr(module, "PARAM_DESCRIPTIONS", {}) + howto = getattr(module, "HOW_TO_GET_ARGUMENTS_DESCRIPTION", {}) filename = f"/doc/source/{f}.md" if title is not None: @@ -243,10 +274,13 @@ def browse_sources() -> list[SourceInfo]: params=params, custom_param_translation=param_translations, custom_param_description=param_descriptions, + custom_howto=howto, ) ) - extra_info = getattr(module, "EXTRA_INFO", []) + extra_info: list[ExtraInfoDict] | Callable[[], list[ExtraInfoDict]] = getattr( + module, "EXTRA_INFO", [] + ) if callable(extra_info): extra_info = extra_info() for e in extra_info: @@ -259,6 +293,7 @@ def browse_sources() -> list[SourceInfo]: country=e.get("country", country), params=params, extra_info_default_params=e.get("default_params", {}), + custom_howto=e.get("how_to_get_arguments_description", howto), ) ) @@ -284,9 +319,24 @@ def browse_ics_yaml() -> list[SourceInfo]: with open(f, encoding="utf-8") as stream: # write markdown file filename = (md_dir / f.name).with_suffix(".md") - data = yaml.safe_load(stream) - write_ics_md_file(filename, data) + data: IcsSourceData = yaml.safe_load(stream) + howto = data.get("howto", {}) + if isinstance(data["howto"], str): + print( + f"howto in {f} is a string, it should be a dictionary with language keys" + ) + data["howto"] = {"en": howto} + + write_ics_md_file(filename, data) + howto = data.get("howto", {}) + if isinstance(howto, str): + print( + f"howto in {f} is a string, it should be a dictionary with language keys" + ) + howto = {"en": howto} + + country = data.get("country", f.stem.split("_")[-1]) # extract country code sources.append( SourceInfo( @@ -294,9 +344,10 @@ def browse_ics_yaml() -> list[SourceInfo]: module=None, title=data["title"], url=data["url"], - country=data.get("country", f.stem.split("_")[-1]), + country=country, params=[], extra_info_default_params=data.get("default_params", {}), + custom_howto=howto, ) ) if "extra_info" in data: @@ -305,11 +356,14 @@ def browse_ics_yaml() -> list[SourceInfo]: SourceInfo( filename=f"/doc/ics/{filename.name}", module=None, - title=e.get("title"), - url=e.get("url"), - country=e.get("country"), + title=e.get("title", data["title"]), + url=e.get("url", data["url"]), + country=e.get("country", country), params=[], extra_info_default_params=data.get("default_params", {}), + custom_howto=e.get( + "how_to_get_arguments_description", howto + ), ) ) @@ -318,8 +372,14 @@ def browse_ics_yaml() -> list[SourceInfo]: return sources -def write_ics_md_file(filename, data): +def write_ics_md_file(filename: Path, data: IcsSourceData) -> None: """Write a markdown file for a ICS .yaml file""" + if not "en" in data["howto"]: + print( + f"howto in {filename} does not contain an english translation, please add one" + ) + return + md = f"# {data['title']}\n" md += "\n" md += f"{data['title']} is supported by the generic [ICS](/doc/source/ics.md) source. For all available configuration options, please refer to the source description.\n" @@ -329,7 +389,7 @@ def write_ics_md_file(filename, data): md += "\n" md += "## How to get the configuration arguments\n" md += "\n" - md += f"{data['howto']}" + md += f"{data['howto']['en']}" md += "\n" md += "## Examples\n" md += "\n"