google-cse

Best way to implement Google Custom Search on an aspx page

Google custom search code is provided as a form tag. However, Asp.net only allows a single form tag on a page. What is the best way to implement their code so you can include it on an aspx page (say as part of a Masterpage or navigation element). ...

How can I add an integrated Google search to my website?

Basically I have a website. I have a properly setup sitemap so I assume Google knows about all of my pages. And I've seen on some sites, the search form leads to a page with the shell of the original site but the results are clearly provided by Google. Similar to codinghorror.com's search, however his results aren't shown within his w...

How can I set a custom width on my Google search iframe?

I am trying to use google search for my site: http://www.houseofhawkins.com/search.php It is not playing nice with some screen resolutions. Here is the code given from google: <div id="cse-search-results"></div> <script type="text/javascript"> var googleSearchIframeName = "cse-search-results"; var googleSearchFormName = "cse-sear...

Sandboxing Google Custom Search Engine's Styles

I'm trying to incorporate Google CSE into my web site. The search works fine. I'm using Nijhof's ASP.NET Google CSE search control on a page in a site using a Master Page. The problem is Google's style's affecting not just the Google search results on the page but also other elements on the page such as my navigation. Google injects the ...

google search integration

Hi I've a webpage and want to integrate google search into that page. Can u people guide me how to do that? Actually i tried with the code given by the google. like this <form action="http://www.duckyvideos.com" id="cse-search-box"> <div> <input type="hidden" name="cx" value="partner-pub-9481442241155955:7j2htu-qsi5" /> <...

Hide refinement tabs in Google CSE?

Is there a way to hide the refinement tab(s) in a Google Custom Search (CSE)? I'm using the Ajax CSE and I don't want/have refinements. Therefore a single tab is pretty useless and disturbing. ...

Adding thumbnails to google custom search results?

I would like to add thumbnails to my custom search results page, I guess it is possible since I've seen it on other sites using cse but I've had no luck searching google for it. Thanks EDIT I've also looked into adding microformats to pages but it is not showing images although it is running fine in Rich Snippets Testing Tool(but is stil...

Pass variable to Google Custom Search Engine

Is it possible to pass a search variable into the Google Custom Search Engine that I have embedded on my website? I can get the search engine to work, but I can't pass it a term via POST (it's coming from a search button on other pages of the website) I tried to hack the code I found here: http://code.google.com/apis/ajax/playground/?ex...

Removing Uploaded Files from Google when item Expires

We're using the Google CSE (Custom Search Engine) paid service to index content on our website. The site is built of mostly PHP pages that are assembled with include files, but there are some dynamic pages that pull info from a database into a single page template (new releases for example). The issue we have is I can set an expire date ...

Google Custom Search Engine (CSE) API

I am trying to integrate a site search feature into a client's site. I've created an test search engine with Google Custom Search, but I can't sort out how to make it work with the following criteria: The search form posts back to the site The POST page uses an API to get the result back from Google I display the results within my sit...

google cse customization or google CSE dynamic navigation?

hi i am using google cse in my blog.. i want to customize the results like....i will explain with simple scenario.. In my webpage haing the three columns.. middle column having displaying search results..i have left column having the catagerization like products(etc based on the meta tag keywords).. if the user is searching for a par...

Google CSE: Display result count

Hey guys, I've implemented Google site search / Custom search for my website and it is all working and results are formatted and paging fine. But it never returns a count of how many results it found like it does when you search on Google About 1,660,000 results (0.16 seconds) I was wondering if anyone had found anything to do this i ...

How to show next/previous links in Google Custom Search Engine paging links

The Google Custom Search integration only includes numbered page links and I cannot find a way to include Next/Previous links like on a normal Google search. CSE used to include these links with their previous iframe integration method. ...

How can I limit total number of results provided by Google CSE

I want to limit number of results obtained from Google CSE. The CSE guidelines say "how to limit number of results displayed per page"... But I want to limit total number of results obtained from Google CSE ...

Custom Google Search with 'search web' and search 'my site' radio buttons.

I have some experience setting up Google CSEs. I have a request to set up a CSE with an option to 'search the web' or just search the site. I thought it would be very simple, but iver yet to find an example or tutorial. Can anyone point me in the right direction and or give me an example of a Google CSE that has a radio button (any but...

Google CSE - Hide Refinements for google stored CSE

I have three websites using Google CSE. On two of the sites, I want the search refinements tab to show up. On the third site, I want to hide the refinements tab. The overall search results appear in an iframe, so I don't know how to effect the css in it. I believe I am using the "Google Stored CSE" approach to displaying results, w...

C# wrapper or samples for Google Site Search

Anybody seen any c# code examples for using Google site search to send a request to the Google search api and return the results in xml? ...

How to use custom google search on https to avoid non secure content prompt on https

Is there a way to get the script for search results from an HTTPS site instead of http://www.google.com/afsonline/show_afs_search.js I am using the custom google business search on a HTTPS site. When search is submitted web browser shows warning: "This page contains both secure and nonsecure items" I tried to modify the source to be ...

Returning Subscribed Links in jsapi Google Custom Search Engine

Hi. I have a custom search engine in a page like so: <script src="http://www.google.com/jsapi" type="text/javascript"></script> <script type="text/javascript"> var search_term = '<?php print $_GET["q"]; ?>'; // added -- let google scrub! google.load('search', '1', {language : 'en'}); google.setOnLoadCallback(function() { var customSear...