EPrints Technical Mailing List Archive

Message: #02384


< 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


Is there a way to implement not? Or we need an additional field to create this condition?

Il 12/11/2013 00:20, Mark Gregson ha scritto:

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/ <http://www.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 <http://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



*** 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/