EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #01613
< 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: Florian Heß <hess@ub.uni-heidelberg.de>
- Date: Fri, 22 Feb 2013 12:39:36 +0100
Am 22.02.2013 11:27, schrieb Tim Brody:
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
Hi,(First of all, thanks Tim for the solution concerning longer name components, works great.)
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.
OpenAIRE requires DRIVER standard, according to which at least one dc:type must be one of literal 'book', 'bookPart', 'article' and so on. In how to display these types we as the repository provider are supposed to choose human-readable names and descriptions, but for machines and the sake of standard compliancy the technically language-neutral unique labels (the raw values from cfg/namedsets/eprint which must accord therefore to DRIVER) have to be used in an unmodified way to allow simple matching. Can OAI_DC be configured to achieve that or do we have to derive our customised class from it?
Best regards F Heß
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/
-- UB Heidelberg (Altstadt) Plöck 107-109, 69117 HD - Informationstechnik - WWW-Redaktion Tel. 06221 / 54 3550 http://www.ub.uni-heidelberg.de/
- References:
- [EP-tech] Oai-pmh english output
- From: Paolo Tealdi <paolo.tealdi@polito.it>
- [EP-tech] Re: Oai-pmh english output
- From: Tim Brody <tdb2@ecs.soton.ac.uk>
- [EP-tech] Oai-pmh english output
- Prev by Date: [EP-tech] Search eprints from external site.
- Next by Date: [EP-tech] Re: Search eprints from external site.
- Previous by thread: [EP-tech] Re: Oai-pmh english output
- Next by thread: [EP-tech] Warning Message in logs....
- Index(es):