Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 1997 22:56:13 -0500 (EST)
From:      Bill Lloyd <wlloyd@plato.mpd.ca>
To:        jkh@freebsd.org
Subject:   www search page  
Message-ID:  <199702070356.WAA01034@plato.mpd.ca>
Resent-Message-ID: <10206.855289575@time.cdrom.com>

next in thread | raw e-mail | index | archive | help

I'm sending this to you, as untested code doesn't really go in send-pr
right?  Is www to be sent through gnats as well?
 
Combined the www search and regular mailing list into one form and
ordered into three categories.

I tried to test the sgml, but I can't seem to get it to work under
2.1.5. It might be that my sgml is garbage...

Viewed as an html document it lacks all the graphics, header
etc. but seems to work.  The search stuff works fine.

I think this would be better in search.cgi. Could be set to overlay a
default template for the mailing list selection, based on a couple of
simple categories.  With a browser cookie it would be nifty to "save" a user
default template.  

-bill


*** /tmp/search.sgml	Tue Feb  4 00:06:49 1997
--- /tmp/searchnew.html	Tue Feb  4 00:06:49 1997
***************
*** 1,32 ****
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN" [
! <!ENTITY date "$Date: 1996/11/15 15:14:28 $">
  <!ENTITY title "Search">
  <!ENTITY % includes SYSTEM "includes.sgml"> %includes;
  ]>
  <html>
  &header;
  
! <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>
--- 1,14 ----
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN" [
! <!ENTITY date "$Date: 1997/02/04 04:44:31 $">
  <!ENTITY title "Search">
  <!ENTITY % includes SYSTEM "includes.sgml"> %includes;
  ]>
+ <!-- $Id: searchnew.html,v 1.2 1997/02/04 04:44:31 wlloyd Exp $ -->
  <html>
  &header;
  
! <h2>Search FreeBSD Archives</h2>
  
      <form action="http://www.freebsd.org/cgi/search.cgi" method="GET">
  
        <h3>Search for:</h3>
***************
*** 35,58 ****
  	  search.  <a href="searchhints.html">Look here
  	  for more hints</a>.</em></p>
  
!       <p><input type="text" name="words" size="50"> <input type="submit"></p>
  
-       <h3>In archive(s):</h3>
- 
  <p><em>Note: Searching more than three or four archives at once may
  yield inaccurate results.</em></p>
  
  <p>
! <input type="checkbox" name="source" value="freebsd-questions" 
!        checked="checked"> 
! 	<b>Questions:</b> General questions<br>
! 
  <input type="checkbox" name="source" value="freebsd-announce"> 
  	<b>Announce:</b> Important events / milestones<br>
  
  <input type="checkbox" name="source" value="freebsd-bugs"> 
  	<b>Bugs:</b> Reports and discussion of bugs<br>
  
  <input type="checkbox" name="source" value="freebsd-chat"> 
  	<b>Chat:</b> Random topics (sometimes) related to FreeBSD<br>
  
--- 17,68 ----
  	  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="reset"></p>
!       <p>Limit the number of results to <input type="text"
! 	  name="max" value="25" size="5"></p>
  
  <p><em>Note: Searching more than three or four archives at once may
  yield inaccurate results.</em></p>
  
  <p>
! <h2>Basic Archives</h2>
  <input type="checkbox" name="source" value="freebsd-announce"> 
  	<b>Announce:</b> Important events / milestones<br>
  
+ <input type="checkbox" name="source" value="freebsd-install"> 
+ 	<b>Install:</b> Discussions concerning the installation
+ 	process<br>
+ 
+ <input type="checkbox" name="source" value="freebsd-questions"> 
+ 	<b>Questions:</b> General questions<br>
+ 
+ <input type="checkbox" name="source" value="www" checked="checked"> 
+ 	<b>WWW:</b> Search WWW pages, 
+               <a href="&base/handbook/handbook.html">Handbook</a>,
+ 	      <a href="&base/FAQ/FAQ.html">FAQ</a>, and
+ 	      <a href="&base/tutorials/index.html">Tutorials</a>.<br>
+ 
+ <h2>System Administration</h2>
+ 
  <input type="checkbox" name="source" value="freebsd-bugs"> 
  	<b>Bugs:</b> Reports and discussion of bugs<br>
  
+ <input type="checkbox" name="source" value="freebsd-hardware"> 
+ 	<b>Hardware:</b> Discussions concerning hardware as it
+ 	 relates to FreeBSD<br>
+ 
+ <input type="checkbox" name="source" value="freebsd-isp"> 
+ 	<b>ISP:</b> Discussions for ISPs using FreeBSD<br>
+ 
+ <input type="checkbox" name="source" value="freebsd-mobile"> 
+ 	<b>Mobile:</b> Using FreeBSD in a mobile environment<br>
+ 
+ <input type="checkbox" name="source" value="freebsd-stable"> 
+ 	<b>Stable:</b> Discussion of the FreeBSD-stable branch
+          of the development tree.<br>
+ 
+ <h2>Developer</h2>
  <input type="checkbox" name="source" value="freebsd-chat"> 
  	<b>Chat:</b> Random topics (sometimes) related to FreeBSD<br>
  
***************
*** 75,94 ****
  <input type="checkbox" name="source" value="freebsd-hackers"> 
  	<b>Hackers:</b> Technical discussions and suggestions<br>
  
- <input type="checkbox" name="source" value="freebsd-hardware"> 
- 	<b>Hardware:</b> Discussions concerning hardware as it
- 	 relates to FreeBSD<br>
- 
- <input type="checkbox" name="source" value="freebsd-install"> 
- 	<b>Install:</b> Discussions concerning the installation
- 	process<br>
- 
- <input type="checkbox" name="source" value="freebsd-isp"> 
- 	<b>ISP:</b> Discussions for ISPs using FreeBSD<br>
- 
- <input type="checkbox" name="source" value="freebsd-mobile"> 
- 	<b>Mobile:</b> Using FreeBSD in a mobile environment<br>
- 
  <input type="checkbox" name="source" value="freebsd-multimedia"> 
  	<b>Multimedia:</b> Discussions about FreeBSD as a
  	multimedia platform<br>
--- 85,90 ----
***************
*** 110,129 ****
  <input type="checkbox" name="source" value="freebsd-smp"> 
  	<b>SMP:</b> FreeBSD on multi-processor platforms<br>
  
- <input type="checkbox" name="source" value="freebsd-stable"> 
- 	<b>Stable:</b> Discussion of the FreeBSD-stable branch
-          of the development tree.<br>
- 
  <input type="checkbox" name="source" value="freebsd-user-groups"> 
  	<b>User-Groups:</b> A forum for FreeBSD user groups</p>
  
-       <p>Limit the number of results to <input type="text"
- 	  name="max" value="25" size="5"></p>
- 
        <p><input type="submit"> <input type="reset"></p>
  
      </form>
! 
  &footer;
  </body>
  </html>
--- 106,120 ----
  <input type="checkbox" name="source" value="freebsd-smp"> 
  	<b>SMP:</b> FreeBSD on multi-processor platforms<br>
  
  <input type="checkbox" name="source" value="freebsd-user-groups"> 
  	<b>User-Groups:</b> A forum for FreeBSD user groups</p>
  
        <p><input type="submit"> <input type="reset"></p>
  
      </form>
! <p>
! The handbook contains a section on the <a href="&base/handbook/handbook:eresources.html">Mailing Lists</a>.
! <p>
  &footer;
  </body>
  </html>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702070356.WAA01034>