3.1.2 Dublin Core

<oai_dc>
    <enabled>true</enabled>
    <hitsPerToken>100</hitsPerToken>
    <fields>
        <template name="_DEFAULT">
            <metadata label="title" value="{0}">
                <param type="field" key="MD_TITLE" />
            </metadata>
            <metadata label="creator" value="{0}">
                <param type="field" key="MD_CREATOR" />
            </metadata>
            <metadata label="subject" value="{0}">
                <param type="translatedfield" key="DC" />
            </metadata>
            <metadata label="publisher" value="{0}">
                <param type="field" key="MD_PUBLISHER" dontUseTopstructValue="false" />
            </metadata>
            <metadata label="date" value="{0}">
                <param type="field" key="MD_YEARPUBLISH" dontUseTopstructValue="false" />
            </metadata>
            <metadata label="type" value="{0}">
                <param type="translatedfield" key="DOCSTRCT" />
            </metadata>
            <metadata label="description" value="#TOC#" />
            <metadata label="type" value="text" />
            <metadata label="format" value="image/jpeg" />
            <metadata label="format" value="application/pdf" />
            <metadata label="identifier" value="#AUTO#" />
            <metadata label="source" value="#AUTO#" />
            <metadata label="rights" value="#AUTO#" />
            <metadata label="fulltext" value="#AUTO#" />
            <metadata label="url" value="https://viewer.goobi.io/viewer/image/{0}/{1}/">
                <param type="field" key="PI_TOPSTRUCT" />
                <param type="field" key="THUMBPAGENO" />
            </metadata>
        </template>
   </fields>
   <setSpec>
        <field>DC</field>
        <field>DOCSTRCT</field>
    </setSpec>
    <accessConditions>
        <mapping accessCondition="Public Domain Mark 1.0">info:eu-repo/semantics/openAccess</mapping>
    </accessConditions>
</oai_dc>

Depending on the structure type displayed, different configurations can be used here, analogous to the viewer metadata. The configurations are placed in an element <template>. The name of the structure element is entered in the name attribute. A template with the name _DEFAULT is used if no special template is defined for the current structure type.

Each element <metadata> describes a metadata field to be displayed. The order of the listing corresponds to the order in which this metadata (if any) is displayed. The element has the following attributes:

If values from index fields are to be used, the element <metadata> must contain at least one element <param>. These define the source of the actual values for this metadata type. The following attributes must be configured:

The order of the <param> elements corresponds to the order in which the placeholders in the default value (if configured) are replaced.

The <field /> list within <setSpec/> configures the index fields whose values are used for setSpec elements of OAI records. One field element is used per field configuration and one setSpec element is generated for each value found.

The <dc:rights /> is automatically set based on the contents of the field ACCESSCONDITION. If this field contains the value OPENACCESS, the following entry is generated:

<dc:rights>info:eu-repo/semantics/openAccess</dc:rights>

If a different value is entered here, closedAccess is automatically used. With the Mapping List values can be mapped to a certain alternative value, so that for example "Public Domain Mark 1.0" can also be marked as openAccess.

Last updated