Re: [greenstone-users] oaiserver?verb=GetRecord doesn't seem to work for image collections?

From Michael Dewsnip
DateTue, 17 May 2005 09:59:27 +1200
Subject Re: [greenstone-users] oaiserver?verb=GetRecord doesn't seem to work for image collections?
In-Reply-To (595b9ab205051523224b9e8ad7-mail-gmail-com)
Hi Stephen,

This works for me, but only after a couple of changes:

1. The GetRecord link in the collection description specified an invalid
HASH ID on my machine, giving me a "The value of the identifier is
unknown or illegal in this repository" error. Presumably the HASH ID is
correct for the collection on your machine.

2. After changing the HASH ID to be valid, I got a header record but no
metadata. This is due to the oai.cfg line

oaimapping image-e:ex.Title dc.Title

The "ex." is only a figment of the GLI's imagination -- it doesn't
really exist in Greenstone. What you need is

oaimapping image-e:Title dc.Title

and then you should get the full record with metadata like I did.

All the best,

Michael

Stephen DeGabrielle wrote:

>Hi,
>
>I am having a confusing time - weirdly the oaiserver getrecord seems
>to work for the demo collection but doesn't seem to work for the
>image-e collection.
>
>Hopefully someone can tell me what I am doing wrong.
>
>I have attached my modified version of the image-e example collection
>that is exibiting the behaviour, and an appropriately modified oai.cfg
>file.
>
>I have included links in the collection description the various oai
>responses to save typing for anyone who is willing to give it a build
>and see if they get the same problem as me.
>
>The description also includes links to the demo collection oaiserver
>responses for comparison.
>
>Thanks,
>
>Stephen De Gabrielle
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>greenstone-users mailing list
>greenstone-users@list.scms.waikato.ac.nz
>https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
>