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

  1. <search function="ubs">
  2.   <name>Used Books Search</name>
  3.   <category>Shopping</category>
  4.   <contributor>John W. Bairen, Jr.</contributor>
  5.   <link>http://www.used-books.org.uk/cgi/books.cgi</link>
  6.   <email>john_at_bairen_dot_net</email>
  7.   <description>
  8.   Search for used books.  Over 45 million used books available worldwidw.
  9.     <div class="helpboxDescLabels">Switches:</div>
  10.     <table class="helpboxDescTable">
  11.       <tr><td>/author</td><td> - </td><td></td></tr>
  12.       <tr><td>/title</td><td> - </td><td></td></tr>
  13.       <tr><td>/keywords</td><td> - </td><td></td></tr>
  14.     </table>
  15.     <div class="helpboxDescLabels">Examples:</div>
  16.     <table class="helpboxDescTable">
  17.       <tr><td></td></tr>
  18.       <tr><td></td></tr>
  19.     </table>
  20.   </description>
  21.   <form name="ubsf"
  22.         method="post"
  23.         action="http://www.used-books.org.uk/cgi/books.cgi">
  24.     <input type="hidden" name="action" value="Search" />
  25.     <input type="hidden" name="country" value="Worldwide" />
  26.     
  27.     <input type="hidden" name="author" value="" />
  28.     <input type="hidden" name="title" value="" />
  29.     <input type="hidden" name="keywords" value="" />
  30.     
  31.     <input type="hidden" name="0" value="-1" />
  32.     <input type="hidden" name="1" value="-1" />
  33.     <input type="hidden" name="2" value="-1" />
  34.     <input type="hidden" name="3" value="-1" />
  35.     <input type="hidden" name="4" value="-1" />
  36.     <input type="hidden" name="5" value="-1" />
  37.     <input type="hidden" name="6" value="-1" />
  38.     <input type="hidden" name="7" value="-1" />
  39.     <input type="hidden" name="8" value="-1" />
  40.     <input type="hidden" name="9" value="-1" />
  41.     <input type="hidden" name="10" value="-1" />
  42.     <input type="hidden" name="11" value="-1" />
  43.     <input type="hidden" name="12" value="-1" />
  44.     <input type="hidden" name="13" value="-1" />
  45.   </form>
  46.   <script><![CDATA[
  47.     function ubs(q)
  48.     {
  49.       if( nullArgs("ubs", q) )
  50.         return;
  51.  
  52.       var args = parseArgs(q, "author, title, keywords");
  53.       if ( args.switches.length > 0 )
  54.       {
  55.         switch( args.switches[0].name )
  56.         {
  57.           case "author":
  58.             document.ubsf.author.value = q;
  59.             break;
  60.           case "title":
  61.             document.ubsf.title.value = q;
  62.             break;
  63.           case "keywords":
  64.             document.ubsf.keywords.value = q;
  65.             break;
  66.           default:
  67.             document.ubsf.keywords.value = q;
  68.             break;
  69.         }
  70.       }
  71.  
  72.       else
  73.       {
  74.       document.ubsf.keywords.value = q;
  75.       }
  76.       
  77.       submitForm(ubsf);
  78.     }
  79.   ]]></script>
  80.   <copyright>
  81.     The following applies if this file is included and distributed with Dave's Quick Search Deskbar:
  82.     Copyright (c) 2002 David Bau; Distributed under the terms of the GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  83.   </copyright>
  84.   <created_by>
  85.     This search file was initially created on 03/01/03 at 10:40:43
  86.     by Dave's Quick Search Deskbar Search Wizard version 1.0.1 ,
  87.     Copyright (c) 2002 Glenn Carr; Distributed under the terms of the GNU General Public License, Version 2
  88.   </created_by>
  89. </search>