-%# $Id: full.mc,v 1.25 2007-04-18 12:06:25 mike Exp $
+%# $Id: full.mc,v 1.28 2007-05-11 13:32:57 mike Exp $
<%args>
$id
</%args>
<%perl>
my $conn = new ZOOM::Connection("localhost:8018/IR-Explain---1");
$conn->option(elementSetName => "zeerex");
-my $qid = $id;
-$qid =~ s/"/\\"/g;
-my $query = qq[rec.id="$qid"];
+my $query = cql_target($id);
my $rs = $conn->search(new ZOOM::Query::CQL($query));
my $n = $rs->size();
if ($n == 0) {
[ "Implementation ID" => "i:status/i:implementationId" ],
[ "Implementation Name" => "i:status/i:implementationName" ],
[ "Implementation Version" => "i:status/i:implementationVersion" ],
- [ "Reliability" => \&calc_reliability, $xc ],
+ [ "Reliability/reliability" => \&calc_reliability, $xc ],
[ "Services" => \&calc_init_options, $xc ],
[ "Bib-1 Use attributes" => \&calc_ap, $xc, "bib-1" ],
[ "Dan-1 Use attributes" => \&calc_ap, $xc, "dan-1" ],
if ($data) {
</%perl>
<tr>
- <th><% xml_encode($caption) %></th>
+% $caption =~ s/\/(.*)//;
+% my $help = $1;
+ <th><% xml_encode($caption) %><%
+ !defined $help ? "" : $m->comp("/help/link.mc", help =>"info/$help")
+ %></th>
<td><% xml_encode($data) %></td>
</tr>
% }
<p>
<a href="<% xml_encode("http://targettest.indexdata.com/targettest/search/index.zap?" .
join("&",
- "target=" . uri_escape_utf8($id),
+ "target=" . uri_escape_utf8(irspy_identifier2target($id)),
"name=" . uri_escape_utf8($title),
"attr=" . join(" ", list_ap($xc, "bib-1")),
"formats=" . calc_recsyn($xc, " ")))