/Indexer/parse_bib_file.pl. Using foreign format bibliography files with Dienst requires reimplementing the subroutine
parse_bib_file. The interface to this subroutine is described below:
path- a string that is the full pathname of the bibliography file.
fields- a reference to associative array whose keys specify the bibliographic data to be retrieved from the file. The supported data keys are:
title- the title of the document.
author- the author(s) of the document in last, first format (multiple authors are separated by a colon (
date- the publication date in
Month, Day, Yearformat. The month must be alphabetic (spelled out). The "Day" is a 1- or 2-digit number. The "Year" is a 4-digit number.
notes- a free format string with any descriptive notes about the document.
entry- the date of creation of the bibliographic record in the format
Month Day, Year. The month must be alphabetic (spelled out). The "Day" is a 1- or 2-digit number. The "Year" is a 4-digit number.
abstract- a free text string that is the abstract of the document.
corpauthor- a free text string that is a non-human author.
docidis always returned with the docid of the document.
requested_docid- the document idea for which data is requested (a bibliography file may contain multiple bibliographic records but this is discouraged).
loghandle- a file handle which should be used as the argument to the subroutine
Log_Errorif errors occur in processing. The arguments to
loghandle- the same as described above.
string- a string describing the error.
Up to Main Information Menu