A directory which describes an object consists of:
publication.properties
file which describes the object,metadata.properties
, andpublication.properties
fileThe 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.
The publication.actorsRights.<the login of the user or the name of the group to which the permissions are assigned> key. Comma-separated permissions. Note: if the login contains spaces, they must be preceded with the “\” character. The list of possible permissions (for more information about permissions, see here):
pv
– access only to published object versions,pr
– access only to published object versions,pe
– object management. publication.collections
key publication.destination.directoryld
key publication.metadataFile
key.rdf,.mrc,
or .bib
). publication.name
key publication.notes
key publication.published
keytrue
, the edition will be published. In any other case, the edition will not be published. The default value is false
. image.content
key publication.mainFile.FORMAT_NAME
key main.Format
keySample 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.