New
authorMike Taylor <mike@indexdata.com>
Fri, 1 Dec 2006 16:51:32 +0000 (16:51 +0000)
committerMike Taylor <mike@indexdata.com>
Fri, 1 Dec 2006 16:51:32 +0000 (16:51 +0000)
web/htdocs/help.html [new file with mode: 0644]
web/htdocs/help/find.html [new file with mode: 0644]
web/htdocs/help/link.mc [new file with mode: 0644]

diff --git a/web/htdocs/help.html b/web/htdocs/help.html
new file mode 100644 (file)
index 0000000..d0ea596
--- /dev/null
@@ -0,0 +1,27 @@
+%# $Id: help.html,v 1.1 2006-12-01 16:51:32 mike Exp $
+<%args>
+$help
+</%args>
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html 
+     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+  <title>IRSpy help: <% $help %></title>
+  <style type="text/css">
+   body { background: #ffffc0; font-size: small }
+   ul.gappy li { margin-top: 1em }
+  </style>
+  <script type="text/JavaScript">
+   function sendOpener (relativeURI) {
+    /*alert(opener.document.location.host + relativeURI);*/
+    opener.document.location = relativeURI;
+   }
+  </script>
+ </head>
+ <body>
+  <h1>IRSpy help: <% $help %></h1>
+% $m->comp("/help/$help.html");
+ </body>
+</html>
diff --git a/web/htdocs/help/find.html b/web/htdocs/help/find.html
new file mode 100644 (file)
index 0000000..06fcce5
--- /dev/null
@@ -0,0 +1,31 @@
+  <p>
+   Fill in as many search critera as you like, then press the
+   <b>Search</b> button.
+  </p>
+  <p>
+   If you don't fill in any fields, all registered targets will be found.
+  </p>
+  <p>
+   Each search term that you enter is a CQL fragment.  This means:
+  </p>
+  <ul class="gappy">
+   <li>They can use boolean operators: for example, a title search
+       could be for
+       <a href="#" onclick="sendOpener(
+       '/find.html?dc.title=state+or+national&_search=Search'
+       )"><tt>state or national</tt></a>
+   </li>
+   <li>They can use the standard wildcard characters: <tt>?</tt> for
+       any single character and <tt>*</tt> for any run of zero or
+       more characters.  For example, a hostname search of
+       <a href="#" onclick="sendOpener(
+       '/find.html?net.host=*indexdata*&_search=Search'
+       )"><tt>*indexdata*</tt></a>
+       would find all services hosted on Index Data machines.
+   </li>
+  </ul>
+  <p>
+   For more detailed information, see
+   <a href="http://zing.z3950.org/cql/intro.html" target="_blank"
+       >the CQL tutorial</a>
+  </p>
diff --git a/web/htdocs/help/link.mc b/web/htdocs/help/link.mc
new file mode 100644 (file)
index 0000000..c615fc2
--- /dev/null
@@ -0,0 +1,9 @@
+%# $Id: link.mc,v 1.1 2006-12-01 16:51:33 mike Exp $
+<%args>
+$help
+</%args>
+      <a title="Pops up in a new window" href="#"
+       onclick="window.open('/help.html?help=<% $help %>', 'help',
+               'status=0,height=320,width=320')"
+       >[help]</a>
+%# It would be nice to make a little icon to use here instead of [help]