Re: metadata only collections and formatting strings

From Katherine Don
DateThu, 19 Dec 2002 11:25:21 +1300
Subject Re: metadata only collections and formatting strings
In-Reply-To (00ca01c2a6df$cc430fa0$0200a8c0-lomu)

what about if you bypassed the import stage altogether - instead of translating
your metadata into metadata.xml files, translate it into archive files - the
doc.xml files. You can group several 'documents' into one file - we do this
with bibliographic collections. Then you need to create the archives.inf file
as well.
Currently all documents need some text in the Content - you can just put a
dummy string in there

eg each entry would look like the following

<Metadata name="xxx">yyy</Metadata>
dummy text


Stefan Boddie wrote:

> Hi,
> >
> > Does anyone know if it is possible to use greenstone for metadata only.
> > I have no source documents - I will transtlate my metadata into the
> > metadata.xml format for recplug to process.
> >
> > If I do metadata.xml without a filename it fails to add any records - I
> > suppose I shoudn't be surprised.
> >
> > I am trying to work out the correct solution, I can solve this with a
> > dummy document with non-word data - but I feel that is a waste of
> > space and the incorrect solution. (I have tried searching the list and
> > the documentation/source but to no avail)
> >
> There's no easy way to do this I don't think. Collections containing nothing
> but metadata.xml files are something that should be possible though (I'll
> add it to the list :-)
> You might be able to do something tricky with the SplitPlug so that you only
> need one dummy file instead of one for each document. It'd probably involve
> a bit of perl programming though.
> >