Hi,

 

I’d like to submit a search that allows submitting a host address for lookup in Netcraft’s DB of hosts per OS and web servers. Hopefully it can be included in the upcoming release. If this gets mangled by the list, please let me know; I will resend as attachment.

 

The XML file is named nwtsr.xml:

 

<search function="nwtsr">

  <name>Netcraft What's That Site Running</name>

  <category>Computers</category>

  <contributor>David Resnick</contributor>

  <link>http://uptime.netcraft.com/</link>

  <email>[EMAIL PROTECTED]</email>

  <description>

  Displays operating system and web server for host.<br/>

    <div class="helpboxDescLabels">Example:</div>

    <table class="helpboxDescTable">

                          <tr><td>nwtsr sourceforge.net</td></tr>

            </table>

  </description>

  <form name="nwtsrf"

        method="get"

        action="">

    <!-- input type="hidden" value="" name="mode_u"/ -->

    <!-- input type="hidden" value="" name="mode_w"/ -->

    <input type="hidden" value="" name="site"/>

  </form>

  <script><![CDATA[

    function nwtsr(q)

    {

      if( nullArgs("nwtsr", q) )

        return false;

 

      if( q == "" )

      {

        openSearchWindow("http://uptime.netcraft.com/");

        return true;

      }

 

      // FORM variables for nwtsrf

//      document.nwtsrf.mode_u.value = "off";

//      document.nwtsrf.mode_w.value = "on";

      document.nwtsrf.site.value = q;

      submitForm(nwtsrf);

    }

  ]]></script>

</search>

 

David

 

Reply via email to