4.2.5. UghConvert
To convert the serialisation formats of the used document model described above between each other independently of an external application, UghConvert can be used. It is a Java application that can read and write the respective formats at command line level with the supplied scripts for Windows and Linux systems. Only a complete version of the UGH library (ughCLI) and a Java runtime environment in version 1.5 is required for execution.
UghConvert reads in a DigitalDocument
in a given serialisation format - if necessary by specifying the rule set used - and then serialises it again in a likewise given format. Data can also be read only, read in one format and saved again in the same format.
4.2.5.1 The command line
The script is called as follows, whereby the path to the Java Runtime Environment must be set:
The basic parameters are the following:
Example: Reading an XStream file with output of structural and metadata
Example: Converting an XStream file to an (internal) METS file
Example: Converting an RDF file into an (internal) METS file, including output of structural and metadata
4.2.5.2 Administrative metadata section
For the conversion into the zvdd/DFG Viewer METS format, some more values are configurable, which can be divided into three groups (see also "Peculiarities of the METS export"). One of them contains the data for the administrative metadata section v:rights
and v:links
.
4.2.5.3 File groups (FileGroups)
Data for the file groups required for the DFG Viewer (FileGroups
), at least FileGroups
with the names MIN
and DEFAULT
are required:
All other specifications are equivalent for the file groups DEFAULT
, MAX
, DOWNLOAD
, LOCAL
, PRESENTATION
and THUMBS
. The file group LOCAL
is created automatically, but can be overwritten with your own values if required. The parameters for the other file groups are set equivalent to minfilesuffix
, minmimetype
, minpath
and minidsuffix
, for example defaultpath
, maxpath
, downloadpath
, localpath
, presentationpath
and thumbspath
. All parameters can be found in the help of UghConvert:
For the configuration of the extended parameters (administrative metadata and file groups) the long parameters (--mimidsufffix
, --minmimetype
, etc.) should be used.
Example: Extract from a METS file (FileGroups) From the information
the following METS FileGroup DEFAULT
gets generated...
...and the following administrative METS metadata section:
Last updated