Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

User linking and thepen search

by sfink (Deacon)
on Jul 22, 2004 at 08:02 UTC ( #376495=monkdiscuss: print w/replies, xml ) Need Help??

Suggestion #1: If you want to link to a particular user, you seem to have to use the [id://id-of-user] syntax. I often type in [user://username] -- I have always expected this to work, and have always been surprised when it doesn't.

Suggestion #2: Add a direct link to a site-restricted Google search of perlmonks.thepen.com to the top of the Super Search page. Or maybe a text entry field that appends the site restriction to the query and does the search immediately.

Suggestion #3: Similarly to Bookmarklet to view original of node, only add a link to every node that points to the original on thepen so that people won't need the clever bookmark.

Replies are listed 'Best First'.
Re: User linking and thepen search
by greenFox (Vicar) on Jul 22, 2004 at 08:29 UTC

    re Suggestion #1 [username] works - greenFox.

    Agree re Suggestion #2, good idea.

    --
    Do not seek to follow in the footsteps of the wise. Seek what they sought. -Basho

      ?;node=pod;type=user lists only nodes of type user, while ?;node=pod lists all types of nodes, so I think #1 wouldn't be a bad idea.

      MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
      I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
      ** The third rule of perl club is a statement of fact: pod is sexy.

      Sadly, I never figured that out for myself. Ouch. Thank you.
Re: User linking and thepen search
by Your Mother (Bishop) on Jul 22, 2004 at 08:16 UTC

    ++ I would be grateful if #2 were put in. I've started doing it manually lately.

Re: User linking and thepen search
by chazzz (Pilgrim) on Jul 22, 2004 at 10:38 UTC
    Suggestion #2 - Yes please!
Re: User linking and thepen search
by Your Mother (Bishop) on Jul 28, 2004 at 04:36 UTC

    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;

      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!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://376495]
Approved by ysth
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2018-07-16 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (349 votes). Check out past polls.

    Notices?