Re: [greenstone-devel] What is the structure of bib files ?

From John R. McPherson
DateTue, 24 May 2005 10:16:07 +1200
Subject Re: [greenstone-devel] What is the structure of bib files ?
In-Reply-To (42901d8a-1738a483-5029-63ad-mx-gmail-com)
On Sun, 2005-05-22 at 12:49 +0700, Thanh Quy wrote:
> What is the structure of file ".bib" ?I have a table in a relational
> database and I want to build a collection from this table, every
> record in this table is an entry of bib file.
>
> My fields in table: ThesisCode(primary
> key),ThesisName,Date,ProfessorName,StudentName1,StudentName2.
>
> How can I build my bib file and make config my collection to be able
> to search these entries?
>

Greenstone ".bib" files that are in BibTex format. This is the
bibliographic format used by LaTeX users.

The format is described in the btxdoc.pdf file which you can find
online:
http://www.ctan.org/tex-archive/biblio/bibtex/contrib/doc/

Alternately, you might want to think about using greenstone's DBPlug,
which will extract rows from a database and turn each row into a
greenstone document. By default, DBPlug will look for files that end
with ".dbi", and it is a special configuration format describing how to
connect to the database, and how to map database columns to greenstone
metadata. See the (GSDLHOME)/etc/packages/example.dbi file. You might
need to install extra perl packages for connecting to different types of
databases.

John