meteogram block not loading any data

Post Reply
User avatar
magical46
Observer
Observer
Posts: 49
Joined: Mon Aug 21, 2017 2:19 pm
Location: Farnham, Surrey, UK
Contact:

meteogram block not loading any data

Post by magical46 » Fri Mar 12, 2021 2:17 pm

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
Image

davidefa
Expert
Expert
Posts: 862
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: meteogram block not loading any data

Post by davidefa » Fri Mar 12, 2021 6:03 pm

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
Image

User avatar
magical46
Observer
Observer
Posts: 49
Joined: Mon Aug 21, 2017 2:19 pm
Location: Farnham, Surrey, UK
Contact:

Re: meteogram block not loading any data

Post by magical46 » Sat Mar 13, 2021 1:27 pm

Many thanks, working OK now...till the next change!! :)
Phil
Image

Post Reply