<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Your example can be done via a search:<br>
<br>
<a class="moz-txt-link-freetext" href="http://demoprints.eprints.org/cgi/search/archive/advanced?screen=Search&dataset=archive&type=article&refereed=TRUE&satisfyall=ALL&order=-date%2Fcreators_name%2Ftitle&_action_search=Search">http://demoprints.eprints.org/cgi/search/archive/advanced?screen=Search&dataset=archive&type=article&refereed=TRUE&satisfyall=ALL&order=-date%2Fcreators_name%2Ftitle&_action_search=Search</a><br>
<br>
Searches can be exported (like any list of objects).<br>
<br>
Otherwise you can write your own CGI (if your conditions are more
complex) - something like (adapt to your needs):<br>
<br>
<tt>my $list = $repo->dataset( 'archive' )->search(</tt><tt><br>
</tt><tt> filters => [</tt><tt><br>
</tt><tt> { meta_fields => [qw/ type /], value =>
'article', match => 'EX', },</tt><tt><br>
</tt><tt> { meta_fields => [qw/ refereed /], value
=> 'TRUE', match => 'EX', },</tt><tt><br>
</tt><tt> ] );</tt><tt><br>
</tt><tt><br>
</tt><tt>binmode( STDOUT, ":utf8" );</tt><tt><br>
</tt><tt><br>
</tt><tt>$list->export( 'XML', fh => *STDOUT );</tt><tt><br>
</tt><br>
Seb.<br>
<br>
On 30/07/14 17:01, <a class="moz-txt-link-abbreviated" href="mailto:Gaston.Fournier@etsmtl.ca">Gaston.Fournier@etsmtl.ca</a> wrote:<br>
</div>
<blockquote
cite="mid:3A02E08503E2AC4FB5566BBE32B96AE326B47527@JUPITER.ad.etsmtl.ca"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-CA">Here
is an example of the Boolean expressions used in a cgi
script to generate a subset of eprints for the output :</span><span
lang="EN-CA">
</span><span style="color:#1F497D" lang="EN-CA">
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-CA">if
( $eprint->get_value( "type" ) eq "article" &&
$eprint->get_value( "refereed" ) eq "TRUE" )<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-CA">GF<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-CA"><o:p> </o:p></span><br>
</p>
</div>
</blockquote>
<br>
</body>
</html>