3 # $Id: tform.egw,v 1.6 1996/03/14 11:50:50 adam Exp $
5 if {[info commands saveState] == ""} {
7 if {![info exists debug]} {
12 html {<head><title>WWW/Z39.50 Gateway Target Definition</title>}
19 html "<h2>Target definition form</h2><br>\n"
20 html {<form action="http:} $env(SCRIPT_NAME)
21 html / $sessionId {/tdefine.egw} {" method=post>} \n
24 html "\n<dt>Target name\n"
25 html {<dd><input type="text" size=20 maxlength=20 name="name">}
26 html "\n<br><font size=2>This name serves as a short nickname of "
27 html "the target</font>"
29 html "\n<dt>Description\n"
30 html {<dd><textarea rows=3 cols=55 name="description"></textarea>}
31 html "\n<br><font size=2>A description of the server and what data "
32 html "it provides.</font>"
34 html "\n<dt>Host and port\n"
35 html {<dd><input type="text" size=55 name="host">}
36 html "\n<br><font size=2>For example myhost.com:210</font>"
38 html "\n<dt>Authentication\n"
39 html {<dd><input type="text" size=55 name="authentication">}
40 html "\n<br><font size=2>Some targets require authentication strings, "
41 html "i.e. passwords. Leave this field empty if no authentication "
42 html "string is required.</font>"
44 html "\n<dt>Record type:\n"
45 html {<dd><select name="recordtype">}
46 html {<option> USmarc} \n
47 html {<option> WAIS} \n
48 html {<option> SUTRS} \n
49 html {<option> UNImarc} \n
50 html {<option> UKmarc} \n
51 html {<option> Danmarc} \n
52 html {<option> Normarc} \n
53 html {<option> Librismarc} \n
55 html "\n<br><font size=2>Select WAIS for a WAIS server. The "
56 html "other formats apply to Z39.50 servers</font>"
58 html "\n<dt>Databases\n"
59 html {<dd><textarea rows=3 cols=55 name="databases"></textarea>}
60 html "\n<br><font size=2>Separate each database by blanks</font>"
62 html "\n<dt>Search fields\n"
63 html {<dd><textarea rows=8 cols=55 name="fields">}
65 html "Author 1=1003\n"
66 html "Abstract 1=62\n"
68 html "Doc Id 1=1032\n"
70 html "Ranked 1=1016 4=105\n"
72 html "\n<br><font size=2>"
73 html {Specify search fields, such as Title/Author,ISBN, etc. and }
74 html {their mappings to the Bib-1 attribute for this target.}
75 html { Note: If you don't know how to set these - leave them untouched!}
78 html {<input type=submit name=submit value="Submit">}
79 html {<input type=reset value="Reset">}