Re: [greenstone-users] OIDtype and dc.identifier from the filename

From Michael Dewsnip
DateFri, 11 Aug 2006 16:36:58 +1200
Subject Re: [greenstone-users] OIDtype and dc.identifier from the filename
In-Reply-To (C8D03A929CDD6B4A9EFA5D6A847351FD033CC571-dnzakex1-datacom-co-nz)
Hi Claire,

I don't think there is any way of assigning the filename automatically
to dc.Identifier. Have you tried using "-OIDtype dirname"? This will use
the path of the source file as the identifier. If this doesn't do quite
what you want you can change how the "dirname" option works by editing a
small bit of code in the set_OID function in Greenstone's perllib/doc.pm
file.

Regards,

Michael

Claire Wilson (DSL AK) wrote:

> Hi All
>
> I am importing a large bunch of images with no descriptive metadata as
> yet (we□re planning to enter it using the GLI). I want to make a
> persistent identifier for each image using the image filename, which
> is unique. How can I assign dc.identifier to be the filename? (so that
> in the build, OIDtype will use the dc.identifier rather than making a
> hash identifier).
>
> Thank you
>
> Claire
>
> Claire Wilson
>
> Christchurch, NZ
>
>------------------------------------------------------------------------
>
>_______________________________________________
>greenstone-users mailing list
>greenstone-users@list.scms.waikato.ac.nz
>https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
>