Page 1 of 1
new warningsEUregions block
Posted: Tue Jan 27, 2026 12:15 pm
by alexvanuxem
Hi,
update warningsEUrgions block.
RSS feed has changed to Atom feed parsing.
Improved handling of multiple warnings per region, merging duplicates and showing highest levels.
Removed Slovenia-only hardcoding; works for all countries, including Belgium.
Added caching of parsed warnings to improve load speed.
map.php and warningsEUregionsBlock.php have been changed, rest is the same.
It should work, but can somebody with a warning in his country check, because at this moment I have none in Belgium.
update deleted file, since not working properly
cheers
Alex
Re: new warningsEUregions block
Posted: Tue Jan 27, 2026 5:48 pm
by Meteo Heijningen
Alex,
Version 2.5 is not working, it says no warnings whilst we have 10 warnings in Nl, so back to 2.4.
Regards
Eddy
Re: new warningsEUregions block
Posted: Wed Jan 28, 2026 10:59 am
by alexvanuxem
hi
thanks for testing, does 2.4 work foer you?
cheers
Alex
Re: new warningsEUregions block
Posted: Wed Jan 28, 2026 11:05 am
by Meteo Heijningen
Hi Alex,
Yes 2.4 works fine, no issues.
The only thing I have, and that has nothing to do with version 2.4, is that the warnings are sometimes difficult to read as the letters are black on a darkgrey background.
Rgds
Eddy
Re: new warningsEUregions block
Posted: Wed Jan 28, 2026 11:31 am
by alexvanuxem
thanks
if i put NL as region, I get 'no warnings' at this moment?
Do you have the same?
If not can you post me your 2.4 version in zip format please?
thx
Alex
Re: new warningsEUregions block
Posted: Wed Jan 28, 2026 12:34 pm
by Meteo Heijningen
Currently in NL 5 warnings.
I tried to upload my 2.4 version but getting message file too large >1 Mb.
In the settings try nl as well NL, I mind to remember that there was something with upper case and lower case
Thnx
Eddy
Re: new warningsEUregions block
Posted: Wed Jan 28, 2026 2:53 pm
by alexvanuxem
hi,
thanks, yes tried that too.
I only need the map.php and warningsEUregionsBlock.php that should be small enough to send.
Can you give another try please,
Cheers
Alex
Re: new warningsEUregions block
Posted: Wed Jan 28, 2026 3:29 pm
by Meteo Heijningen
Alex,
I zipped a few files as this forum strange enough doesn't allow me to send separate files
Can you check, and let me know if it works now
thnx
Eddy
Re: new warningsEUregions block
Posted: Wed Jan 28, 2026 4:58 pm
by alexvanuxem
i don't see any warnings for 'nl' or 'NL' now ?
Re: new warningsEUregions block
Posted: Wed Jan 28, 2026 5:02 pm
by Meteo Heijningen
Just checked but there are 7 warnings snow/ice and wind.
Very weird you don't see them.
Rgds
Eddy
Re: new warningsEUregions block
Posted: Wed Jan 28, 2026 5:21 pm
by Meteo Heijningen
Alex,
Check the warningsEUregionsBlock at about line41 there should be 'nl'=>'netherlands',
rgds
Eddy