Dublin Core metadata settings


Definition

Wikipedia introduces the notion of Dublin Core metadata as follows:

Dublin Core is a generic metadata schema for describing digital or physical resources and establishing relationships with other resources.
It officially includes 15 elements of description: formal (title, creator, publisher), intellectual (subject, description, language, etc.) and intellectual property.

In Ametys, this metadata can be entered for each content item, each resource (file) in theresource explorer, or each content or page attachment.

Configuration

In Ametys, some metadata are free text fields (creator, author, relationship, ...), others are drop-down lists (language, copyright, publisher).

The directory WEB-INF/param/dublincore contains 3 configuration files for defining the contents of the three drop-down lists:

  • dc_language.xml List of languages (French, English, Spanish...)
  • dc_publisher.xml List of publishers
  • dc_rights.xml list of copyrights

The structure of these files is :

<?xml version="1.0" encoding="UTF-8"?>
<enumeration>
    <entry>    
        <value>value1</value>
        <label i18n="true">DUBLIN_CORE_VALUE_1_LABEL</label>
    </entry>
    <entry>
        <value>value2</value>
        <label i18n="true">DUBLIN_CORE_VALUE_2_LABEL</label>
    </entry>
    <entry>
        <value>value3</value>
        <label i18n="true">DUBLIN_CORE_VALUE_3_LABEL</label>
    </entry>
    ...
</enumeration>

The i18n keys used here must be translated into the application catalog (WEB-INF/i18n/application.xml, WEB-INF/i18n/application_en.xml)

Example: dc_languages.xml

<?xml version="1.0" encoding="UTF-8"?>
<enumeration>
    <entry>    
        <value>fr</value>
        <label i18n="true">DUBLIN_CORE_LANGUAGE_FR</label>
    </entry>
    <entry>
        <value>en</value>
        <label i18n="true">DUBLIN_CORE_LANGUAGE_EN</label>
    </entry>
    <entry>
        <value>es</value>
        <label i18n="true">DUBLIN_CORE_LANGUAGE_ES</label>
    </entry>
    <entry>
        <value>de</value>
        <label i18n="true">DUBLIN_CORE_LANGUAGE_DE</label>
    </entry>
</enumeration>

 

 

 

Back to top