Block Update – Sweden Current Conditions 2.0

Block Update – Sweden Current Conditions 2.0

Hi guys,

I have updated the block for Sweden current conditions. The block originally used HTML scraping and the SHMI page has been completely redesigned, so the previous version of this block no longer works.

I now changed the code completely so it no longer uses HTML scraping and instead uses the JSON files, which load much faster and are much safer to use. I also redesigned the table so that all parameters are nicely in one table instead of having a separate table for each parameter (temperature, humidity, precipitation, pressure, wind speed).

DEMO

Enjoy

Leave a Comment