| 1 |
<!-- |
| 2 |
-- script_name example using SSI |
| 3 |
-- This is the standard search page (no dynamic stuff), |
| 4 |
-- with two minor differences: The form uses the "get" |
| 5 |
-- method and the "action" sends the form input to the |
| 6 |
-- the dynamic results page. |
| 7 |
--> |
| 8 |
|
| 9 |
<html> |
| 10 |
<head> |
| 11 |
<title>ht://Dig WWW Search</title> |
| 12 |
</head> |
| 13 |
<body bgcolor="#eef7ff"> |
| 14 |
<h1> |
| 15 |
<a href="http://www.htdig.org"><IMG SRC="/htdig/htdig.gif" align=bottom alt="ht://Dig" border=0></a> |
| 16 |
WWW Site Search</H1> |
| 17 |
<hr noshade size=4> |
| 18 |
This search will allow you to search the contents of |
| 19 |
all the publicly available WWW documents at this site. |
| 20 |
<br> |
| 21 |
<p> |
| 22 |
<form method="get" action="/search/results.shtml"> |
| 23 |
<font size=-1> |
| 24 |
Match: <select name=method> |
| 25 |
<option value=and>All |
| 26 |
<option value=or>Any |
| 27 |
<option value=boolean>Boolean |
| 28 |
</select> |
| 29 |
Format: <select name=format> |
| 30 |
<option value=builtin-long>Long |
| 31 |
<option value=builtin-short>Short |
| 32 |
</select> |
| 33 |
Sort by: <select name=sort> |
| 34 |
<option value=score>Score |
| 35 |
<option value=time>Time |
| 36 |
<option value=title>Title |
| 37 |
<option value=revscore>Reverse Score |
| 38 |
<option value=revtime>Reverse Time |
| 39 |
<option value=revtitle>Reverse Title |
| 40 |
</select> |
| 41 |
</font> |
| 42 |
<input type=hidden name=config value="htdig-ssi"> |
| 43 |
<input type=hidden name=restrict value=""> |
| 44 |
<input type=hidden name=exclude value=""> |
| 45 |
<br> |
| 46 |
Search: |
| 47 |
<input type="text" size="30" name="words" value=""> |
| 48 |
<input type="submit" value="Search"> |
| 49 |
</form> |
| 50 |
<hr noshade size=4> |
| 51 |
</body> |
| 52 |
</html> |
| 53 |
|