%%override
target=default
target(default)=localhost:8888/thesaurus
syntax=grs1
%%def
syntax=grs1
map(id)=@attr 6=2 @attr thesaurus-attset 1=3000
map(type)=@attr thesaurus-attset 1=3001
map(name-phrase)=@attr 1=4 @attr 6=2
map(name-word)=@attr 1=4
debug=0
cache=0
%%begin
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<title>Thesaurus Browser</title>
</head>
<body bgcolor="#ffffee" text="#000000">
<a href="search?template=thesaurus&field1=type&entry1=tt">Go to Top Terms</a>. Read <a href="thesaurus-explanation.html">Explanation</a>.<br><br>
<form action="search" method=get>
<input type="hidden" name="template" value="thesaurus">
<center>
<input type="submit" value="Search:">
<input type="text" name="entry1" size=25>
Match <select name="field1">
<option value="name-word">words in terms</option>
<option value="name-phrase">complete terms</option>
</select>
</center>
</form>
%%end
<hr>
<font size=-2>
<address><a href="http://www.indexdata.dk/zap/">ZAP!</a></address>
</font>
</body>
</html>
%%query-empty
You specified an empty query. Go back and try again!<br>
%%server-error connection
<hr><h2>Couldn't connect to $target.</h2>
%%server-error protocol
<hr><h2>$target: Protocol error</h2>
%%server-error init
<hr><h2>$target: Connection rejected</h2>
%%server-error 114
<hr><dt><h2>$target: </h2><dd>You specified a field that this system does not recognise.<br><dt>
%%server-error
<hr><dt><h2>$target: Search error</h2><dd>$errorstring${addinfo?\: $addinfo} ($errorcode)<dt>
%%server-hits 0
<h2>The specified term was not found in the database.</h1>
%%server-hits 1
%%server-hits
<h2>$hits entried found.</h2>
%%record sutrs
<dt>
<b>Entry #$no:</b>
<dd>
<pre>
$record
</pre><br>
%%records begin
<ul>
%%records end
</ul>
%%record
<li>
%%format grs1
(2,1) "<b>${(4,16)}: $data${(4,14)? (${(4,14)}):}</b><br>"
(2,17) "<b>Scope note</b>: $data<br>"
(4,2) b:"<b>${(4,9)}</b>: <a href=\"search?template=thesaurus&field1=id&entry1=${(2,5)}\">${(2,1)}</a><br>"