in reply to User linking and thepen search

Working patch for #2 (but maybe not ideal).

html

<form action="./google.cgi" method="get" enctype="application/x-www-form-urlencoded"> Search The Monastery pages via <a href="http://www.google.com">Google</a>&trade; <input type="text" name="search_google" onmouseover="this.focus()" style="width:15em;" /> <input type="submit" value="Go" /> </form>

cgi (as google.cgi above)

use CGI; use URI::Escape; use Socket qw(:crlf); my $q = CGI::param('search_google') . ' site:perlmonks.thepen.com'; $q = uri_escape( $q ); print "Location: http://www.google.com/search?q=$q", CRLF, CRLF;

Replies are listed 'Best First'.
Re^2: User linking and thepen search (fixed)
by tye (Sage) on Jul 28, 2004 at 06:17 UTC

    There's already a working link on super search. There was a bug that prevented it from showing but that was fixed soon after this thread appeared. Because we just use google's form, the user can set other options as well.

    - tye        

      Oh, excellent. Thanks!