[EP-tech] Oai-pmh english output

Paolo Tealdi paolo.tealdi at polito.it
Thu Feb 21 08:47:54 GMT 2013


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

Best regards,
Paolo Tealdi







-- 
Ing. Paolo Tealdi         Area IT - Politecnico Torino
Telefono/Phone : +39-011-0906714 , FAX : +39-011-0906799
Indirizzo/Address : C.so Duca degli Abruzzi,  24 - 10129 Torino - ITALY
Skype : tealdi.paolo
Please consider your environmental responsibility before printing this e-mail


More information about the Eprints-tech mailing list