Labels
Labels are a convenient mechanism for adding semantics to PageSeeder artifacts. They are divided in two broad categories:
- object labels – apply to PageSeeder objects such as documents, fragments, etc.
- content labels – apply to text content inside PageSeeder documents.
The following table summarizes the different types of labels used in PageSeeder:
Type | Label | Applies to |
---|---|---|
Content | Inline label | Inline content inside a block of text (equivalent to a <SPAN> in HTML) |
Block label | Blocks of text (equivalent to a <DIV> in HTML) | |
Object | Document label | A PageSeeder document |
Fragment label | A document fragment | |
Comment label | A comment or task or workflow | |
Upload label | A document on upload | |
Creation label | A document when it is created | |
Version label | A specific version of a document | |
Edit note label | A note on a document edit | |
Cross-reference (xref) label | A cross-reference |
Label names can contain the following characters:[a-z][A-Z][0-9][-_]
For further information regarding allowable values for PageSeeder objects, see datatypes and label config.