Webtags: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
 
The local API methods are described on [[Cumulus_MX_Local_API|their own page]].
 
== How CumulusMX handles unknown Webtags ==
 
When CumulusMX is processing through tag names and finds one it cannot understand, a "*** web tag error - see MXdiags file ***" message will appear in the engine console (if running interactively, when running as a service it will be in the ''ServiceConsoleLog'' file), and the diagnostic file will include something like this:
<pre>Web tag error
Exception: i=8998 len=106297
inputText.Length=106297
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 web tag to:
<pre><#daylightlength format=%H></pre>
 
If you are sure the Webtag does exist (Check the [[Webtags#The_local_List|Local List]]) and you think you are correctly using parameters, it is time to bring the problem to the forum.
 
== General Format for Web Tags ==
 
The terminology "optional" is used because some tag names do not accept any parameters, but there are some tag names where a parameter is mandatory. Therefore, check the [[Webtags/Parameters|web tag parameters]] page to learn whether a webtag name requires a mandatory parameter, or to find out which parameters are optionally available.
 
=== How CumulusMX handles unknown Webtags ===
 
When CumulusMX is processing through tag names and finds one it cannot understand, a "*** web tag error - see MXdiags file ***" message will appear in the engine console (if running interactively, when running as a service it will be in the ''ServiceConsoleLog'' file), and the diagnostic file will include something like this:
<pre>Web tag error
Exception: i=8998 len=106297
inputText.Length=106297
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 web tag to:
<pre><#daylightlength format=%H></pre>
 
If you are sure the Webtag does exist (Check the [[Webtags#The_local_List|Local List]]) and you think you are correctly using parameters, it is time to bring the problem to the forum.
 
== Processing files ==

Navigation menu