Re: [greenstone-users] Can´t change OIDtype in

From jens wille
DateTue, 06 Sep 2005 21:25:53 +0200
Subject Re: [greenstone-users] Can´t change OIDtype in
In-Reply-To (20050906184749-13766gmx1-mx005-gmx-net)
hi diego!

Diego Spano wrote:
> I have a lot of folders with tif and txt files inside and a .item file
> that has the metadata. So I processed them with PagedImgPlug: each
> folder is a document with many pages. The case is that I want to change
> OID assignment: I don□t want hash, I want dirname so I run:
first of all, are you sure your directories contain only one file
each and their names are unique?
do you get any error messages? (containing "generating hash id")

if you don't get it working you might try OIDtype 'assigned'
instead, maybe that one works. (you can still give the id's you want
by setting dc.Identifier accordingly)

> but always get hash as identifiers. I think that OID assignment is
> incompatible with PagedImgPlug, because dirname works OK if I import one
> PDF or DOC file.
there may be other reasons - i don't know if PagedImgPlug really has
a problem with other OIDtypes, though.