EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #02381


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

[EP-tech] Re: OAI filters


From 3.2 you should be able to do something like this in oai.pl:

 

$oai->{filters} = [

        {

               meta_fields => [ 'type' ],

               value => 'article thesis',

               merge => 'ANY',

               match => 'IN',

        },

];

 

You can also apply a filter to custom sets.

 

Cheers

Mark

 

Mark Gregson | Applications and Development Team Leader
Library eServices | Queensland University of Technology
Level 3 | R Block | Kelvin Grove Campus | GPO Box 2434 | Brisbane 4001
Phone: +61 7 3138 3782 | Web:
http://eprints.qut.edu.au/
ABN: 83 791 724 622
CRICOS No: 00213J

 

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Lourdes Calvo Montero
Sent: Monday, 11 November 2013 9:47 PM
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] OAI filters

 

Hi, 

 

A question about $oai->{filters} in oai.pl.

Does anyone know if it is possible to export only those records to the
OAI-interface, which belong to some types (for example, "articles" and "thesis"..? And to prevent the records of other types from being exported ?.

 

 

Thanks,

 

Lourdes

 

Universidad Complutense de Madrid