Forecast link of YR.NO in menu must be updated

The Link to YR must be updated, because Webside was updated.

Rgds
UweL

@ALL using the search function also helps to find solutions
magnifying glass top right: type pws-dashboard yrno forecast
The answers a.o.: “YrNo changed their full page forecast link → Solution here”

But as it seems there could be problems with the old URLs of the 2020 weather-watch website, I retype the answer again. Added two screenshots also.


Yes, it should already from 2021/3 onwards for most areas.

PLEASE always post a link to your website.
That way the people who want to help you, can check which version of the scripts you use and find the location aka area of your weather-station


After the last changes at YrNo, you yourself has to modify PWS_frames.php
Line 97 is the one you have to change to a working URL. It now reads:

        $frm_src[$frame]        = 'https://retro.yr.no/place/'.$yrno_area.'/forecast.pdf';  #### 2021-03-27
  1. Go to line 98 which has an example link to my location which works
#https://www.yr.no/en/print/forecast/2-2792482/Belgium/Flanders/Flemish%20Brabant/Leuven
  1. Now you have to use that link in your browser and find the correct link for your own location.
  2. Copy that link and replace the old “retro” link in line 97 with the new link and optionally the commented date
    In my cast it now looks like
        $frm_src[$frame]        = 'https://www.yr.no/en/print/forecast/2-2792482/Belgium/Flanders/Flemish%20Brabant/Leuven';  #### 2025-05-19
  1. Use ./pwsWD/_test.php to check for typing errors.

Succes,
Wim

First search for your location
If it looks Ok,

  1. Click the link to test it
  2. copy the PDF link at the bottom
    The svg link only contains the graph.
    Languages: English and three nordic languages.

A pdf should look like this example

Thank’s for quick answer!

1 Like

Sometimes old URLs come up in a search as https://discourse2.weather-watch.com/ . . . just delete the 2 and they should be OK.

I found a way to correct these so you shouldn’t find any now.

1 Like