Home / Articles / Creating a Custom News Search Widget Using the Google Search API

Creating a Custom News Search Widget Using the Google Search API

Article Description

The widgets provided by Google are a great way to get the functionality you’re looking for without writing any code, but sometimes there’s a need for a little more control and flexibility with layout, design, etc. Kris Hadlock explains the steps that are necessary to use the RESTful interface provided through the Google Ajax Search API in order to create a custom JavaScript Google New search widget.
Additional Resources

Additional Resources

If you’re interested in learning more about the Google Ajax Search API, JSON, or the PHP cURL library, you can check out the following resources for more information.

The Google Ajax Search API: http://code.google.com/apis/ajaxsearch/documentation

JSON (JavaScript Object Notation) and the JSON Parser: http://www.json.org

PHP cURL (Client URL Library): http://php.net/manual/en/book.curl.php