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

am>

(This command has been awarded a Yubnub Golden Egg)

http://www.amazon.com/gp/reader/{scrape -tokens ?v= / -dirs 1 1 -url {url luckyecho site:amazon.com %s}}?v=search-inside&keywords=${q}[no url encoding]
SYNOPSIS
        am> [KEYWORDS TO DETERMINE BOOK] -q [WHAT YOU WANT TO LOOK FOR INSIDE THE BOOK (optional)]

EXAMPLE
        am> modern mind
        Since no query is provided, you're simply taken to Amazon's online reader set to Peter Watson's The Modern Mind.

        am> interface culture -q senselessness
        Searches Steven Johnson's Interface Culture with the query "senselessness."

        am> search battelle -q feeding the conversation
        Searches John Battelle's The Search with the query "feeding the conversation." Notice the keywords used to determine the book. Since "the search" is too generic a book query, I narrow it down with the author's last name.
        
        am> dream machine paperback -q cooperative modeling
        Searches Mitchell Waldrop's The Dream Machine with the query "cooperative modeling." Notice the keywords used to determine the book. Since The Dream Machine's hardcover edition would be the result selected if we simply used "dream machine", and since the hardcover edition isn't inside-searchable, we add "paperback" to specify we want to search inside the paperback edition of the book.

DESCRIPTION
        am> is something of a combination of the am command, which searches Amazon.com, and the > one, the "Universal Feeling Lucky command", in that it uses its first %s input to try to uniquely determine a book inside Amazon by googling inside it and selecting the first result. The twist is that it now searches inside that book with the query from the q parameter.

        Search-Inside-The-Book is a most handy feature of Amazon that allows you to search a book's content and browse through a couple of its pages (just like you would at a bricks-and-mortar bookstore). It requires you to have an Amazon account (which is free) and isn't available on all books. More info at http://www.amazon.com/exec/obidos/tg/browse/-/10197021/104-7033797-0623162

AUTHOR
        eliazar (elzr.com)
        Sean O'Hagan's superb scrape command is used here to provide some simple but crucial regex functionality on URLs.

RELATED COMMANDS
        am, >, >>, >>>, <, <<, <<<, luckyecho, gfl
    
165 uses - Created 2006-07-25 00:37:03 - Last used 2023-05-09 22:23:00
Is this command broken? Tell Jon if you know how to fix it.