Re: TEI and greenstone

From sjboddie
DateTue, 19 Mar 2002 10:41:10 +1200
Subject Re: TEI and greenstone
In-Reply-To (9FAA35C30891E543A33332A1815F9A472700CC-ex-mail-nybg-org)
"Rolen, Heather" wrote:
>
> Hi,
> Has anyone begun to incorporate TEI (text encoding initiative) standards
> into their GSDL projects, or considered doing so? I have only recently
> started building a digital library with GSDL software, and would like to use
> TEI for Libraries (a very limited version of TEI), but want to be certain
> GSDL will work with TEI. Any comments/suggestions or examples of such usage
> would be appreciated.
>
> -Heather

Hi Heather,

Greenstone will certainly work with TEI input documents, you just need a
plugin for importing them into the system.

I had a go at writing a TEI plugin for someone a few months ago. You can
download it from http://greenstone.org/tmp/TEIPlug.pm. Note that the
plugin only supports the TEI features used by the collection I was
working on at the time, it's by no means a complete implementation.
Having said that, it should be relatively easy to customise for your
needs.

I don't know much about TEI so have a couple of questions.

1. Is "TEI for libraries" some kind of well defined subset of TEI? Is it
similar to TEI Lite?

2. Is "TEI for libraries" widely used? Should we consider creating fully
featured Greenstone plugins for TEI for libraries and TEI lite? -- From
what little I've read about TEI it seems unrealistic to expect to create
a plugin that handles the entire standard, it's just too big. Do you
agree?


As a quick and dirty alternative to creating a plugin to import your TEI
documents you might consider converting them to HTML then using the
standard HTMLPlug plugin to import them. At
http://www.tei-c.org/Software/index.html there is mention of a tool for
converting TEI to HTML. You probably won't get such good results but it
might be worth a try.

regards,
Stefan.