EPrints Technical Mailing List Archive

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

Message: #03340


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

[EP-tech] Re: Export plugin with views.pm features


Here is an example of the Boolean expressions used in a cgi script to generate a subset of eprints for the output :                                     

 

if ( $eprint->get_value( "type" ) eq "article" && $eprint->get_value( "refereed" ) eq "TRUE" )

 

GF

 

De : eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] De la part de Sebastien Francois
Envoyé : 30 juillet 2014 08:45
À : eprints-tech@ecs.soton.ac.uk
Objet : [EP-tech] Re: Export plugin with views.pm features

 

Hi,

Could you give us some examples of such boolean expressions?

EPrints' internal search allows implicit boolean expressions (eg. on advanced search for title="blue sky" will search title="blue" and title="sky"). Xapian integration offers straight boolean expressions but that's still under development (on github).

Seb.

On 29/07/14 21:46, Gaston.Fournier@etsmtl.ca wrote:

Does anybody use a cgi script with Boolean expressions generating a subset of eprints in their repository, like search.pm does, and call through the same script an export plugin that generate outputs similar to the ones generated by views.pm ? If so, please share a view of the script and the export plugin.

Thank you