X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=web%2Fhtdocs%2Fraw.html;h=694652b9d8eb082c04707fbdce08db8fe6ec3f91;hb=6939cb252548edb02672e3bec5b009aa815e4c25;hp=a19888069b16a3790196b65a1e8f2e4ff1d14c72;hpb=35d4c1b15b01874ae6f70277869f94decda884de;p=irspy-moved-to-github.git diff --git a/web/htdocs/raw.html b/web/htdocs/raw.html index a198880..694652b 100644 --- a/web/htdocs/raw.html +++ b/web/htdocs/raw.html @@ -4,10 +4,12 @@ $id <%once> use ZOOM; +use ZOOM::IRSpy; use ZOOM::IRSpy::Utils qw(cql_target); <%perl> -my $conn = new ZOOM::Connection("localhost:8018/IR-Explain---1"); +my $db = ZOOM::IRSpy::connect_to_registry(); +my $conn = new ZOOM::Connection($db); $conn->option(elementSetName => "zeerexNoAuth"); my $rs = $conn->search(new ZOOM::Query::CQL(cql_target($id))); my $n = $rs->size();