in reply to Searching within my site

And then there is the tried and true, "Ask Google to index it and then use Google's search." It always amazes me how many sites put energy into implementing searching software that would be better implemented that way.

Replies are listed 'Best First'.
•Re^2: Searching within my site
by merlyn (Sage) on Oct 25, 2004 at 21:54 UTC
    Precisely. Google visits my newly minted pages within two days, and that's good enough for me. So I have the following at the bottom of my pages:
    <form action="http://www.google.com/search" method=GET> <INPUT TYPE=hidden name=site value=swr> <INPUT TYPE=hidden name=q value="site:stonehenge.com"> <INPUT TYPE=text name=as_q size=31 maxlength=256 value=""> <INPUT TYPE=submit name=btnG VALUE="Search stonehenge.com with Google" +> </form>
    Just change stonehenge.com to yoursite.example.com and you're off and running! I got the values from looking at the current search pages, so it may break in the future, but so far, it's working fine.

    -- Randal L. Schwartz, Perl hacker
    Be sure to read my standard disclaimer if this is a reply.