svn commit: r45919 - head/share/xml

Gavin Atkinson <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: gavin
Date: Tue Nov  4 04:40:14 2014
New Revision: 45919
URL: https://svnweb.freebsd.org/changeset/doc/45919

Log:
  Switch the default search engine on www.FreeBSD.org to use DuchDuckGo
  rather than our own (poor) search.cgi.  Provide results from www, lists,
  wiki and forums.FreeBSD.org.
  
  Discussed with:	peter, gjb
  Approved by:	doceng (gjb), core (emaste)

Modified:
  head/share/xml/header.ent

Modified: head/share/xml/header.ent
==============================================================================
--- head/share/xml/header.ent	Tue Nov  4 04:15:49 2014	(r45918)
+++ head/share/xml/header.ent	Tue Nov  4 04:40:14 2014	(r45919)
@@ -64,21 +64,19 @@
 
 <!ENTITY header2.searchbox '
   <div id="search" xmlns="http://www.w3.org/1999/xhtml">
-    <form action="&cgibase;/search.cgi" method="get">
-      <div>
-        <h2 class="blockhide"><label for="words">&header2.word.search;</label></h2>
-
-	<div>
-            <input type="hidden" name="max" value="25" />
-            <input type="hidden" name="source" value="www" />
-            <input id="words" name="words" type="text" size="20"
-                   maxlength="255"
-                   onfocus="if( this.value==this.defaultValue ) this.value=&#39;&#39;;"
-                   value="&header2.word.search;" /><![CDATA[ ]]>
-	    <span>&nbsp;</span>
-            <input id="submit" name="submit" type="submit" value="&header2.word.search;" />
-	</div>
-      </div>
+    <form method="get" id="search" action="http://duckduckgo.com/">
+      <h2 class="blockhide"><label for="words">&header2.word.search;</label></h2>
+      <input type="hidden" name="sites" value="www.FreeBSD.org,lists.FreeBSD.org,wiki.FreeBSD.org,forums.FreeBSD.org" />
+      <input type="hidden" name="ka" value="v" />
+      <input type="hidden" name="kt" value="v" />
+      <input type="hidden" name="kh" value="1" />
+      <input type="hidden" name="kj" value="r2" />
+      <input id="words" name="q" type="text" size="20"
+        maxlength="255"
+        onfocus="if( this.value==this.defaultValue ) this.value=&#39;&#39;;"
+        value="&header2.word.search;" />
+      <span>&nbsp;</span>
+      <input id="submit" name="submit" type="submit" value="&header2.word.search;" />
     </form>
   </div> <!-- SEARCH -->
 '>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.