EPrints Technical Mailing List Archive
Message: #01611
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Oai-pmh english output
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Oai-pmh english output
- From: Tim Brody <tdb2@ecs.soton.ac.uk>
- Date: Fri, 22 Feb 2013 10:27:37 +0000
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
Attachment:
signature.asc
Description: This is a digitally signed message part
- References:
- [EP-tech] Oai-pmh english output
- From: Paolo Tealdi <paolo.tealdi@polito.it>
- [EP-tech] Oai-pmh english output
- Prev by Date: [EP-tech] Re: Warning Message in logs....
- Next by Date: [EP-tech] Search eprints from external site.
- Previous by thread: [EP-tech] Oai-pmh english output
- Next by thread: [EP-tech] Re: Oai-pmh english output
- Index(es):