What you're doing should work, but unfortunately the GLI as it stands doesn't allow
The problem is that the GLI keeps its own metadata structures for a collection, and
uses these to write out a metadata.xml file when building. This, of course,
overwrites the metadata.xml file that you've "sneaked into" the collection's import
The GLI is a bit smarter in other areas, however. When you drag files into your
collection in the Gather pane, the GLI will look for metadata.xml files at this
point, and automatically assign any relevant metadata. This should be immediately
viewable (and editable) in the Enrich pane.
Therefore, try creating a new collection and dragging the files from your current
collection's import folder (containing your metadata.xml file) into the new
collection. The GLI should recognise that there is metadata assigned to these files
and import it.
The metadata handling in the GLI is a bit weird, and I'm hoping to overhaul it in the
next few weeks to improve matters like this.
All the best,
Tom Farrell wrote:
> Hello all,
> I hope we are missing something simple, and that someone can tell us what
> it is.
> We are attempting to build a collection of PDFs and Word docs through the
> GLI, associating them with DC metadata from a 'metadata.xml' file we created.
> We gathered the files, dropped the metadata.xml file into the Import
> directory, made sure the dc metadata option was included in Enrich, and
> built the collection.
> However, none of the DC metadata is used, onlyGreenstone's extracted
> metadata. The metadata file gets overwritten with this extracted data.
> Here is an example of what we're getting:
> A file from our metadata, before the build -
> <Metadata name="dc.Title" mode="override">SquareSoft: What's Behind the
> <Metadata name="dc.Contributor" mode="accumulate">Michelle Chun</Metadata>
> <Metadata name="dc.Subject" mode="accumulate">SquareSoft Square</Metadata>
> The metadata for this file after the build -
> <XMetadata name="Language">en</XMetadata>
> <XMetadata name="Encoding">utf8</XMetadata>
> <XMetadata name="Source">CHUN.DOC</XMetadata>
> <XMetadata name="Plugin">WordPlug</XMetadata>
> <XMetadata name="GENERATOR">wvWare/wvWare version
> <XMetadata name="Title">Untitled</XMetadata>
> <XMetadata name="srclink"><a
> <XMetadata name="srcicon"></XMetadata>
> <XMetadata name="/srclink"></a></XMetadata>
> Thanks for any suggestions -
> greenstone-users mailing list