WebsitedataT.json: Difference between revisions

825 bytes added ,  06:53, 1 July 2021
m
Line 10: Line 10:


{{TOCright}}
{{TOCright}}
This lists all the JSON variables that can be uploaded to your web server.  Note that it is designed to work with the MX default web pages that you upload just once from the '''webfiles''' sub-folder of your MX installation.   
This file is designed to work with the MX default web pages (that you upload just once from the '''webfiles''' sub-folder of your MX installation) and lists all the JSON variables that those pages require to be uploaded to your web serverNote that the variables included in this file represent the degree symbol <sup>o</sup> in two different ways:
# As an HTML encoded entity <nowiki>&amp;deg;</nowiki> that always translates to ° if you are using in HTML web page
# As a binary character (equates to decimal 176), that only translates to ° if you are using UTF-8 encoding '''(select this on ''Internet Settings'' &rarr; ''Web/FTP Settings'' &rarr; ''General Settings'' &rarr; tick ''UTF-8 encoding'')''' to create this file with that encoding (to match the [[Reports_folder#Encoding|encoding]] used by the [[New_Default_Web_Site_Information#Installing_the_new_template_for_new_users|web pages]] included in ''webfiles'' folder)


The file has to cater for the majority of people using the default web site, and assumes use of a Davis weather station, therefore its content might not be optimised for your use.  
The file has to cater for the majority of people using the default web site, and assumes use of a Davis weather station, therefore its content might not be optimised for your use.  
Line 29: Line 31:
# "showSolar" = whether a solar sensor is providing solar information or not
# "showSolar" = whether a solar sensor is providing solar information or not
# "showUV" = whether a UV sensor is providing Ultra Violet information or not
# "showUV" = whether a UV sensor is providing Ultra Violet information or not
The content for these included in this file depend upon selections at '''Station Settings &rarr; Display Options'''.


==List of variables==
==List of variables==
5,838

edits