Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.

>>

g site:{ extractDomainName { url {% 1 %s} } } {% 2- %s} [no url encoding]
SYNOPSIS
       >> [Yubnub command|URL] [query]

EXAMPLES
       >> wp list of paradoxes
	   Makes a search in Google for "list of paradoxes" restricted to the domain of the English Wikipedia (en.wikipedia.org)

       >> cnn priests
	   Makes a search in Google for "priests" restricted to CNN's domain (cnn.com)

       >> kottke job
	   Makes a search in Google for "job" restricted to Kottke's domain (kottke.org)

	   >> http://www.alistapart.com/articles/bathingape zeldman
	   Makes a search in Google for "zeldman" restricted to A List Apart's domain (alistapart.com)

	   >> http://www.languagehat.com/archives/002252.php poetry
       Makes a search in Google for "poetry" restricted to Language Hat's domain (languagehat.com)
          
DESCRIPTION
	   Think of this command as an internal search (hence >>) of the website hinted by the first parameter via Google.

       A more precise description: Yubnub generates a URL by interpreting the 1st param as a Yubnub command, it then extracts a domain name from that URL and uses it to configure a Google search for the 2nd param.

       There are basically two ways to use this command, and both I find very convenient. First, you can use a Yubnub command for the first parameter. This is is convenient because it saves you from typing URLs by leveraging your knowledge of Yubnub commands. This usage is represented by the first 3 examples.

	   For the second usage to be practical you should have installed Yubnub in your Firefox toolbar (and this is, imho, THE way to use Yubnub). OK, so here's a case example: say you somehow fall on this page, http://www.languagehat.com/archives/002252.php. You find there some commentary on an Emily Dickinson's poem and are interested in what else the site may have about poetry. Being a natural-born-Yubnubber, you CTRL-L to the location bar, prepend >> to the URL, and append poetry at the end, so your new URL is: >> http://www.languagehat.com/archives/002252.php poetry. You type Enter and behold!: You've just searched in Google for "poetry" restricted to Language Hat's domain (languagehat.com).

RELATED COMMANDS:

       ?>>, >, >>>, <, <<, <<<

AUTHOR
       Eliazar
       elzr.com
    
2499 uses - Created 2006-01-25 02:24:32 - Last used 2022-06-21 12:08:14
Is this command broken? Tell Jon if you know how to fix it.
Do you find this command offensive? Let Jon know.