Entrar
Regístrate Facebook te ayuda a comunicarte y compartir tu vida con las personas que conoces.
Here you will get few more examples of Google Custom Search Ajax API. If you
are new to custom search engine then you will think how it will look and how to
use various search hosting options Google has provided in Custom Search Engine.
So, here you will get glimpse of three hosting options of CSE (Custom Search
Notas de Web Scripting Engine).
Here, I just want to show you basic differences of each option. When I tried to
learn the Custom Search Engine API then I need to read a lot for getting these
options meaning and how it work. After reading this article your understanding of
the Custom Search Engine document will increase and you can concentrate on
important functionalities. It will also help you decide which hosting option you
need.
You will get three kind of hosting options – Search Element, Iframe, and Google
hosted. Click the above image (will open in new window) to get the idea of the
three options.
<strong>Hosting Option - Iframe. Provides limited customization and requires a separate page for results on your site.</strong>
<form action="/web-development/custom-search/gcs-iframe-srch-result.html" target="iframe1" id="cse-search-box">
<div>
<input type="hidden" name="cx" value="partner-pub-4441905138518539:wtgjmpb7npi" />
<input type="hidden" name="cof" value="FORID:10" />
<input type="hidden" name="ie" value="UTF-8" />
<input type="text" name="q" size="31" />
<input type="submit" name="sa" value="Search" />
</div>
</form>
<script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&lang=en"></script>
<div id="cse-search-results"></div>
<script type="text/javascript">
var googleSearchIframeName = "cse-search-results";
var googleSearchFormName = "cse-search-box";
var googleSearchFrameWidth = 880;
var googleSearchDomain = "www.google.com";
var googleSearchPath = "/cse";
</script>
<script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>
Whatever I have mentioned was just the basic difference of various hosting
options, which gave you idea of all search result hosting options. You can now use
this link for getting full list of differences and benefits available under each
hosting options.
Related posts:
1. Google Custom Search by Aleem Bawany
2. Setting Site Restriction to Google Ajax Search API
3. Google Ajax Search API – Description and Example
© Satya for Web Scripting, 2009. | Permalink | No comment | Add to del.icio.us, dZone
Post tags: Ajax, ajaxsearchapi, api, google, search
Permalink + Comments
Facebook © 2010 · Español (España) Acerca de · Publicidad · Desarrolladores · Empleo · Privacidad · Condiciones · Servicio de ayuda