Popular Posts

Saturday, 21 December 2013

Using Google Co-op's Custom Search Engine

Using Google Co-op's Custom Search Engine



Using google free api you can add a search Engine for your own website ,just need to have a gmail id and follow these steps:

Creating Your Search Engine

The very first step you must take is to visit http://www.google.com/coop/cse.
 (Note that you must have a Google Account. If you don’t have one, Create one. follow the instructions to create your custom search engine.

Where to Host the Custom Search Engine

You have two options on how you can display your search engine to users: Google can host it for you, or you can host the search box and results on your site. For this article, I opted for the latter.
To configure this option:
  1. Return to the Google Co-op Custom Search Engine site’s home page (http://www.google.com/coop/cse).
  2. Click on the My Search Engines link.
  3. When the list of your custom search engines shows up, click on the link that says “Control Panel”.
  4. Next, click on the link that says “Code”.
  5. Select the radio button next to the option that says “Host a search box and search results on your own site…”.
  6. Also, specify the URL of the page on your site where you want the search results to appear.
  7. Finally, after you select the location where you want to display the AdSense ads in your search results, click the Save Changes button.


AFTER REGISTERING THE WEBSITE YOU GET THE CODE JUST PASTE THE CODE IN DIV TAG ON YOUR PAGE WHERE YOU WANT YOUR SEARCH.FOLLOW THE SCREENSHOTS:


1.REGISTER YOUR SITE




2. CREATE YOUR CUSTOM LOOK AND FEEL




3.EXTRACT THE CODE AND PASTE ON YOUR ASPX PAGE



4.DEMO TEST RESULT FOR SEARCH ON YOUR REGISTERED SITE



----------------------------------------------------------------------------------------------------------------------

No comments :

Post a Comment