dannyman.toldme.com


News and Reaction, Sundry

Burrito Baby

Link: https://dannyman.toldme.com/2008/05/29/mountain-view-burrito-baby/

The first time we endured layoffs at Tellme the ops team went out for burritos on the company dime. Out of a sense of mourning, my colleague ordered their largest burrito. It was the size of a baby. This was on a Friday in Mountain View.

Joe claimed to have polished off his burrito in two days.

Feedback Welcome


Technical

HOWTO: Link to Google Search with hidden site: parameter

Link: https://dannyman.toldme.com/2008/05/30/howto-google-search-site-parameter-as_sitesearch/

I was trying to hack up a little search box to access the local Google search appliance. I know you can search with a query like “foo site:example.com/docs” but I wanted to pass site: in as a form parameter. Here is an example of how to do that:

<form action="http://googleplex.example.com/search">
    <input type="text" name="q" />
    <input type="hidden" name="as_sitesearch" value="example.com/docs" />
</form>

So, where you might use site: in the search field, you use as_sitesearch as a hidden search parameter. I figured this out by squinting at the Google Advanced Search page.

Feedback Welcome

« Older Stuff
Arrr! . . . Avast!
Site Archive