Webtags (preserving history): Difference between revisions

m
no edit summary
mNo edit summary
Line 1: Line 1:
This Wiki page describes web tags (tokens that Cumulus uses to indicate where when processing a file it should insert values) that apply to all flavours of Cumulus (Cumulus 1, 2 and 3 aka MX), any differences are highlighted as necessary.
'''GENERAL TIP'''
'''GENERAL TIP'''
The web tags available in the version/build you are using, can be listed (in Cumulus 1 or Cumulus MX) by adding the following line to [[Cumulus.ini#Section:_Station|Cumulus.ini]] in the [station] section...
The web tags available in the version/build you are using, can be listed (in Cumulus 1 or Cumulus MX) by adding the following line to [[Cumulus.ini#Section:_Station|Cumulus.ini]] in the [station] section...
Line 4: Line 6:
  ListWebTags=1
  ListWebTags=1


Then start Cumulus and it will create a file called WebTags.txt in the program folder containing a list of all the tags your build of Cumulus can currently generate. This list only contains the tag_names, it does not indicate what parameters they can take. An example of the output for MX is at the end of this page (the actual output does not include commas, and has just one item per page).
Then start Cumulus and it will create a file called WebTags.txt in the program folder containing a list of all the tags your build of Cumulus can currently generate. This list only contains the tag_names, it does not indicate what parameters they can take, nor does it include the brackets the tag name is surrounded by when you quote it in a template file for Cumulus to process. An example of the output for MX is at the end of this page (the actual output does not include commas, and has just one item per page, it has been compressed for inclusion there).


To stop Cumulus continuing to produce new versions of that file change the line to say ...
To stop Cumulus continuing to produce new versions of that file change the line to say ...
5,838

edits