home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 November / Chip_2003-11_cd1.bin / software / dave / dqsd.exe / searches / httpd.xml < prev    next >
Encoding:
Text File  |  2002-10-30  |  1.4 KB  |  42 lines

  1. <search function="httpd">
  2.  
  3.   <name>What's This Site Running?</name>
  4.  
  5.   <category>Computers<category>Networking</category></category>
  6.  
  7.   <contributor>Thad Kerosky</contributor>
  8.  
  9.   <link>http://www.netcraft.com/</link>
  10.  
  11.   <email></email>
  12.  
  13.   <description>
  14.  
  15.   Check Netcraft's "Whats this site running?" HTTPD database for a specific web site to get information on a web server.
  16.  
  17.   </description>
  18.  
  19.   <form name="netcraftf"
  20.  
  21.         method="get"
  22.  
  23.         action="http://www.netcraft.com/">
  24.  
  25.     <input type="hidden" name="restriction" value="site contains" />
  26.  
  27.  
  28.  
  29.     <input type="hidden" name="host" value="" />
  30.  
  31.     <input type="hidden" name="position" value="limited" />
  32.  
  33.   </form>
  34.  
  35.   <script><![CDATA[
  36.  
  37.     function httpd(q)
  38.  
  39.     {
  40.  
  41.       if( nullArgs("httpd", q) )
  42.  
  43.         return;
  44.  
  45.  
  46.  
  47.       if( q == "" )
  48.  
  49.       {
  50.  
  51.         openSearchWindow("http://www.netcraft.com/");
  52.  
  53.         return;
  54.  
  55.       }
  56.  
  57.  
  58.  
  59.       // FORM variables for netcraftf
  60.  
  61.       //document.netcraftf.restriction.value = "";
  62.  
  63.  
  64.  
  65.       // The wizard assigned the search string to this form field value because
  66.  
  67.       // this field was the active element when the search file was generated.
  68.  
  69.       // Change this to args.q if the search string is parsed with parseArgs.
  70.  
  71.       document.netcraftf.host.value = q;
  72.  
  73.       //document.netcraftf.position.value = "";
  74.  
  75.  
  76.  
  77.       submitForm(netcraftf);
  78.  
  79.     }
  80.  
  81.   ]]></script>
  82.  
  83. </search>