Webtags (preserving history): Difference between revisions

m
Line 213: Line 213:


[[File:Badge vMx.png]]
[[File:Badge vMx.png]]
Cumulus MX provides many, but not all web tags available in Cumulus 1. MX adds many more web tokens. The terminology change is just an extra complication! This badge is used when web tokens listed in one of the tables are only available in MX. See [[#GENERAL_TIP|tip]] at top of page for how to check which web tags/tokens are available in your build.  
Cumulus MX provides many, but not all web tags that were available in Cumulus 1. MX adds many more web tags, mostly in support of new weather stations or new sensors. This badge is used against web tags listed in one of the tables that are only available in MX. See [[#GENERAL_TIP|tip]] at top of page for how to check which web tags are available in your build.  


A combination of badges appears where certain aspects apply to Cumulus 1 or to MX. No information is given for Cumulus 2 as it is no longer available.
A combination of badges appears where certain aspects apply to Cumulus 1 or to MX. No information is given for Cumulus 2 as it is no longer available.


When MX is processing web tokens and finds one it cannot understand, a "*** web tag error - see MXdiags file ***" message will appear in the engine console, and the diagnostic file will include something like this:
When MX is processing web tags and finds one it cannot understand, a "*** web tag error - see MXdiags file ***" message will appear in the engine console, and the diagnostic file will include something like this, notice the actual web tag is labelled "token":
<pre>Web tag error
<pre>Web tag error
Exception: i=8998 len=106297
Exception: i=8998 len=106297
inputText.Length=106297
inputText.Length=106297
token=<#daylightlength format=H></pre>
token=<#daylightlength format=H></pre>
This particular error is that when you use a single output format character it does not have same meaning as when there are multiple characters, correct this particular token to:
This particular error is that when you use a single output format character it does not have same meaning as when there are multiple characters, correct this particular web tag to:
<pre><#daylightlength format=%H></pre>
<pre><#daylightlength format=%H></pre>


5,838

edits