External document names are computed with a system of templates read from the page's title similar to that of the editions.
To edit external document names
About template elements
The possible elements used in a template are:
•var: inserts the value of the variable specified by the 'name' attribute (same as for the editions - see example in Editions names ).
•var-number: inserts the value of the numeric variable specified by the 'name' attribute formatted using the formatting string contained in the 'format' attribute - e.g.
<var-number name="number" format="000"/>
inserts the value of the 'number' variable zero-padded to 3 digits (see http://www.w3schools.com/xsl/func_formatnumber.asp for a description of the possible formatting strings)
•text: inserts the fixed text specified in the 'value' attribute (same as for the editions - see example above).
The available variables are:
•editionDescName: descriptive name of the document's edition.
•editionShortName: short name of the document's edition.
•sectionName: name of the document's section. Empty if the section has the special name '-'.
•zoneName: name of the document's zone. Empty if the zone has the special name '-'.
•name: document name
•id: database id of the external document
There are two different templates - that are used to generate the descriptive and short name for documents. The templates are read from these attributes of the page's title:
•descName: contains the template used to generate the descriptive name of single pages. If empty the system uses:
<var name="editionDescName"/>
<text value=" "/>
<var name="sectionName"/>
<var name="name"/>
<text value=" "/>
<var name="zoneName"/>
i.e. the edition descriptive name followed by the section name, page name and zone name.
•shortName: contains the template used to generate the short name of single pages. If empty the system uses:
<var name="sectionName"/>
<var name="name"/>
<text value=" "/>
<var name="zoneName"/>
i.e. the section name followed by the page name and the zone name.