How do I show the Google search results embedded in my site?

I use this code on my website to show the Google search results for my website:

<!-- Search block -->       
<div class="searchBox">
    <form method="get" action="http://www.google.com/search"> 
        <input type="text" name="query" class="searchField" />
        <input type="hidden" name="sitesearch" value="my_website.com">
        <input type="submit" value="" class="searchSubmit">
    </form>
</div>  

I like this simple code and I do not prefer to use Google Custom Search , but is there a way to show the result of this search embedded in page i indicating?

+5
source share
3 answers

Bing has much better terms of use and superior APIs when it comes to site search integration.

It allows you to take the returned XML and pretty much do everything you need with it if you link to the fact that your search runs from Bing somewhere in the list of results.

http://www.foliotek.com/devblog/integrating-bing-search-results-within-a-web-app-using-net/.

Google, . , , SSL. Google Custom Search http://www.google.com/cse/.

Bing A: http://www.mshsaa.org/Search/?q=basketball

+4

A look at the terms and services for Google CSE (as of this writing):

1.3 Your obligations. You will receive a request from the end user and submit this request to Google. You may not frame , cache or modify the results obtained by Google, unless agreed between you and Google.

It seems like I should be showing search results on a standard google page, not mine. Look at Bing.

0
source

All Articles