Page History
...
Code Block |
---|
archive_directory/ item_000/ dublin_core.xml -- qualified Dublin Core metadata for metadata fields belonging to the dc schema metadata_[prefix].xml -- metadata in another schema, the prefix is the name of the schema as registered with the metadata registry contents -- text file containing one line per filename file_1.doc -- files to be added as bitstreams to the item file_2.pdf item_001/ dublin_core.xml contents file_1.png ... |
The {{ Wiki Markup dublin_core.xml
}} or {{metadata_
\[prefix
\].xml
}} file has the following format, where each metadata element has it's own entry within a {{<dcvalue>
}} tagset. There are currently three tag attributes available in the {{<dcvalue>
}} tagset:
<element>
- the Dublin Core element<qualifier>
- the element's qualifier<language>
- (optional)ISO language code for element
(Note the optional language tag attribute which notifies the system that the optional title is in French.)Code Block <dublin_core> <dcvalue element="title" qualifier="none">A Tale of Two Cities</dcvalue> <dcvalue element="date" qualifier="issued">1990</dcvalue> <dcvalue element="title" qualifier="alternate" language="fr">J'aime les Printemps</dcvalue> </dublin_core>
...
'BUNDLENAME' is the name of the bundle to which the bitstream should be added. Without specifying the bundle, items will go into the default bundle, ORIGINAL.unmigrated-wiki-markup
'PERMISSIONS' is text with the following format: {{\-\[r\|w\] 'group name'}} is text with the following format: -[r|w] 'group name'
'DESCRIPTION' is text of the files description.
Primary is used to specify the primary bitstream.
...
Configuring
...
metadata_
...
[prefix
...
].xml
...
for
...
Different
...
Schema
It is possible to use other Schema such as EAD, VRA Core, etc. Make sure you have defined the new scheme in the DSpace Metada Schema Registry.
...
- Create a separate file for the other schema named {{
metadata_
\[prefix
\].xml
}}, where the {{\[prefix
\]
}} is replaced with the schema's prefix. Inside the xml file use the dame Dublin Core _syntax_, but on the {{Wiki Markup <dublin_core>
}} element include the attribute {{schema=
\[prefix
\]
}}.- Here is an example for ETD metadata, which would be in the file
metadata_etd.xml
:Code Block <?xml version="1.0" encoding="UTF-8"?> <dublin_core schema="etd"> <dcvalue element="degree" qualifier="department">Computer Science</dcvalue> <dcvalue element="degree" qualifier="level">Masters</dcvalue> <dcvalue element="degree" qualifier="grantor">Texas A & M</dcvalue> </dublin_core>
...
Before running the item importer over items previously exported from a DSpace instance, please first refer to Transferring Items Between DSpace Instances.
...
Command used: | | ]]></ac:plain-text-body></ac:structured-macro> |
Java class: | | |
Arguments short and (long) forms: | Description | |
| Add items to DSpace ‡ | |
| Replace items listed in mapfile ‡ | |
| Delete items listed in mapfile ‡ | |
| Source of the items (directory) | |
| Destination Collection by their Handle or database ID | |
| Where the mapfile for items can be found (name and directory) | |
| Email of eperson doing the importing | |
| Send submission through collection's workflow | |
| Kicks off the email alerting of the item(s) has(have) been imported | |
| Test run‚ do not actually import items | |
| Apply the collection template | |
| Resume a failed import (Used on Add only) | |
| Command help | |
| Name of zipfile |
...
The item exporter can export a single item or a collection of items, and creates a DSpace simple archive for each item to be exported.
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="ab9e931f-1399-41b8-9599-f6ffc5d1d566"><ac:plain-text-body><![CDATA[ | Command used: |
|
Java class: | org.dspace.app.itemexport.ItemExport | |
Arguments short and (long) forms: | Description | |
| Type of export. COLLECTION will inform the program you want the whole collection. ITEM will be only the specific item. (You will actually key in the keywords in all caps. See examples below.) | |
| The ID or Handle of the Collection or Item to export. | |
| The destination of where you want the file of items to be placed. You place the path if necessary. | |
| Sequence number to begin export the items with. Whatever number you give, this will be the name of the first directory created for your export. The layout of the export is the same as you would set your layout for an Import. | |
| Export the item/collection for migration. This will remove the handle and metadata that will be re-created in the new instance of DSpace. | |
| Brief Help. |
...