Glossary

A-Z glossary of PageSeeder concepts

Document metadata

A set of properties that can be attached to a document based on its document type or media type.

Since PageSeeder 5.9, any document can have a predefined set of properties.

Metadata template

The list of properties that is defined in a PSML document template. using the <metadata> element. Although metadata are defined in PSML, they can be defined for any document in PageSeeder.

For PSML documents, the metadata is defined in the template for the document type.

For other documents, metadata are defined in a template that is used for all documents of the same media type.

Example

For example, metadata can be used provide information about a photograph such as copyright, location, date, orientation, etc... in a manner that is consistent across all documents of the same kind.

Below is a sample metadata template for a document to enter a title, publication date and a cross-reference to an alternative document.

<document level="metadata">
  <documentinfo>
    <metadata>
      <properties>
        <property name="title"   title="Title"     value="{$ps.title}" />
        <property name="pubdate" title="Published" value="{$ps.currentdate}" datatype="date" />
        <property name="alternate" title="Alternate" datatype="xref" />
      </properties>
    </metadata>
  </documentinfo>
</document>

Note

When a document is bound to a media type rather than a PSML document type, the document level is 'metadata' rather than 'portable' and when uploaded it must be in the META-INF folder as described in  Universal Portable Format.

Note

  • When uploading and overwriting an existing document the metadata will only be modified if Overwrite properties is ticked under Developer options.
  • Metadata for a non-PSML file can only be modified when the file itself is uploaded with the corresponding PSML metadata document.

Note

  • Metadata properties that are not defined in the document template can still be uploaded and edited but they can not be added via the UI if they don't exist.
  • New metadata properties can be added to the document template at any time and will be added to a document when it's properties are edited.

For more information see version 5.9 features.

 

Created on , last edited on