Page 1 of 1
NOAA Report Formatting Issues *solved
Posted: Sun 09 Mar 2025 4:42 pm
by grwkak
Updated MX to build 4083 and uploaded the web files to my server.
I did not specify HTML format for NOAA reports in my set-up and now my NOAA files are not formatted at all - they seem to be "run on" strings:
https://www.wilsonsweather.host-ed.me/noaareport.htm
What am I missing here?
Guy
Re: NOAA Report Formatting Issues
Posted: Sun 09 Mar 2025 5:19 pm
by mcrossley
It appears the updated version of websitedataT.json required for this version is not in the zip file
Please try adding this file to your "/web" folder
Re: NOAA Report Formatting Issues *solved
Posted: Sun 09 Mar 2025 5:48 pm
by grwkak
Bingo...
Guy
Re: NOAA Report Formatting Issues *solved
Posted: Sun 09 Mar 2025 6:15 pm
by Dador
A new entry
"noaaFormat":"<#Option_noaaFormat>"
in the websitedataT.json file
Code: Select all
"options":{
"useApparent":"<#Option_useApparent>",
"showSolar":"<#Option_showSolar>",
"showUV":"<#Option_showUV>",
"noaaFormat":"<#Option_noaaFormat>"
},
has resolved all outstanding issues with NOAA reports.
Re: NOAA Report Formatting Issues *solved
Posted: Sun 09 Mar 2025 6:28 pm
by mcrossley
I'll also reverse the logic in the noaarpts.js script so it defaults to plain text rather than HTML if the option is missing.