#15 Request: command for Dutch weather forecast

Stängd
öppnade 5 år sedan av mouz · 5 kommentarer
mouz kommenterad 5 år sedan

Return Dutch forecast for 1 day when '!knmi' is issued.

Source of the text returned will be the first paragraph of this page: https://knmi.nl/nederland-nu/weer/verwachtingen (or any better parseable source, e.g. an xml document published by knmi.nl)

Return Dutch forecast for 1 day when '!knmi' is issued. Source of the text returned will be the first paragraph of this page: https://knmi.nl/nederland-nu/weer/verwachtingen (or any better parseable source, e.g. an xml document published by knmi.nl)
mouz kommenterad 5 år sedan
Ägare

Can use as a source document: ftp://ftp.knmi.nl/pub_weerberichten/basisverwachting.xml

Extract report->data->block where field_id=='Verwachting' and valid_id=='dag00_01', then use content of field_content.

Also end the returned text with https://knmi.nl/nederland-nu/weer/verwachtingen to serve both as a credit and as a pointer for extended forecast information.

Can use as a source document: ftp://ftp.knmi.nl/pub_weerberichten/basisverwachting.xml Extract ``report->data->block`` where ``field_id=='Verwachting'`` and ``valid_id=='dag00_01'``, then use content of ``field_content``. Also end the returned text with ``https://knmi.nl/nederland-nu/weer/verwachtingen`` to serve both as a credit and as a pointer for extended forecast information.
mouz kommenterad 5 år sedan
Ägare

If ftp://ftp.knmi.nl/pub_weerberichten/knmi_waarschuwingen_nl.txt exists, add an extra line with the contents of the first 3 paragraphs of that file.

If ftp://ftp.knmi.nl/pub_weerberichten/knmi_waarschuwingen_nl.txt exists, add an extra line with the contents of the first 3 paragraphs of that file.
mouz kommenterad 5 år sedan
Ägare
Instead of the FTP links can also use RSS feeds: * http://projects.knmi.nl/RSSread/rss_KNMIverwachtingen.php * http://projects.knmi.nl/RSSread/rss_KNMIwaarschuwingen.php Example usage for golang: https://stackoverflow.com/questions/25332175/golang-rss-xml-parsing-atom10link-overrides-link
mouz refererade till detta ärende från en incheckning 4 år sedan
mouz stängde 4 år sedan
mouz återöppnade 4 år sedan
mouz kommenterad 4 år sedan
Ägare

Re-opened: extend the output with an alert message if applicable.

Re-opened: extend the output with an alert message if applicable.
mouz kommenterad 2 år sedan
Ägare

Closing, splitting off alert request through issue #22.

Closing, splitting off alert request through issue #22.
mouz stängde 2 år sedan
Logga in för att delta i denna konversation.
Ingen Etikett
Ingen Milsten
Ingen förvärvare
1 Deltagare
Laddar...
Avbryt
Spara
Det finns inget innehåll än.