Basic information

A directory which describes an object consists of:

The publication.properties file

The publication.properties file is the object properties file. It consists of key–value pairs. A key, that is, the name of a property, is separated from the value with the equal sign (=). Each such pair is in a separate row. The file should be saved as UTF-8 encoded.

The permitted properties and their values are presented below.

Sample publication.properties file:

 

publication.properties
publication.collections=117
publication.destination.directoryId=16
publication.metadataFile=metadata.properties
publication.name=Sample multi-format file
publication.published=true

publication.mainFormat=bitmapa
publication.mainFile.PDF=PDF/pa1940-0000-00-0001.pdf
publication.mainFile.DJVU=DJVU/index.djvu
publication.mainFile.TXT=TXT/pa1940.txt
publication.mainFile.bitmapa=bitmapa/PresentationData.xml

 

In the example, the object will be assigned to the collection with identifier 117. The object will be put in the directory with identifier 16. The main format of the publication will be a bitmap, and the main file will be PresentationData.xml. The metadata will be described in the metadata.properties file. The object will be named Sample multi-format file. The object will be published. Apart from the main format (bitmap), the following formats will be added: PDF, DjVu, and TXT.