Custom Search | Get Google Web Search API For A Website by Google Developers [Ajax]

Programmatically Ajax based custom search API create & help to handle all the queries searched on your website. It shows quick search result on the same page by the help of linked Ajax CDN Jquery/JavaScript. When you search any content on ProBlogBooster, the result is quickly gets displayed on the same page without any change of other content and in quick seconds since it is completely integrated with the Google API loader. This Ajax based tool is much better than Python or Php Google search engine API code. It is a fully customized real time search engine that not only integrates with your site but also your website design. Folks requested about it along with detailed information to integrate this Googlesearch tool on site. They were asking: How to Create an API Key for Google Custom Search? Any quick way for adding Google Custom Search to Your Website? and how to fetch Google search results with the site search API? Learn how to install light-weight, fast loading, real-time Google search widget for your blog or website.
Google Search Widget
Google Search Widget
Last time we have seen Free Online Meta Tag Generator tool to create SEO optimized meta data for your site. Today we are working on advanced steps in Google gadgets to find out Ajax and its usability with respect to web content through search gadget. So here in this post, each and every step is discussed in detail along with images. This is one of the best blogging tip about Ajax & jQuery link Google application, it will introduce you Ajax power, and you will get why the Ajax getting more popularity in today's days.

Also check: 5 Ways How Wearable Technology Will Improve Our Daily Life

Create Your Own Search Engine Using Google Custom Search API

It's very simple to integrate in your website but consist of extended and slightly complicated steps, so I request you to read and follow each step carefully.

  1. First Sign-up for an API Key on: http://www.google.com/webelements/customsearch/
    [Update 31 January 2016] Go to: https://www.google.com/cse/all

  2. The 'Custom Search' page will appear on screen. Select theme for your search engine look as 'Espresso' - [You can change as you want]. Google Ajax Search Widget For BloggerScreenshot1

  3. Go to 'Configure' option, and select 'Use an existing custom search engine'. Now click on 'Select CSE'.Google Ajax Search Widget For BloggerScreenshot1

  4. Click on 'Create a new search engine', here you may have to logged-in to your Google Account, as because it's your own search engine and that for your unique ID. Google Ajax Search Widget For Blogger2

  5. Type search engine name as 'Search'.

  6. Type search engine description as 'Search'.

  7. In 'What do you want to search?', check 'The entire web, but emphasize sites I select.'

  8. In 'Sites to search' box put your own blog/website URL [http://www.example.com]. Google Ajax Search Widget For Blogger222

  9. Choose an edition, off-course!! select as 'Standard edition - Free'. Google Ajax Search Widget For Blogger323

  10. Accept the 'Terms of Service'. And click on 'Next'.

  11. Tick the box for Send confirmation email to your mail ID and click on 'finish'.

  12. Now you will see a new window of 'My search engines' and in the topic of 'Search engines I've created', you will see your created search engine. Google Ajax Search Widget For Blogger333

  13. Click on 'control panel' will see 'Basic information' with your 'Search engine unique ID: your-own-ID' Google Ajax Search Widget For Blogger4444

  14. You can select 'Preferences' as per your requirements. And then 'Save changes'. Google Ajax Search Widget For Blogger555

  15. On left hand 'Control Panel' Look for 'Look and feel shown', click on it. Google Ajax Search Widget For Blogger666

  16. Choose a hosting option as 'Search Element'. Google Ajax Search Widget For Blogger99

  17. Choose layout for search element 'Two Column'. Google Ajax Search Widget For Blogger777
  18. Choose customize a style as 'Espresso'. [Here you can customize the font-size, font-color for your template matching]. Google Ajax Search Widget For Blogger88

  19. At last click on 'Save' and then 'Get code'. Google Ajax Search Widget For Blogger1010

  20. Now you have the two types code sections:
    a. In upper-window the code is to be paste in the page where you'd like the search box to appear.
    b. In down-window the code is to be paste in the page where you'd like the search results to appear.
    Google Ajax Search Widget For Blogger1111

  21. The first code is the Search Widget Code, that can be copy-pasted as html widget. For this go to Layout, page element, add widget, give title as search, and paste the code.

  22. Now the important part is the second code, this code goes into your html template code. For this go to Layout, Edit HTML.
    Now find for,
    <div id='main-wrapper'>

    And paste the second code below <div id='main-wrapper'> code, as shown. Google Ajax Search Widget For Blogger1212

  23. Now SAVE TEMPLATE.

  24. Check the widget performance on your blog-site.


Bottom Line
In this widget you can insert your own Adsense adds (with publisher's ID) easily. Automatically search own site as well as on web. It�s very fast than ordinary search engine & no need to refresh the whole page to search. For Demo see right side of this site, and check the behavior of the this widget.

What do you think, isn�t it wonderful tool for website that everybody should install? Let us know your views via comments.

Social Tags: #Google #Search #GoogleSearch #Blogger #HowTo #HowToBlog #Ajax #Web2


EmoticonEmoticon