Scheme 2. Output template definitions for ChemDig. (a) Header, (b) Body, (c) Footer
(a) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ChemDig Search results for '$(WORDS)'</title>
<link rel="stylesheet" type="text/css" href="http://www.ch.ic.ac.uk/stylesheets/chemdig.css" />
</head>
<body>
<h2>ChemDig Search results for '$(LOGICAL_WORDS)'</h2>
<hr noshade="noshade" size="1" />
<b>Documents $(FIRSTDISPLAYED) - $(LASTDISPLAYED) of $(MATCHES) matches.
More <img src="/htdig/new/star.gif" alt="*" />'s indicate a better
match.</b>
<hr noshade="noshade" size="1" />
<!-- LIST -->
(b) <dl>
<!-- The below is to make Sherlock Work-->
<!-- ITEM -->
<dt>
<strong><a href="$(URL)">$(TITLE)</a></strong>$(STARSLEFT)<!-- SCORE -->$(PERCENT)<!-- /SCORE -->
</dt>
<dd>
$(EXCERPT)<br>
<i><a href="$(URL)">$(URL)</a></i>
<font size=-1>$(MODIFIED), $(SIZE) bytes</font>
$(DESCRIPTIONS)
</dd><!-- /ITEM --></dl>
(c) <!-- /LIST -->
<p>$(PAGEHEADER) $(PREVPAGE) $(PAGELIST) $(NEXTPAGE) </p>
<hr>
<h1>Repeat Search with other Databases</h1>
<table border="1">
<tr><td>
<a href="http://pdb-browsers.ebi.ac.uk/pdb-bin/pdbids?ds=ly1+ly2+ndb&ex=xrd+or+nmr+or+mod&tx=$(WORDS)">
<b>Brookhaven Protein Databank</b></a></td>
<td>
<a href="http://webbook.nist.gov/cgi/cbook.cgi?Name=$(WORDS)&Units=SI"><b>NIST Chemistry WebBook</b></a></td>
<td >
<form action="http://chemfinder.camsoft.com/cgi-win/cfserver.exe" METHOD="post" TARGET="chemfinder">
<input type="hidden" name="name" value="$(WORDS)">
<input type="submit" value="ChemFinder">
</form>
</td></tr>
</table>
</body>
</html>