[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Re: OAI filters
- Subject: [EP-tech] Re: OAI filters
- From: mark.gregson at qut.edu.au (Mark Gregson)
- Date: Tue, 12 Nov 2013 09:20:41 +1000
- In-reply-to: <EMEW3|c0fb960153fbea404810e2493b3af6c8pAABn014eprints-tech-bounces|ecs.soton.ac.uk|CAM+8NSZZ=SVnPH4GDs9_gmAxsjf2Ux9dzsfdi=PPkf8SFKW1DQ@mail.gmail.com>
- References: <CAM+8NSZZ=SVnPH4GDs9_gmAxsjf2Ux9dzsfdi=PPkf8SFKW1DQ@mail.gmail.com> <EMEW3|c0fb960153fbea404810e2493b3af6c8pAABn014eprints-tech-bounces|ecs.soton.ac.uk|CAM+8NSZZ=SVnPH4GDs9_gmAxsjf2Ux9dzsfdi=PPkf8SFKW1DQ@mail.gmail.com>
>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 at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Lourdes Calvo Montero
Sent: Monday, 11 November 2013 9:47 PM
To: eprints-tech at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20131112/864525bd/attachment.html