Editor/administrator application functionality may be extended with so called extensions. It is possible to add extension which imports metadata from external sources. BibTeX import extension is an extension of this type. It allows importing bibliographic description from BibTeX files (details about BibTeX can be found here).
In order to import bibliographic description BibTeX extension has to be properly configured.
BibTeX extension is configured using one property file (property files contain key=value pairs):
bibtexImport.properties - file contains rules of conversion from BibTex format to dLibra metadata format.
Let us assume that we have the following bibtexImport.properties file:
Creator=book.author Title=*.title;*.booktitle Description=*.note Publisher=*.publisher Date=*.month;*.year Type=*.type Subject=*.keywords Source=*.url Contributor= Identifier= Language= Relation= Coverage= Rights=
In the file key is attribute's RDF name and value is a list of fields (tags) of entries from BibTeX format. Concrete fields in the list of fields should be separated by the semilocon (;). For example (line 1) to Creator attribute values from author field, book entry will be assigned (notation book.author). If there is a need to import field values from any entry asterix character (*) should be used instead of entry name, for example (line 2) to Title attribute value from filed title and booktitle, any entry will be assigned (notation *.title;*.booktitle).
The following configuration is used as default:
Creator=*.author Title=*.title;*.booktitle Description=*.note Publisher=*.publisher Date=*.month;*.year Type=*.type Subject=*.keywords Source=*.url Contributor= Identifier= Language= Relation= Coverage= Rights=