EPrints Technical Mailing List Archive

Message: #01608


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Oai-pmh english output


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