Page 1 of 1

meteogram block not loading any data

Posted: Fri Mar 12, 2021 2:17 pm
by magical46
Hi, As my site has been moved to new servers by my host, many blocks and plugins that didn't work before are now working, however I have just tried the meteogram block and it says "failed o load data, try again later". I have visited the yr.no site and I see it has changed (probably months ago!), can anyone tell me what url I now need to put into the block location space to get it to work? I am in Farnham. Surrey, UK.
I see on the yr.no site that they say to go to the java script page and copy the code, but I don't think that is what I need. I tried it but no data still.
Phil

Re: meteogram block not loading any data

Posted: Fri Mar 12, 2021 6:03 pm
by davidefa
In the meteogram block setup you should insert:

Code: Select all

Farnham,United_Kingdom/England/Farnham/
After chaging the setup you should always clear the cache ( otherwise you'll continue to see the previously cached data, this will lead you to think that every change you make takes no effect )

To search for the exact string goto: http://www.yr.no/soek/soek.aspx?spr=eng

NOTE
The xml feed will be removed in the next months, so the block need to be updated

Re: meteogram block not loading any data

Posted: Sat Mar 13, 2021 1:27 pm
by magical46
Many thanks, working OK now...till the next change!! :)
Phil