[EP-tech] Re: Oai-pmh english output
Tim Brody
tdb2 at ecs.soton.ac.uk
Fri Feb 22 10:27:37 GMT 2013
On Thu, 2013-02-21 at 09:47 +0100, Paolo Tealdi wrote:
> Dear all,
>
> we are managing to become open-aire and some other italian harvester compliant.
> We notice that default DC:type attribute is set in italian language (our default eprints lang).
> I think that this is not correct. I think that ~/cgi/oai script should force english language.
> The code could be this :
>
> In ~/archives/ARCHIVEID/cfg/cfg.d/oai.pl add
>
> $oai->{v2}->{lang} = "en";
>
> In ~/cgi/oai add
>
> if ( my $lang = $repo->config( "oai","v2","lang" )) {
> $repo->change_lang( $lang);
> }
>
> My .02 (euro)cents
Agreed.
But, given OAI-PMH builds on HTTP a harvester should probably set
"Accept-Language", which would cause EPrints to generate metadata in the
most-appropriate language for the client.
Something I hadn't considered before now.
--
All the best,
Tim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20130222/cf8eb481/attachment.bin
More information about the Eprints-tech
mailing list