home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 November / Chip_2003-11_cd1.bin / software / dave / dqsd.exe / searches / abt.xml < prev    next >
Text File  |  2003-03-08  |  3KB  |  74 lines

  1. <search function="abt">
  2.   <name>About</name>
  3.   <category>Reference<category>General</category></category>
  4.   <contributor>John W. Bairen, Jr.</contributor>
  5.   <link>http://www.about.com</link>
  6.   <email>john_at_bairen_dot_net</email>
  7.   <description>
  8.   Search www.about.com.
  9.     <div class="helpboxDescLabels">Switches:</div>
  10.     <table class="helpboxDescTable">
  11.       <tr><td>/about</td><td> - </td><td>Search the About.com site.</td></tr>
  12.       <tr><td>/internet</td><td> - </td><td>Search the Internet.</td></tr>
  13.     </table>
  14.     <div class="helpboxDescLabels">Examples:</div>
  15.     <table class="helpboxDescTable">
  16.       <tr><td>abt Jupiter</td></tr>
  17.       <tr><td>abt Jupiter /internet</td></tr>
  18.     </table>
  19.   </description>
  20.   <form name="abtf"
  21.         method="get"
  22.         action="http://search.about.com/fullsearch.htm">
  23.     <input type="hidden" name="TopNode" value="/" />
  24.     <input type="hidden" name="zu" value="" />
  25.     <input type="hidden" name="zi" value="" />
  26.     <input type="hidden" name="terms" value="" />
  27.     <input type="hidden" name="type" value="0" />
  28.     
  29.   </form>
  30.   <script><![CDATA[
  31.     function abt(q)
  32.     {
  33.       if( nullArgs("abt", q) )
  34.         return;
  35.  
  36.       var args = parseArgs(q, "about, internet");
  37.       if ( args.switches.length > 0 )
  38.       {
  39.         switch( args.switches[0].name )
  40.         {
  41.           case "about":
  42.             document.abtf.TopNode.value = "%2F";
  43.             document.abtf.terms.value = args.q;
  44.             break;
  45.           case "internet":
  46.             document.abtf.TopNode.value = "N";
  47.             document.abtf.terms.value = args.q;
  48.             break;
  49.           default:
  50.             document.abtf.TopNode.value = "%2F";
  51.             document.abtf.terms.value = args.q;
  52.             break;
  53.         }
  54.       }
  55.  
  56.       else
  57.       {
  58.         document.abtf.TopNode.value = "%2F";
  59.         document.abtf.terms.value = q;
  60.       }
  61.  
  62.       submitForm(abtf);
  63.     }
  64.   ]]></script>
  65.   <copyright>
  66.     The following applies if this file is included and distributed with Dave's Quick Search Deskbar:
  67.     Copyright (c) 2002 David Bau; Distributed under the terms of the GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  68.   </copyright>
  69.   <created_by>
  70.     This search file was initially created on 03/08/03 at 11:28:53
  71.     by Dave's Quick Search Deskbar Search Wizard version 1.0.1 ,
  72.     Copyright (c) 2002 Glenn Carr; Distributed under the terms of the GNU General Public License, Version 2
  73.   </created_by>
  74. </search>