A first cut at searching the web pages (including FAQ and handbook).
This commit is contained in:
parent
b5100e1602
commit
c0feec673c
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=627
6 changed files with 56 additions and 10 deletions
|
|
@ -237,7 +237,11 @@ sub docdone {
|
|||
} else {
|
||||
$headline = &htmlescape($headline);
|
||||
$headline =~ s/\\"/\"/g;
|
||||
print "<li><A HREF=\"${myurl}?$ENV{'QUERY_STRING'}&docnum=$hits\">$headline</A>\n";
|
||||
if ($file eq "www") {
|
||||
print "<li><a href=\"$headline\">$headline</a>\n";
|
||||
} else {
|
||||
print "<li><A HREF=\"${myurl}?$ENV{'QUERY_STRING'}&docnum=$hits\">$headline</A>\n";
|
||||
}
|
||||
print "<br>";
|
||||
# print "<input type=\"checkbox\" name=\"rf\" value=\"$docnum\">";
|
||||
print "Score: <em>$score</em>; ";
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
<h2 align="center">
|
||||
<a href="gallery.html">The FreeBSD Gallery</a></h2>
|
||||
<h2 align="center">
|
||||
<a href="search.html">Search Mailing List Archives...</a></h2>
|
||||
<a href="search.html">Search...</a></h2>
|
||||
<img src="gifs/littlelogo.gif" alt="" align="left">
|
||||
<h4 align="left">
|
||||
<a href="index-site.html">Quick Index</a></h4>
|
||||
|
|
@ -83,7 +83,7 @@ Select a server near you:<br>
|
|||
<address>
|
||||
Copyright © 1995, 1996 FreeBSD Inc. All rights reserved.<br>
|
||||
<a href="mailto.html">www@freebsd.org</a><br>
|
||||
$Date: 1996-10-24 21:42:21 $
|
||||
$Date: 1996-10-28 18:50:45 $
|
||||
</address>
|
||||
</td>
|
||||
<td align=center>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,32 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN" [
|
||||
<!ENTITY date "$Date: 1996-09-28 23:20:32 $">
|
||||
<!ENTITY date "$Date: 1996-10-28 18:50:46 $">
|
||||
<!ENTITY title "FreeBSD Search">
|
||||
<!ENTITY % includes SYSTEM "includes.sgml"> %includes;
|
||||
]>
|
||||
<html>
|
||||
&header;
|
||||
|
||||
<h2>FreeBSD Mailing List Archives</h2>
|
||||
<h2>Web pages (including <a href="&base/FAQ/FAQ.html">FAQ</a>
|
||||
and <a href="&base/handbook/handbook.html">Handbook</a>)</h2>
|
||||
|
||||
<form action="http://www.freebsd.org/cgi/search.cgi" method="GET">
|
||||
<h3>Search for:</h3>
|
||||
|
||||
<p><em>Note: Use the operators AND or NOT to limit your search. <a
|
||||
href="searchhints.html">Look here for more hints</a>.</em></p>
|
||||
|
||||
<p><input type="text" name="words" size="50">
|
||||
<input type="submit">
|
||||
<input type="hidden" name="source" value="www"></p>
|
||||
|
||||
<p>Limit the number of results to <input type="text" name="max"
|
||||
value="25" size="5"></p>
|
||||
|
||||
</form>
|
||||
|
||||
<hr noshade>
|
||||
|
||||
<h2>Mailing list archives</h2>
|
||||
<form action="http://www.freebsd.org/cgi/search.cgi" method="GET">
|
||||
|
||||
<h3>Search for:</h3>
|
||||
|
|
|
|||
|
|
@ -237,7 +237,11 @@ sub docdone {
|
|||
} else {
|
||||
$headline = &htmlescape($headline);
|
||||
$headline =~ s/\\"/\"/g;
|
||||
print "<li><A HREF=\"${myurl}?$ENV{'QUERY_STRING'}&docnum=$hits\">$headline</A>\n";
|
||||
if ($file eq "www") {
|
||||
print "<li><a href=\"$headline\">$headline</a>\n";
|
||||
} else {
|
||||
print "<li><A HREF=\"${myurl}?$ENV{'QUERY_STRING'}&docnum=$hits\">$headline</A>\n";
|
||||
}
|
||||
print "<br>";
|
||||
# print "<input type=\"checkbox\" name=\"rf\" value=\"$docnum\">";
|
||||
print "Score: <em>$score</em>; ";
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
<h2 align="center">
|
||||
<a href="gallery.html">The FreeBSD Gallery</a></h2>
|
||||
<h2 align="center">
|
||||
<a href="search.html">Search Mailing List Archives...</a></h2>
|
||||
<a href="search.html">Search...</a></h2>
|
||||
<img src="gifs/littlelogo.gif" alt="" align="left">
|
||||
<h4 align="left">
|
||||
<a href="index-site.html">Quick Index</a></h4>
|
||||
|
|
@ -83,7 +83,7 @@ Select a server near you:<br>
|
|||
<address>
|
||||
Copyright © 1995, 1996 FreeBSD Inc. All rights reserved.<br>
|
||||
<a href="mailto.html">www@freebsd.org</a><br>
|
||||
$Date: 1996-10-24 21:42:21 $
|
||||
$Date: 1996-10-28 18:50:45 $
|
||||
</address>
|
||||
</td>
|
||||
<td align=center>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,32 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN" [
|
||||
<!ENTITY date "$Date: 1996-09-28 23:20:32 $">
|
||||
<!ENTITY date "$Date: 1996-10-28 18:50:46 $">
|
||||
<!ENTITY title "FreeBSD Search">
|
||||
<!ENTITY % includes SYSTEM "includes.sgml"> %includes;
|
||||
]>
|
||||
<html>
|
||||
&header;
|
||||
|
||||
<h2>FreeBSD Mailing List Archives</h2>
|
||||
<h2>Web pages (including <a href="&base/FAQ/FAQ.html">FAQ</a>
|
||||
and <a href="&base/handbook/handbook.html">Handbook</a>)</h2>
|
||||
|
||||
<form action="http://www.freebsd.org/cgi/search.cgi" method="GET">
|
||||
<h3>Search for:</h3>
|
||||
|
||||
<p><em>Note: Use the operators AND or NOT to limit your search. <a
|
||||
href="searchhints.html">Look here for more hints</a>.</em></p>
|
||||
|
||||
<p><input type="text" name="words" size="50">
|
||||
<input type="submit">
|
||||
<input type="hidden" name="source" value="www"></p>
|
||||
|
||||
<p>Limit the number of results to <input type="text" name="max"
|
||||
value="25" size="5"></p>
|
||||
|
||||
</form>
|
||||
|
||||
<hr noshade>
|
||||
|
||||
<h2>Mailing list archives</h2>
|
||||
<form action="http://www.freebsd.org/cgi/search.cgi" method="GET">
|
||||
|
||||
<h3>Search for:</h3>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue