loading table of contents...

7.6.2. Using the Preview Metadata Service

As described in [CoreMedia Content Application Developer Manual/Adding Document Metadata], it is possible to include arbitrary metadata in Web documents by means of the FreeMarker macro <@cm.metadata> or the custom JSP tags <cm:metadata>, <cm:property> and <cm:object>. In the rendered Web document, the different metadata chunks are included as JSON-serialized values of the custom HTML attribute data-cm-metadata of different DOM nodes. While metadata can be added using FreeMarker or JSP, this section uses the JSP tags in its examples.