enriching your site with google maps search, news, blog feed, vid
DESCRIPTION
TRANSCRIPT
![Page 1: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/1.jpg)
Enriching your Site with Google Maps search, News, Blog Feed, Video Search, Video Bar, Book
Bar, Book Search
By Rohit GhatolFrom
Pune Google Technology User Grouphttp://pune-gtug.blogspot.com
![Page 2: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/2.jpg)
What is Pune-GTUG?
GTUG stands for Google Technology User Group
![Page 3: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/3.jpg)
![Page 4: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/4.jpg)
http://pune-gtug.blogspot.com
![Page 5: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/5.jpg)
Using Google Ajax Search API
• This is the underneath technology used for this topic
• Example code referenced in this Presentation is available here
![Page 6: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/6.jpg)
Enriching Site with more live Data
• What do we mean by enriching?
• Why do we need to enrich our site with more live data?
• Let’s take an example
![Page 7: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/7.jpg)
“I am Foodie” Blog
![Page 8: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/8.jpg)
Chapter 1.html
![Page 9: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/9.jpg)
Enriching the Foodie Blog
• What would a person look for along side Foodie Blogo Google Web Searcho Google Maps to locate restaurantso Recipes (Blogs) from webo Videos from Youtubeo Books from Google Book Searcho Event News about food
![Page 10: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/10.jpg)
The real question is
• Can I make all these additional information available to my visitor, without asking him to leave my blog?
• Can he very quickly and intuitively locate all the corresponding information on my site or blog?
![Page 11: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/11.jpg)
The answer is Yes
• Lets see ahead how we can do this
![Page 12: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/12.jpg)
Google Web Search in my blog
☺
![Page 13: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/13.jpg)
http://code.google.com/apis/ajaxsearch/
![Page 14: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/14.jpg)
http://code.google.com/apis/ajaxsearch/key.html
![Page 15: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/15.jpg)
http://code.google.com/apis/ajaxsearch/key.html
![Page 16: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/16.jpg)
![Page 17: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/17.jpg)
http://www.google.com/uds/samples/apidocs/helloworld.html
![Page 18: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/18.jpg)
http://www.google.com/uds/samples/apidocs/tabbed.html
![Page 19: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/19.jpg)
Chapter 2.html
![Page 20: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/20.jpg)
Also you can restrict which site the web search should search into!
![Page 21: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/21.jpg)
Welcome Custom Search Enginehttp://www.google.com/coop/cse/
![Page 22: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/22.jpg)
![Page 23: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/23.jpg)
![Page 24: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/24.jpg)
![Page 25: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/25.jpg)
Chapter 3.html
![Page 26: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/26.jpg)
Chapter 3 Code Snippet
// site restricted web search with custom label// and class suffixvar siteSearch = new google.search.WebSearch();siteSearch.setUserDefinedLabel("Amazon.com");siteSearch.setUserDefinedClassSuffix("siteSearch");siteSearch.setSiteRestriction("amazon.com");searchControl.addSearcher(siteSearch);// site restricted web search using a custom search enginesiteSearch = new google.search.WebSearch();siteSearch.setUserDefinedLabel("Pune");siteSearch.setSiteRestriction("007709009400360813594:snvbh9iinva"); searchControl.addSearcher(siteSearch);
![Page 27: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/27.jpg)
Coming to Wizardshttp://code.google.com/apis/ajaxsearch/wizards.html
![Page 28: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/28.jpg)
Wizards - Try it yourselfRefer chapter4.html
See Example - http://ajaxsearch.blogspot.com/
![Page 29: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/29.jpg)
Chapter 4.html
![Page 30: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/30.jpg)
Past Blogs on Ajax Search API
• http://pune-gtug.blogspot.com/2008/01/ajax-search-api-video.html
• http://pune-gtug.blogspot.com/2007/11/google-ajax-search-and-ajax-feeds.html
![Page 31: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/31.jpg)
Questions?
?
![Page 32: Enriching your site with Google Maps search, News, Blog Feed, Vid](https://reader033.vdocuments.net/reader033/viewer/2022061306/54b440894a7959cd628b4599/html5/thumbnails/32.jpg)
References
• Past Posts on http://pune-gtug.blogspot.com
• http://code.google.com