# Makefile for www gateway utility
# Europagate, 1995
#
-# $Id: Makefile,v 1.36 1996/03/11 17:40:47 adam Exp $
+# $Id: Makefile,v 1.37 1996/03/12 16:30:26 adam Exp $
#
SHELL=/bin/sh
WSCRIPTS=egwscript targets.egw query.egw search.egw showfull.egw z39util.tcl \
mtargets.egw mquery.egw msearch.egw history.egw tform.egw tdefine.egw \
- sameas.egw nwi.egw
+ sameas.egw nwi.egw nwiutil.tcl
HSCRIPTS=egwindex.html
CONFFILES=egw.res ztargets.conf
TPROG1=egwcgi
</head>
<body>
{
-# $Id: history.egw,v 1.5 1996/01/26 15:50:06 adam Exp $
+# $Id: history.egw,v 1.6 1996/03/12 16:30:26 adam Exp $
if {[info commands saveState] == ""} {
source z39util.tcl
}
set useIcons 1
- button-europagate
+ button-main
button-new-target 0
z39history
set useIcons 0
- button-europagate
+ button-main
button-new-target 0
}
{
</head>
<body>
{
-# $Id: mquery.egw,v 1.13 1996/03/08 16:47:04 adam Exp $
+# $Id: mquery.egw,v 1.14 1996/03/12 16:30:26 adam Exp $
if {[info commands saveState] == ""} {
source z39util.tcl
}
set useIcons 1
- button-europagate
+ button-main
button-new-target 0
html {<form action="http:} $env(SCRIPT_NAME)
html "</select><br>\n"
set useIcons 0
- button-europagate
+ button-main
button-new-target 0
}
{
<html>
{
-# $Id: msearch.egw,v 1.18 1996/03/11 17:40:47 adam Exp $
+# $Id: msearch.egw,v 1.19 1996/03/12 16:30:26 adam Exp $
if {[info commands saveState] == ""} {
source z39util.tcl
set setNo [lindex $sessionParms 0]
- if {[string length [egw_form entry1]] > 0} {
+ if {[llength [egw_form]] > 0} {
if {[string length [egw_form host]] > 0} {
set hist($setNo,0,host) [llength [egw_form host]]
set i 1
incr i
}
}
+ if {![info exists hist($setNo,0,host)]} {
+ displayError {No servers selected} {}
+ egw_abort
+ }
set hist($nextSetNo,0,host) $hist($setNo,0,host)
for {set i 1} {$i <= $hist($setNo,0,host)} {incr i} {
set hist($nextSetNo,$i,host) $hist($setNo,$i,host)
for {set i 1} {$i <= $hist($setNo,0,host)} {incr i} {
set hist($setNo,$i,query) [build-query $hist($setNo,$i,host) 3]
}
+
+ set hist($setNo,form,menu1) [egw_form menu1]
+ set hist($setNo,form,menu2) [egw_form menu2]
+ set hist($setNo,form,menu3) [egw_form menu3]
+
+ set hist($setNo,form,entry1) [egw_form entry1]
+ set hist($setNo,form,entry2) [egw_form entry2]
+ set hist($setNo,form,entry3) [egw_form entry3]
+
+ set hist($setNo,form,logic1) [egw_form logic1]
+ set hist($setNo,form,logic2) [egw_form logic2]
+ set hist($setNo,form,logic3) {}
+
set hist($setNo,maxPresent) [egw_form hits]
if {$hist($setNo,maxPresent) == ""} {
set hist($setNo,maxPresent) 20
}
set useIcons 1
- button-europagate
+ button-main
button-new-query 1 $setNo
button-new-target 0
display-result-set-m $setNo
set useIcons 0
- button-europagate
+ button-main
button-new-query 1 $setNo
button-new-target 0
}
<html>
{
-# $Id: mtargets.egw,v 1.17 1996/03/08 16:47:05 adam Exp $
+# $Id: mtargets.egw,v 1.18 1996/03/12 16:30:27 adam Exp $
set setNo 1
source ztargets.conf
if {[info commands saveState] == ""} {
</head>
<body>
{
+ set scriptQuery mquery.egw
+ set scriptTarget mtargets.egw
+
set useIcons 1
- button-europagate
+ button-main
button-define-target 0
html "<h2>Choose one or more targets</h2>\n"
html / $sessionId {/mquery.egw/} $setNo {" method=get><br>} \n
html "<dl>\n"
-
-
proc targetsCmp {l r} {
global targets
return [string compare [string tolower [lindex $targets($l) 0]] \
html "<p>\n"
set useIcons 0
- button-europagate
+ button-main
button-define-target 0
}
<html>
{
-# $Id: nwi.egw,v 1.1 1996/03/11 17:41:16 adam Exp $
+# $Id: nwi.egw,v 1.2 1996/03/12 16:30:27 adam Exp $
source ztargets.conf
+
+ set scriptQuery nwi.egw
+ set scriptTarget {}
+ set utilExtension nwiutil.tcl
+
if {[info commands saveState] == ""} {
source z39util.tcl
}
}
set useIcons 1
- button-europagate
- button-new-target 0
+ button-main
+ set initSet [lindex $sessionParms 0]
+ set curSort score
+ set curFormat brief
+ set curEntry {}
+ catch {
+ if {$initSet > 0} {
+ for {set i 1} {$i <= $hist($initSet,0,host)} {incr i} {
+ lappend curTargets $hist($initSet,$i,host)
+ }
+ set curSort $hist($initSet,sort)
+ set curFormat $hist($initSet,format)
+ set curEntry $hist($initSet,form,entry1)
+ }
+ }
html {<form action="http:} $env(SCRIPT_NAME)
html / $sessionId {/msearch.egw/} $setNo {" method=get>} \n
- html "Enter your query:<br>\n"
+ html "<dl>"
+ html {<dt><b>Enter your query</b><dd>}
- html {<input type="text" name="entry1" size=50>}
+ html {<input type="text" name="entry1" size=50 value="}
+ html [join $curEntry] {">}
html {<input type=submit value="Search"><br>}
- html {and search the following servers:<br>}
+ html {<dt><b>and search the following servers</b><dd>}
- html {<input type="checkbox" name="host"}
- html { value="nwi.ub2.lu.se/sverige"> Sweden}
- html {<input type="checkbox" name="host" }
- html { value="nwi.ub2.lu.se/new_nor_lib"> Norway}
-
- html "<br>\n"
-
- html {Display each record in <select name="format">}
- html "<option>brief\n"
- html "<option>medium\n"
+ foreach t {
+ {nwi.ub2.lu.se/sverige}
+ {nwi.ub2.lu.se/new_nor_lib}
+ {localhost:9999/test}
+ {localhost:210/Default}
+ } {
+ html {<input type="checkbox" name="host" }
+ if {[info exists curTargets]} {
+ if {[lsearch -exact $curTargets $t] != -1} {
+ html {checked }
+ }
+ }
+ html {value="} $t {"> } [lindex $targets($t) 0]
+ }
+ catch {unset curTargets}
+ html {<p><dt><b>Display each record in <select name="format"><dd>}
+ if {![string compare $curFormat brief]} {
+ html "<option>brief\n"
+ html "<option>medium\n"
+ } else {
+ html "<option>medium\n"
+ html "<option>brief\n"
+ }
html "</select> notation"
html { and sort by <select name="sort">}
- html "<option>score\n"
- html "<option>server\n"
- html "</select><br>\n"
-}
\ No newline at end of file
+ if {![string compare $curSort score]} {
+ html "<option>score\n"
+ html "<option>server\n"
+ } else {
+ html "<option>server\n"
+ html "<option>score\n"
+ }
+ html "</select></b><br></dl>\n"
+
+ set useIcons 0
+ button-main
+
+ catch maintenance
+}
+
+
--- /dev/null
+#
+# $Id: nwiutil.tcl,v 1.1 1996/03/12 16:30:27 adam Exp $
+#
+
+proc button-main {} {
+ global useIcons
+ html {<a href="http://europagate.dtv.dk/">}
+ if {$useIcons} {
+ html {<img src="/egwgif/button-nwi.gif" alt="NWI" border=0></a>}
+ } else {
+ html {NWI</a>}
+ }
+}
+
+proc maintenance {} {
+ html {<hr>This page is maintained by }
+ html {<a href="mailto:adam@index.ping.dk"> Adam Dickmeiss </a>.}
+ html {Last modified March 12, 1996. <br>}
+}
+
</head>
<body>
{
-# $Id: query.egw,v 1.36 1996/03/08 16:47:05 adam Exp $
+# $Id: query.egw,v 1.37 1996/03/12 16:30:27 adam Exp $
if {[info commands saveState] == ""} {
source z39util.tcl
global nextSetNo
global hist
- set host [lindex $sessionParms 0]
- set initSet [lindex $sessionParms 1]
+ set initSet [lindex $sessionParms 0]
+ set host [lindex $sessionParms 1]
set scanLine [lindex $sessionParms 2]
set scanTerm [lrange $sessionParms 3 end]
}
set useIcons 1
- button-europagate
+ button-main
button-new-target 1
if {[lsearch [z390 options] scan] >= 0} {
button-scan-window 1 $setNo
html [lindex $targets($host) 4] "<br>\n"
set databases [splitDatabaseSpec $host]
- if {$initSet == ""} {
+ if {$initSet == -1} {
set databaseDefault [lindex $databases 0]
set oSetNo 0
} else {
if {[string length $template] > 0} {
html { value="} $template {"}
}
- html { size=43> }
+ html { size=35> }
if {0 && [lsearch [z390 options] scan] >= 0} {
html {<input type="checkbox" name="scan} $no {" value="1" scan>}
}
html "<p>\n"
set useIcons 0
- button-europagate
+ button-main
button-new-target 1
if {[lsearch [z390 options] scan] >= 0} {
button-scan-window 1 $setNo
<html>
{
-# $Id: search.egw,v 1.36 1996/03/11 17:40:48 adam Exp $
+# $Id: search.egw,v 1.37 1996/03/12 16:30:28 adam Exp $
proc start-scan {scanNo targetNo cache dir initSet} {
global sessionId
html "</head><body>\n"
set useIcons 1
- button-europagate
+ button-main
if {$dir == "b"} {
set lines 20
set useIcons 0
if {$hist($setNo,$scanNo,scanTerm) == ""} {
- button-europagate
+ button-main
button-new-query 0 $setNo
return
}
display-scan $setNo $scanNo 0
html "<p>\n"
- button-europagate
+ button-main
html {<a href="http:} $env(SCRIPT_NAME)
html / $sessionId {/search.egw/} $setNo + $targetNo +
<html>
{
-# $Id: showfull.egw,v 1.21 1996/03/11 17:40:48 adam Exp $
+# $Id: showfull.egw,v 1.22 1996/03/12 16:30:28 adam Exp $
proc buttons {setNo tno no format count host after} {
global sessionId
global hist
html "<p>\n"
- button-europagate
+ button-main
if {$no < $count} {
+ if {!$useIcons} {
+ html "\n | "
+ }
html {<a href="http:} $env(SCRIPT_NAME)
html / $sessionId {/showfull.egw/} $setNo + $tno +
html [expr $no + 1] + $format
html {"><img src="/egwgif/button-next-record.gif" }
html {alt="Next Record" border=0></a>}
} else {
- html {">Next</a>} " | \n"
+ html {">Next</a>}
}
}
if {$no > 1} {
+ if {!$useIcons} {
+ html "\n | "
+ }
html {<a href="http:} $env(SCRIPT_NAME)
html / $sessionId {/showfull.egw/} $setNo + $tno +
html [expr $no - 1] + $format
html {"><img src="/egwgif/button-previous-record.gif" }
html {alt="Previous Record" border=0></a>}
} else {
- html {">Previous</a>} " | \n"
+ html {">Previous</a>}
}
}
+ if {!$useIcons} {
+ html "\n | "
+ }
html {<a href="http:} $env(SCRIPT_NAME)
html / $sessionId {/showfull.egw/} $setNo + $tno + $no +
if {$format == "full"} {
html {"><img src="/egwgif/button-raw-marc.gif" }
html {alt="Raw Format" border=0></a>}
} else {
- html {">Raw Format</a>} " | \n"
+ html {">Raw Format</a>}
}
} else {
html full
html {"><img src="/egwgif/button-full-format.gif" }
html {alt="Full Format" border=0></a>}
} else {
- html {">Full Format</a>} " | \n"
+ html {">Full Format</a>}
}
}
+ if {!$useIcons} {
+ html "\n | "
+ }
html {<a href="http:} $env(SCRIPT_NAME) / $sessionId
if {$tno > 0} {
html {/msearch.egw/} $setNo
html {"><img src="/egwgif/button-result-set.gif" }
html {alt="Result Set" border=0></a>}
} else {
- html {">Result Set</a>} " | \n"
+ html {">Result Set</a>}
}
button-new-query 1 $setNo
<html>
{
-# $Id: targets.egw,v 1.21 1996/03/08 16:47:06 adam Exp $
+# $Id: targets.egw,v 1.22 1996/03/12 16:30:29 adam Exp $
source ztargets.conf
if {[info commands saveState] == ""} {
source z39util.tcl
</head>
<body>
{
+ set scriptQuery query.egw
+ set scriptTarget targets.egw
+
set useIcons 1
- button-europagate
+ button-main
if {[info exists nextSetNo]} {
button-view-history 1
}
set tn [lsort -command targetsCmp $tt]
foreach t $tn {
html {<dt><a href="http:} $env(SCRIPT_NAME) /
- html "$sessionId/query.egw;/$t" {"> } [lindex $targets($t) 0] " </a>\n"
+ html "$sessionId/query.egw;/-1+$t" {"> } [lindex $targets($t) 0]
+ html " </a>\n"
set desc [lindex $targets($t) 4]
if {$desc != ""} {
html "<dd>$desc\n"
}
html "</dl><br>\n"
set useIcons 0
- button-europagate
+ button-main
if {[info exists nextSetNo]} {
button-view-history 1
}
</head>
<body>
{
-# $Id: tdefine.egw,v 1.3 1996/01/26 15:50:11 adam Exp $
+# $Id: tdefine.egw,v 1.4 1996/03/12 16:30:29 adam Exp $
if {[info commands saveState] == ""} {
source z39util.tcl
}
set useIcons 1
- button-europagate
+ button-main
button-define-target 1
button-new-target 0
global targets
set targets($hostSpec) [list \
[join $name] \
- $databases \
+ USMARC \
$attrList \
$authentication \
$description \
}
html "<p>\n"
set useIcons 0
- button-europagate
+ button-main
button-define-target 1
button-new-target 0
}
</head>
<body>
{
-# $Id: tform.egw,v 1.3 1996/01/26 15:50:11 adam Exp $
+# $Id: tform.egw,v 1.4 1996/03/12 16:30:29 adam Exp $
if {[info commands saveState] == ""} {
source z39util.tcl
}
set useIcons 1
- button-europagate
+ button-main
button-new-target 0
html "<h2>Target definition form</h2><br>\n"
html "\n<br>\n"
set useIcons 0
- button-europagate
+ button-main
button-new-target 0
}
</body></html>
\ No newline at end of file
#
-# $Id: z39util.tcl,v 1.38 1996/03/11 17:40:49 adam Exp $
+# $Id: z39util.tcl,v 1.39 1996/03/12 16:30:30 adam Exp $
#
proc saveState {} {
uplevel #0 {
global env
global sessionId
+ html {<li>}
set type [$zset type $no]
if {$type == "SD"} {
set err [lindex [$zset diag $no] 1]
} else {
set nwi 1
}
+ html "<dl>\n"
+ html {<dt><b>Title</b>}
if {$nwi} {
- html {Title: <a href="} $data(linkage) {">} $data(title) "</a><br>\n"
- html {URL: } $data(linkage) "<br>\n"
+ html {<dd><a href="} $data(linkage) {">} $data(title) "</a>"
+ html {<dt><b>URL</b>}
+ html {<dd>} $data(linkage) "<br>\n"
} else {
- html {Title: } [join [$zset getWAIS $no headline]] "<br>\n"
+ html {<dd>} [join [$zset getWAIS $no headline]]
}
- html {Score: } [$zset getWAIS $no score] "<br>\n"
+ html {<dt><b>Score</b><dd>} [$zset getWAIS $no score]
set lines [$zset getWAIS $no lines]
if {$lines > 0} {
- html {Lines: } $lines "<br>\n"
+ html {<dt><b>Lines</b><dd>} $lines "<br>\n"
}
if {!$nwi} {
- html "<pre>\n" [join [$zset getWAIS $no text]] "\n</pre>\n"
+ html "</dl><pre>\n" [join [$zset getWAIS $no text]] "\n</pre>\n"
return
}
if {[info exists data(bytes)]} {
- html {Bytes: } $data(bytes) "<br>\n"
+ html {<dt><b>Bytes</b><dd>} $data(bytes)
}
if {[info exists data(dateOfLastModification)]} {
- html {Last modified: } $data(dateOfLastModification) "<br>\n"
+ html {<dt><b>Last modified</b><dd>} $data(dateOfLastModification)
}
if {[info exists data(lastChecked)]} {
- html {Last checked: } $data(lastChecked) "<br>\n"
+ html {<dt><b>Last checked</b><dd>} $data(lastChecked) "<br>\n"
}
if {[info exists data(ip)]} {
- html {<dl><dt>Initial text<dd>} $data(ip) "</dl><br>\n"
+ html {<dt><b>Initial text</b><dd>} $data(ip) "</dl><br>\n"
}
-
- html {<a href="} $env(SCRIPT_NAME) / $sessionId {/sameas.egw/}
- html $setNo + $targetNo + 1 + $hist($setNo,maxPresent) +
- html [egw_enc [$zset getWAIS $no documentID]] {">}
- html {Similar WAIS record</a><br>}
- html "<dl><dt>References\n<dd>\n"
+ if {0} {
+ html {<a href="} $env(SCRIPT_NAME) / $sessionId {/sameas.egw/}
+ html $setNo + $targetNo + 1 + $hist($setNo,maxPresent) +
+ html [egw_enc [$zset getWAIS $no documentID]] {">}
+ html {Similar WAIS record</a><br>}
+ }
+ html "<dt><b>References</b>\n"
for {set i 1} {[info exists data($i,linkage)]} {incr i} {
- html {<a href="} $data($i,linkage) {">}
+ html {<dd><a href="} $data($i,linkage) {">}
if {[info exists data($i,title)]} {
html $data($i,title)
} else {
set q {}
for {set i 1} {$i <= $ilines} {incr i} {
set term [join [egw_form entry$i]]
+ if {[string length $term] == 0} continue
if {![string compare [lindex $targets($t) 1] WAIS]} {
- if {[string length $op] == 0} {
+ if {[string length $q] == 0} {
set q $term
} else {
set q "$term $q"
}
set op [egw_form logic$i]
continue
- }
- if {[string length $term] > 0} {
+ } else {
set field [join [egw_form menu$i]]
catch {unset attr}
foreach x [lindex $targets($t) 2] {
set attr [lindex [lindex [lindex $targets($t) 2] 0] 1]
}
switch $op {
- And
+ And
{ set q "@and $q ${attr} \"${term}\"" }
- Or
+ Or
{ set q "@or $q ${attr} \"${term}\"" }
- {And not}
+ {And not}
{ set q "@not $q ${attr} \"${term}\"" }
- {}
+ {}
{ set q "${attr} \"${term}\"" }
}
set op [egw_form logic$i]
global targets
global env
global sessionId
+ global scriptQuery
set zz z39$tno
set zs $zz.s$scanNo.$setNo
if {0} {
regsub -all {\ } [lindex [$zs scanLine $i] 1] + tterm
html {<a href="http:} $env(SCRIPT_NAME)
- html / $sessionId {/query.egw/} $hist($setNo,host) + $setNo +
+ html / $sessionId / $scriptQuery / $setNo + $hist($setNo,host) +
html $hist($setNo,scan) + $tterm {">}
} else {
regsub -all {\ } [lindex [$zs scanLine $i] 1] + tterm
set zz z39$targetNo
html "<p>\n"
- button-europagate
+ button-main
if {$setMax > 0 && $setMax < [$zz.$setNo resultCount]} {
+ if {!$useIcons} {
+ html "\n | "
+ }
html {<a href="http:} $env(SCRIPT_NAME)
html / $sessionId {/search.egw/} $setNo + $targetNo +
html [expr $setMax + 1] + [expr $setMax + $hist($setNo,maxPresent)]
if {$useIcons} {
- html {"><img src="/egwgif/button-next-records.gif" alt="Next Records"}
- html { border=0></a>}
+ html {"><img src="/egwgif/button-next-records.gif" }
+ html {alt="Next Records" border=0></a>}
} else {
- html {">Next Records</a>} " | \n"
+ html {">Next Records</a>}
}
}
if {$setMax > 0 && $startPos != "" && $startPos != "1"} {
+ if {!$useIcons} {
+ html "\n | "
+ }
html {<a href="http:} $env(SCRIPT_NAME)
html / $sessionId {/search.egw/} $setNo + $targetNo
html + [expr $startPos - $hist($setNo,maxPresent)]
html {"><img src="/egwgif/button-previous-records.gif" }
html {alt="Previous Records" border=0></a>}
} else {
- html {">Previous Records</a>} " | \n"
+ html {">Previous Records</a>}
}
}
button-new-query 1 $setNo
global sessionId
global targets
global html3
+ global scriptQuery
set targetNo 0
if {![info exists nextSetNo]} {
html "<dd>\n"
}
html { <a href="http:} $env(SCRIPT_NAME)
- html / $sessionId {/query.egw/} $host + $setNo
+ html / $sessionId / $scriptQuery / $setNo + $host
if {$html3} {
html {">}
} else {
html "<p><center>\n"
html {<img src="/egwgif/noway.gif" alt="Error">}
html "<h2>" $msga "</h2>\n"
- if {$msgb != ""} {
+ if {[string length $msgb] > 0} {
html "<h3>" $msgb "</h3>\n"
}
html "</center><p>\n"
}
-proc button-europagate {} {
+proc button-main {} {
global useIcons
html {<a href="http://europagate.dtv.dk/">}
if {$useIcons} {
html {<img src="/egwgif/button-egw.gif" alt="Europagate" border=0></a>}
} else {
- html {Europagate</a> | }
+ html {Europagate</a>}
}
}
global env
global sessionId
+ if {!$useIcons} {
+ html "\n | "
+ }
html {<a href="http:} $env(SCRIPT_NAME)
html / $sessionId {/tform.egw}
if {$useIcons} {
html {alt="Define Target" border=0></a>}
} else {
html {">Define Target</a>}
- if {$more} {
- html " | \n"
- } else {
- html "\n"
- }
}
}
global env
global sessionId
global mMode
+ global scriptTarget
- html {<a href="http:} $env(SCRIPT_NAME)
- html / $sessionId
- if {$mMode} {
- html {/mtargets.egw}
- } else {
- html {/targets.egw}
+ if {[string length $scriptTarget] == 0} return
+
+ if {!$useIcons} {
+ html "\n | "
}
+ html {<a href="http:} $env(SCRIPT_NAME)
+ html / $sessionId / $scriptTarget
if {$useIcons} {
html {"><img src="/egwgif/button-new-target.gif" }
html {alt="New Target" border=0></a>}
} else {
html {">New Target</a>}
- if {$more} {
- html " | \n"
- } else {
- html "\n"
- }
}
}
global sessionId
global nextSetNo
+ if {!$useIcons} {
+ html "\n | "
+ }
html {<a href="http:} $env(SCRIPT_NAME)
html / $sessionId {/history.egw;}
catch { html "/" $nextSetNo}
html {border=0></a>}
} else {
html {">View History</a>}
- if {$more} {
- html " | \n"
- } else {
- html "\n"
- }
}
}
global sessionId
global hist
global mMode
+ global scriptQuery
- html {<a href="http:} $env(SCRIPT_NAME)
- html / $sessionId
- if {$mMode} {
- html {/mquery.egw/} $setNo
- } else {
- html {/query.egw/} $hist($setNo,0,host) + $setNo
+ if {!$useIcons} {
+ html "\n | "
}
- html {">}
+ html {<a href="http:} $env(SCRIPT_NAME)
+ html / $sessionId / $scriptQuery / $setNo + $hist($setNo,0,host) {">}
+
if {$useIcons} {
html {<img src="/egwgif/button-new-query.gif" }
html {alt="New Query" border=0></a>}
} else {
html {New Query</a>}
- if {$more} {
- html " | \n"
- } else {
- html "\n"
- }
}
}
global sessionId
global hist
+ if {!$useIcons} {
+ html "\n | "
+ }
set targetNo 0
html {<a href="http:} $env(SCRIPT_NAME)
html / $sessionId {/search.egw/} $setNo + $targetNo + {scan} {">}
html {alt="Scan" border=0></a>}
} else {
html {Scan</a>}
- if {$more} {
- html " | \n"
- } else {
- html "\n"
- }
}
}
}
proc mergeHostSpec {host databases} {
- return ${host}.[join $databases -]
+ return ${host}/[join $databases -]
}
proc mkAssoc {assoc host} {
ir $assoc
}
}
+}
+
+if {[info exists utilExtension]} {
+ source $utilExtension
}
\ No newline at end of file
-# $Id: ztargets.conf,v 1.29 1996/03/11 17:40:49 adam Exp $
+# $Id: ztargets.conf,v 1.30 1996/03/12 16:30:30 adam Exp $
#
# This file contains the predefined targets in the WWW-Z39.50 gateway
# Each target is an entry in the associative array "targets". The
1
}
+
+set targets(nwi.ub2.lu.se/new_nor_lib) {
+ NWI-Norway
+ WAIS
+ { { Ranked {@attr 1=4} } }
+ {}
+ {Nordic Web Index - Norway}
+ 1
+}
+
set targets(netsrv.casi.sti.nasa.gov:10210/GILS) {
NASA
WAIS
1
}
-
-set targets(nwi.ub2.lu.se/new_nor_lib) {
- NWI-Norway
+set targets(localhost:9999/test) {
+ localwais
WAIS
{ { Ranked {@attr 1=4} } }
{}
- {Nordic Web Index - Norway}
+ {Localhost test base}
1
}
+
set targets(z3950.research.att.com/z39dbs) {
Z39DB
SUTRS