Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Importing Community and Collection

...

Hierarchy

Table of Contents
minLevel2
outlinetrue
stylenone

Community and Collection Structure Importer

This Command-Line tool gives you the ability to import a community and collection structure directory from a source XML file.

Usage

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="02cddf6706562c44-42b1c922-410740c8-b5dc8d3e-ebd1b0f2d1dadc01d8014923"><ac:plain-text-body><![CDATA[

Command used:

[DSDOCDEV:dspace]/bin/dspace structure-builder

]]></ac:plain-text-body></ac:structured-macro>

Java class:

org.dspace.administer.StructBuilder

Argument: short and long (if available) forms:

Description of the argument

-f

Source xml file.

-o

Output xml file.

-e

Email of DSpace Administrator.

XML Import Format

The administrator need to build the source xml document in the following format:

...

This will examine the contents of source.xml, import the structure into DSpace while logged in as the supplied administrator, and then output the same structure to the output file, but including the handle for each imported community and collection as an attribute.

Limitations

  • Currently this does not export community and collection structures, although it should only be a small modification to make it do so