Previous Next Contents

4. Configuring Zap!

Zap! is highly configurable, and requires some minimal level of understanding about the Z39.50 protocol record syntaxes to be fully utilized. Fortunately, it has intelligent defaults, so one can start out simply.

4.1 A Simple Test

Here is the HTML for a basic search form

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
  <head>
    <title>ZAP! Simple Search</title>
  </head>

  <body>
      <h1>ZAP! Simple Search</h1>
      <form action="http://ntiaunix2.ntia.doc.gov/cgi-bin/zap" method=get>
        <center>
          <input type="hidden" name="target" value="localhost:8888/Default">
          <input type="hidden" name="template" value="simple">
          <input type="text" name="entry1" size="50" value="utah">
          <input type="submit" value="submit"><br><br>
          <font size="2">
            Enter one or more words in no particular order. Do not
            use AND or NOT to groups words
          </font>
        </center>
      </form>
      <hr>
      <font size="2">
      <p>
        <font size="-2">
      <address><a href="mailto:info@indexdata.dk">Index Data</a></address>
    </font>
  </body>
</html>


Previous Next Contents