Demo:
https://www.weerstation-leuven.be/demowarningv3/demoWarning.php?lang=enDownload:
https://leuven-template.eu/leuven_download2019.php?id=meteoalarmUrgent temporary update:
https://www.wxforum.net/index.php?topic=36482.msg376138#msg376138Readme: The demo link has examples and full documentation about settings and install
Known issues: link will be added when needed
Remarks:To find the warnings for your region this script
"scrapes" the html page for your region from the meteoalarm website. As far as I know there is no other way (yet) to get the data as f.i. the RSS feeds are incomplete. There should be a better way but for now we are stuck doing it the "wrong" way.
Scraping can also result in multiple errors as even a small change of the meteoalarm website-layout can disturb the scraping. So when using this script make sure you can easily switch it on/off on your page.
Warning:The settings are at the start of the script. The language translations are at the bottom.
There is a big warning after the settings not to change the script itself. So if you are stupid enough to change the coding lines, do not post questions here why the script fails. Do a
fresh download and only change those lines which should be changed.
Especially: DO NOT CHANGE THE URL to the meteoalarm web-site. That one is correct. And yes, the
English language is the correct language to use for scraping your regional page! 100% sure.
Support:
When you post questions about the scripts, please always include the
URL (=correct link) to the script on your website. That reduces the time for answering your questions.
Wim