Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

•Re: make a web site searchable

by merlyn (Sage)
on Aug 20, 2003 at 19:05 UTC ( #285260=note: print w/replies, xml ) Need Help??

in reply to make a web site searchable

If you don't mind bouncing them out to Google and back to your site, you can add "search this site with Google" without any programming whatsoever. I added the following HTML to the template for the bottom of my pages:
<form action="" method=GET> <INPUT TYPE=hidden name=site value=swr> <INPUT TYPE=hidden name=q value=""> <INPUT TYPE=text name=as_q size=31 maxlength=256 value=""> <INPUT TYPE=submit name=btnG VALUE="Search with Google" +> </form>
Just replace the two occurrances of "" with your domain name, and be sure that Google is hitting your site regularly.

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

Replies are listed 'Best First'.
Re: •Re: make a web site searchable
by chunlou (Curate) on Aug 20, 2003 at 19:15 UTC
    I think it only works if your site has webpages have somehow been indexed by Google. Otherwise, nothing returns.
      If you don't want to wait for Google to find you, you can always submit your URL to Google. After a few days or so, your site will be indexed and searchable.


      (the triplet paradiddle with high-hat)
        Thanks for the tip.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://285260]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2018-06-21 01:29 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (117 votes). Check out past polls.