en:user:metadata_sets
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | en:user:metadata_sets [2023/03/13 01:46] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | |||
+ | ====== Metadata sets ====== | ||
+ | All metadata fields in Greenstone belong to a //metadata set//, which is simply a pre-defined collection of metadata fields. Because sets will often have metadata fields with the same name (for instance, most sets will have a ' | ||
+ | |||
+ | The default metadata sets for new collections are Dublin Core (dc), the Greenstone Metadata Sset (gs), and the Extracted Greenstone Metadata Set (ex). The Extracted set is unique because it contains metadata automatically generated during the collection building process (and as such cannot be edited). Metadata values in this set cannot be modified (as it is extracted from the documents themselves), | ||
+ | |||
+ | The following metadata sets come with Greenstone: | ||
+ | ^Available Metadata Sets^Namespace^Description^ | ||
+ | |Australian Government Locator Service Metadata Element Set, Version 1.3|agls| | ||
+ | |Development Library Subset Example Metadata|dls|A metadata set file for use in The Gatherer, created from original metadata found within the Development Library Subset.| | ||
+ | |Dspace|ds|DSpace inspired metadata set covering values not found in Dublin Core| | ||
+ | |Dublin Core Metadata Element Set, Version 1.1: | ||
+ | |Extracted Greenstone Metadata 1.1|ex|This document is the reference description, | ||
+ | |Exploded Metadata Set|exp|An empty metadata set that is a good place to put metadata exploded from a metadata database (eg. CDS/ISIS).| | ||
+ | |Greenstone metadata set|gs|Some special elements particular to Greenstone.| | ||
+ | |New Zealand Government Locator Service Metadata Standard version 2.1|nzgls|The NZGLS metadata standard is the official New Zealand Government standard for creating discovery-level metadata (see Cabinet Circular CO (02) 3). The standard is based closely on two well established standards: the Dublin Core Metadata Element Set and the Australian Government Locator Service.| | ||
+ | |Qualified Dublin Core Metadata Element Set, Version 1.1.: Reference Description|dc|This document is the reference description, | ||
+ | |RFC 1807 Metadata Element Set, Version TR-v2.1|rfc1807|This document is the reference description for Internet Engineering Task Force (IETF) Request for Comments (RFC) 1807 metadata standard for bibliographic records, expressed as a metadata set for Greenstone. | ||
+ | |||
+ | If these sets are insufficient for your needs, you can create your own sets either using GEMS or by directly creating an XML file in Greenstone' | ||
+ | |||
+ | ===== Greenstone Editor for Metadata Sets (GEMS) ===== | ||
+ | |||
+ | GEMS (Greenstone Editor for Metadata Sets) can be used to modify existing metadata sets or | ||
+ | create new ones. GEMS can launched from the | ||
+ | GLI (in the Enrich panel click **Manage Metadata Sets...** -> **Add...** -> **New...**) or can be launched directly from '' | ||
+ | |||
+ | In GEMS, select **File** -> **New...**. (If opened through GLI, the popup window will appear automatically.) An initial popup window prompts you for the set name, namespace and description. You can also choose to base the new set on an existing one, in which case it will inherit all the elements from the specified set. Click OK. The main window shows the elements of metadata set on the left hand side, and some attributes for the set on the right hand side. If you have based the set on an existing one, one or more elements will be displayed. Clicking one displays attributes of the element in the right hand side. | ||
+ | |||
+ | To add a new element, right click on the name of the set and choose "Add Element" | ||
+ | |||
+ | You can also run the Greenstone Editor for Metadata Sets by running '' | ||
+ | |||
+ | |||
+ | <tabbox Greenstone3> | ||
+ | All metadata sets are stored in the '' | ||
+ | |||
+ | <tabbox Greenstone2> | ||
+ | All metadata sets are stored in the '' | ||
+ | </ | ||
+ | |||
+ | ===== Greenstone metadata sets format (mds) ===== | ||
+ | Metadata sets in Greenstone are stored in XML files which are located in '' | ||
+ | |||
+ | This is a basic metadata set in '' | ||
+ | <code xml> | ||
+ | <?xml version=" | ||
+ | < | ||
+ | < | ||
+ | <Name language=" | ||
+ | < | ||
+ | <Element name=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | <Element name=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | <Element name=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | <Element name=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | <Element name=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | \\ | ||
+ | However, you can also include multiple languages, if necessary: | ||
+ | |||
+ | <code xml> | ||
+ | < | ||
+ | <!-- English Version sourced from http:// | ||
+ | < | ||
+ | <Name language=" | ||
+ | < | ||
+ | </ | ||
+ | <!-- Maori Version sourced from http:// | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | ... | ||
+ | <Element name=" | ||
+ | | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | <!-- Non-language specific --> | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | ... | ||
+ | </ | ||
+ | </ | ||
+ | \\ | ||
+ | In addition, if you would like to create sub-elements, | ||
+ | |||
+ | <code xml> | ||
+ | <Element name=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | <Element name=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ==== Transforming an XSD file into MDS ==== | ||
+ | If you have the XSD file for a particular metadata set, it should be possible to transform it into MDS format using XSLT. An example XSLT file transforming the [[http:// |
en/user/metadata_sets.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1