WXforum.net

Weather Related Organizations => NOAA National Weather Service => Topic started by: NWROrg Team on September 13, 2018, 09:36:40 AM

Title: NOAA Weather Radio
Post by: NWROrg Team on September 13, 2018, 09:36:40 AM
NOAA WEATHER RADIO SARATOGA TEMPLATE and STAND ALONE...
NWROrg became SSL ... Your templates and stand alone aren't working correctly...
You are not be synchronizing with the main NWROrg server databases,...
You will ALSO not be loading on your website...
UNLESS YOU MAKE THE FOLLOWING CHANGES to your scripts,
KEN will be releasing an updated version soon.

Add the "S" to the link in the following lines as shown:

NWR-radios-data.php
Line 4
Code: [Select]
//Purpose: fetch and cache the https://noaaweatherradio.org/java/NWR-radio-data.js file  Line 37
Code: [Select]
  $fileName = "https://noaaweatherradio.org/java/NWR-radios-data.js";
Line 86
Code: [Select]
    $content = str_replace('https:\\/\\/noaaweatherradio.org\\/content\\/thumbnails\\/',$imagesDir,$content);

NWR-radios-inc.php

Line 55  "NatGeo"
Make the URL "https"
Code: [Select]
NatGeo' => array(
       'name' => 'NatGeo',
         'URL' =>'http://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer/tile/{z}/{y}/{x}',
Line 165
Code: [Select]
These audio streams are graciously provided by personal weather website owners and others though <a href="https://noaaweatherradio.org/" target="_blank">NOAAWEATHERRADIO.org</a>.</p>
Line 183
Code: [Select]
see <a href="https://noaaweatherradio.org/" target="_blank">noaaweatherradio.org</a> website "How To?" page for details to submit an audio stream.