Skip to content
architolk edited this page Nov 2, 2016 · 3 revisions

Every configuration begins with an elmo:Representation. The following properties are possible for a representation:

  • elmo:url-pattern: The representation is used whenever the URL conforms to the (regex) pattern;
  • elmo:uri-pattern: The representation is used whenever the URI of the resource conforms to the (regex) pattern;
  • elmo:applies-to: The representation is used whenever the resource is of some particular type. The object of the elmo:applies-to property should be a blank node with at least one property and object. The representation is used for every resource that has the same property/object combination. For example: the statement elmo:applies-to [rdf:type skos:Concept] means that the representation is used for every resource of type skos:Concept.
  • elmo:contains: states that the representation contains of one or more parts. Parts are displayed under each other.
  • elmo:layer: states the "layer" of the representation. By using a layer, you could "override" representations. You could for example create a "default" representation that is used in all cases (with elmo:BottomLayer), and a "specific" representation that is only used is specific cases. This specific representation will be used instead of the default representation. If you don't use an elmo:layer, the default will be elmo:MiddleLayer. Other possible values are: elmo:BottomLayer and elmo:TopLayer.
  • html:stylesheet can be used to include a specific stylesheet. The css file should be places into the /css directory within the LDT.war.

A representation can also contain any property that can be used with an elmo:Part.

Clone this wiki locally