Note

The programming library for that extension is  dlibra-app-extension-mf-bibtex.


The functionality of the Editor and Administrator Application can be extended with the use of so-called extensions. For example, extensions which make it possible to import metadata to the dLibra system from external sources can be added. The extension for importing a bibliographic description from a file in the BibTeX format is an extension of that type (for information about that format, see here).


The import of bibliographic descriptions will only be possible if the BibTeX extension is properly configured.


The BibTeX extension is configured with the use of two property files (property files contain key=value pairs):


  • bibtexImport.properties – a file containing the rules of the conversion of a BibTeX file to metadata in the dLibra system.


For example, 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=

The keys in that file are RDF names, and the values are the field (tag) lists from particular items (entries). The fields in field lists should be semicolon-separated (;). For example, in line 1, values from the author field of the book item (the book.author notation) will be assigned to the “Creator” attribute (line 1). If we want to import fields from any item, we should specify character * instead of the name of the item. For example, in line 2, values from the title and booktitle fields will be imported to the Title attribute, from any item (notation *.title;*.booktitle).

Here is the default configuration of the BibTeX extension:

Creator=*.author
Title=*.title;*.booktitle
Description=*.note
Publisher=*.publisher
Date=*.month;*.year
Type=*.type
Subject=*.keywords
Source=*.url
Contributor=
Identifier=
Language=
Relation=
Coverage=
Rights=
  • No labels