WAISGate support for WAIS 'HTML' doc type

Edward Vielmetti ([email protected])
Sun, 22 Mar 92 18:48:43 -0500


In WAISGate.c (part of the WAIS/WWW gateway in the Daemon distribution)
there's a little hunk of code that says basically

pick up the doctype of the document
if it's WSRC (a WAIS source),
it's an index description file,
parse the WSRC
else
it's a plain text document,
send it as a straight text file

It strikes me as a reasonable idea to extend this to put in another
case that says
if it's HTML
it's an HTML file,
send it with no extra parsing

If can agree that this is a reasonable thing to do, then I'll make
the necessary changes to "waisindex" to index up the html files I've
written to date and serve them up.

--
Edward Vielmetti, vice president for research, MSEN Inc. [email protected]
      MSEN Inc., 628 Brooks, Ann Arbor MI  48103 +1 313 741 1120
"Not to panic.  Networking will eventually get to Michigan.  Remember
 the decades it took IBM to discover virtual memory."  Randy Bush