Re: [greenstone-users] Using customized DTD for import, user access levels

From Birgit Kellner
DateTue, 25 Jan 2005 10:52:02 +0100
Subject Re: [greenstone-users] Using customized DTD for import, user access levels
In-Reply-To (41F5C573-2050608-cs-waikato-ac-nz)
Hi Michael,

Michael Dewsnip wrote:

> What changes do you need to make to the metadata.xml format?

This is what one record in my metadata.xml currently looks like:

<Metadata name="Type" >Journal article</Metadata>
<Metadata name="Author" >de La Vallee Poussin, Luis#</Metadata>
<Metadata name="AuthorJapanese"></Metadata>
<Metadata name="ArticleTitle">Bodhicary?vat?ra</Metadata>
<Metadata name="Journal">Revue d&apos;histoire et de litterature
<Metadata name="Volume">tome XI</Metadata>
<Metadata name="Pages">59-117</Metadata>
<Metadata name="Year">1906</Metadata>
<Metadata name="Place"></Metadata>
<Metadata name="Publisher"></Metadata>

As you can see, the kind of fields I need to add are all
bibliography-related. There are a few more for different publication
types, but this example should suffice to give you a general idea.

> Yes, this functionality is available in Greenstone. One of the
> documented example collections, the "authentication and formatting
> demo" (
> describes how this works.

Thank you. It's not quite what I was looking for, for non-authorised
users still get the document information displayed in search results,
even though they are then prompted for a password upon accessing the
document. Ideally, I'd like to be able to *completely* hide non-public
documents from non-authorised users. But if that's not possible, I can
live with the way the demo works, too.

I now rebuilt my collection, adding the following options to collect.cfg:

authenticate document
auth_group istb_users
public_documents HASH010096b4c15403ca9ebfeebf

I rebuilt the collection twice, with -removeold, but it doesn't seem to
work: all documents are still accessible. With "authenticate
collection", however, authentication works.
Does authentication on a per-document basis require setting any further
options in a particular way (like "public false", perhaps?)

By the way, these are the other perhaps relevant options from my

public true
beta true

indexes document:ArticleTitle document:Author document:AuthorJapanese
defaultindex document:ArticleTitle

plugin ZIPPlug
plugin UnknownPlug -process_exp '.PDF$' -default_language ja
plugin GAPlug
plugin ArcPlug
plugin RecPlug -use_metadata_files

Thank you, and best regards,

Birgit Kellner