Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
This node contains a description of a more effctive way to search the google-friendly archive, and a suggestion sprung out of the very same technique.

As we all know, Super Search is currently unreliable at best, and a sitekiller at worst. So when "normal" searching fails, one tends to do as it says on Super Search and try Googles advanced search against blakem's http://perlmonks.thepen.com. This is still not necessarily an easy task, but knowing a bit on how to use google, might improve your results.

Actually, I only have one specific feature in mind, the one that is called "match exact phrase". In the advanced search, there is even a special field for it, but normally, you specify such a phrase by simply putting double quotes around the phrase, like so:

arbitrary words "exact phrase"
Which will match 'arbitrary', 'words', and 'exact phrase' on any place in the documents searched, but not 'exact' by itself, nor 'phrase exact'.

If you know the exact phrase you are looking for, or, in this case which I will demonstrate, if you know an exact phrase that appears in the specific pages you want to search, this can narrow your hits considerably.

A silly example, that is not very good, but I hope will serve to demonstrate my point: Lets say I want to see some JAPH's, so I put the query 'just another perl hacker' in the search box on the top of the page. It returns a heap of results, none of which I know if they are even obfus (most aren't, it seems). Well, that partly depends on the fact that this was a stupid query. :) But bear with me.

So I try the same query on google, like so: [google://just another perl hacker site:perlmonks.thepen.com] (via the advanced search, or not, either way is the same). That gives me 1840 results currently, which, if unlucky may be a long way from what I want.

But I do know something more: On each page on the obfu section, you can find the words "Back to Obfuscated Code". (Not really true, but I'll get there in a moment). So I try to add that to my query: [google://site:perlmonks.thepen.com just another perl hacker "Back to Obfuscated Code"] just another perl hacker]. This is actually more or less too effective I'd say, since it only returned one single result... it turns out that on the older pages, the link was called "Go see more Obfuscated Code", which is not as optimal when we want to do this kind of search.

But still, Using just "Obfuscated Code", which covers both cases, gives a very good result: [google://site:perlmonks.thepen.com just another perl hacker "Obfuscated Code"]. Top three results I got was Things are not what they seem like., Writing highly obfuscated code in Perl and japhy's Obfuscation Review, and 85 results all in all, which is not half-bad if you wanted to see some JAPH's. :)

Others, like Meditations and Seekers of Perl Wisdom, seems to have had the same link back all the time, so there we can use it more to out benifit (and to separate them from the links at the top off the page...).

Furtermore, it turns out it is possible to, just as the link on Super Search fills in "perlmonks.thepen.com" for you in the appropriate field, you can also fill this in via a similar link.

So, finally over to the suggestion: Super Search's ability to search on specific sections are really useful, and since these links are easily crafted, how about adding shortcuts for these too, on the Super Search page? I had something like this in mind, although forming two columns with a table might be easier on the vertical scroll:


There are certainly some serious issues with this new search technique (including generating "Server Error"s -- no need to report those). You might be happier using Google's advanced search against perlmonks.thepen.com.

You can also search specific areas on http://perlmonks.thepen.com via these links:


I am not 100% sure I have gotten all these links perfectly right, so raise your voice if there is anything I've missed, or something seems to be wrong when you search this way.

For those that are too lazy to view the source, this is how one of the links look like in HTML:

<a href="http://www.google.com/advanced_search?hl=en&as_sitesearch=per +lmonks.thepen.com&q=%Back to Snippets Section%22">Snippets Section</a +>

Well, that was one suggestion, or at least one tip on how to make things easier to find. I hope it will help some people out. :)


You have moved into a dark place.
It is pitch black. You are likely to be eaten by a grue.

In reply to More effective thepen.com google search by Dog and Pony

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others chilling in the Monastery: (14)
    As of 2014-07-10 21:57 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      When choosing user names for websites, I prefer to use:








      Results (217 votes), past polls