EPrints Technical Mailing List Archive
Message: #01230
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: DOI search - exact match?
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: DOI search - exact match?
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- Date: Tue, 23 Oct 2012 15:05:06 +0100
Can you use a custom script?
my $q = $session->param( ...name of the <form> param... ); my $list = $session->dataset( 'archive' )->search( filters => [ { meta_fields => [ "id_number" ], value => $q, match => 'EX' } ] ); if( $list->count == 0 ) { ... } elsif( $list->count > 1 ) { ... } my $match = $list->item( 0 ); ... Make sure you have your metadata clean cause people sometime use different formats for DOI's (doi:// etc..) Seb On 22/10/12 11:07, Thomas Haines wrote:
|
- References:
- [EP-tech] DOI search - exact match?
- From: Thomas Haines <HainesT@cardiff.ac.uk>
- [EP-tech] DOI search - exact match?
- Prev by Date: [EP-tech] Re: Problem with the RSS plugin
- Next by Date: [EP-tech] Re: Problem with the RSS plugin
- Previous by thread: [EP-tech] DOI search - exact match?
- Next by thread: [EP-tech] Mod_perl not detected by eprints
- Index(es):