Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

•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]
[LanX]: jdporter: open PIPE,'-|' ?
[LanX]: oh you want the result line by line?
[jdporter]: ok, LanX, then what?
[jdporter]: It doesn't have to be line by line. Just "my program" "writes" to the external prog and also/then "reads" from it.
LanX open (You are not allowed to open to a command that pipes both in and out, but see IPC::Open2, IPC::Open3, and Bidirectional Communication with Another Process in perlipc for alternatives.)
[jdporter]: IPC::Open2, I guess
[jdporter]: yes, that

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (13)
As of 2017-05-24 20:31 GMT
Find Nodes?
    Voting Booth?