How to integrate a search engine into your site


Search Wines





The HTML



<div align="center">

<form id="searchbox_015247778172016367057:mnc5vdc8anm" name="recherche_cse" action="http://www.liens-du-vin.ch/google-cse-inside-gpc.html">

<table style="border: 2px solid rgb(204, 0, 0); text-align: left;" bgcolor="#c3d9ff" border="0" rules="none">
<tbody>
<tr>
<td height="12"><br></td>
<td>
<span style="font-size: 0.8em; color: rgb(102, 0, 0); font-family: verdana; text-align: left;"><b><a title="Wines Search" href="http://www.google.com/coop/cse?cx=015247778172016367057%3Amnc5vdc8anm" target="_blank">Wines Search</a></b></span>
<img title="Google Custom Search" style="margin-top: 5px; margin-left: 40px;" alt="Google Custom Search" src="google_custom_search_gpc.gif">
</td>
<td> </td>
</tr>
<tr>
<td align="left" height="32" nowrap valign="center" width="28"><br></td>
<td nowrap>
<input value="015247778172016367057:mnc5vdc8anm" name="cx" type="hidden">
<input style="border: 1px solid rgb(126, 157, 185); padding: 2px; background: rgb(255, 255, 255) url(http://google.com/coop/images/searchbox.gif) no-repeat scroll left 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" size="48" name="q">
</td>
<td><input value="Search" name="sa" type="submit"><input value="FORID:11" name="cof" type="hidden">
</td>
</tr>
<tr>
<td><br></td>
<td nowrap><a title="Add this CSE to your Home Page" style="border-width: 0px; text-decoration: none;" href="http://fusion.google.com/add?moduleurl=http%3A%2F%2Fwww.google.com%2Fcoop/api/015247778172016367057/cse/mnc5vdc8anm/gadget" target="_blank">
<img title="Add this CSE to your Home Page" style="border-width: 0px;" alt="Add this CSE to your Home Page" src="http://www.liens-du-vin.ch/_pic02/add-to-google.gif" border="0" height="17" width="104">
</a>
<br></td>
<td> </td>
</tr>
</tbody>
</table>
</form>

<script src="http://www.google.com/coop/cse/brand?form=searchbox_015247778172016367057%3Amnc5vdc8anm" type="text/javascript"></script>

</div>
<p><br></p><p><br></p>

<div id="results_015247778172016367057:mnc5vdc8anm"></div>

<script type="text/javascript">
var googleSearchIframeName = "results_015247778172016367057:mnc5vdc8anm";
var googleSearchFormName = "searchbox_015247778172016367057:mnc5vdc8anm";
var googleSearchFrameWidth = 600;
var googleSearchFrameborder = 0;
var googleSearchDomain = "www.google.com";
var googleSearchPath = "/cse";
</script>
<script src="http://www.google.com/afsonline/show_afs_search.js" type="text/javascript"></script>


Tips


  • Create a search link :

<link
rel="search" href="http://YOURFILE.xml"
type="application/opensearchdescription+xml"
title="Find Wines"
>

Add this plugin to your toolbar


More about Google CSE


  • Have a website or collection of sites you'd like to search over? With Custom Search Engine, you can harness the power of Google to create a search engine tailored to your needs.
  • Google Co-op is a platform that enables you to customize the web search experience for users of both Google and your own website.
  • Another way to use CSE, adding this above CSE in a site or a blog using a gadget.
  • Create a Plugin to add a Custom Search Engine to the Toolbar.




Schenk - The Wine Experts


One Day - One Label - One Wine



Add this gadget to Google