[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[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" )
De : eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] De la part de Sebastien Francois
Envoy? : 30 juillet 2014 08:45
? : eprints-tech at ecs.soton.ac.uk
Objet : [EP-tech] Re: Export plugin with views.pm features
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).
On 29/07/14 21:46, Gaston.Fournier at etsmtl.ca<mailto:Gaston.Fournier at 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.
-------------- next part --------------
An HTML attachment was scrubbed...