Configuring Multi-Format

Since version 6.0, it has been possible to store and share files in different formats for every object. The dLibra system does not control which files are ascribed to which format (for example, by filename extensions) – the editor must take care of that.

The available formats are defined in file conf/ms/formats.xml, which looks as follows:


<?xml version='1.0' encoding='utf-8'?>
<formats>
    <format>
        <id>1</id>
        <name>DjVu</name>
        <index-priority>1</index-priority>
    </format>
    <format>
        <id>2</id>
        <name>PDF</name>
        <index-priority>2</index-priority>
    </format>
	....
</formats>

The following values are assigned to each format:

Managing Attributes – Configuring Metadata Export

Although the attribute schema can be modified from the level of the Administrator Application, it is good to include new attributes in the metadata export configuration. That configuration is in the conf/ms directory of the dLibra server, in files ending with export.properties, for example, dc-export.properties. The first part of the name of such a file indicates the export format to which the file pertains:

Here is a sample fragment of the “dc-export.properties” file:

contributor = Contributor
coverage    = Coverage, Spatial, Temporal
creator     = Creator

Every line begins with a field/attribute name in the exported format, and the equal sign is followed by the RDF name of the attribute in the dLibra system or by a list of such names, comma-separated.

Configuring Self-Archiving

In the standard configuration, the “Self-archiving” function is only available to those users for whom a home directory has been set. It usually suffices if a standard “User Publications” directory is chosen for that purpose, because objects created with the use of the “Self-archiving” function are not placed directly in the selected home directory but in a subdirectory with the same name as the login of the user who is adding the publication (that subdirectory is created automatically). In some institutions, it may be advisable to change that setting so that all users can add their objects.  For that purpose, the value of the “wwwPublicationAllowed” entry in file /conf/ms/service.properties file should be changed to true. The result will be as if all users had the home directory set to “User Publications”. If subdirectories are to be created in another directory, the administrator just has to enter its identifier in the “publicDirectoryId” value in the abovementioned file.