Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Context with Yahoo! BOSS

2,132 views

Published on

This s

Published in: Technology
  • Very nice Jai!
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Context with Yahoo! BOSS

  1. 1. CONTEXT WITH BOSSCONTENT Jai Santhosh YDN Engineer, Hacker http://twitter.com/jaisanth
  2. 2. ADS NEED CONTEXT
  3. 3. ADS NEED CONTENT
  4. 4. BOSS IS BUILD YOUR OWN SEARCH SERVICEhttp://developer.yahoo.com/boss/
  5. 5. PROVIDES APISTO OUR SEARCH DATA STORES & GEO DATA
  6. 6. TO BUILD YOUR OWN POWERFULSEARCH APPLICATIONS
  7. 7. BOSS allows you to search over Web, Images, News, Blogs, & Geolocation
  8. 8. You can even monetize yourapplications using Search Ads from BOSS
  9. 9. What can be done on top of BOSS?• Blend and re-rank search results• Make you applications Geo- aware• Your own look and feel• Mix it with other APIs
  10. 10. BOSS Pricing
  11. 11. Free for building your hacks!!
  12. 12. Where do I start?
  13. 13. BOSS uses OAuth for security
  14. 14. Get a FREEconsumer key and secrethttp://hackyourworld.org/hacku/
  15. 15. Lets See it in Action!
  16. 16. Searching “The Dark Knight Rises”
  17. 17. Finding images of “The Dark Knight Rises”select * from boss.search where q="The Dark Knight Rises" and service="images" and ck="..." and secret="..."
  18. 18. Finding “The Dark Knight Rises” in IMDB, movies.yahoo.comselect * from boss.search where q="The Dark Knight Rises" and sites="imdb.com,movies.yahoo.com" and ck="..." and secret="..."
  19. 19. Spell Check and Correctionselect * from boss.search where q="The Dark Knight Rises" and service="spelling" and ck="..." and secret="..."
  20. 20. Finding news on “The Dark Knight Rises”select * from boss.search where q="The DarkKnight Rises" and service="news" and ck="..." and secret="..."
  21. 21. CONTENT ANALYSISselect * from contentanalysis.analyze wheretext="Yahoo! kicks off Hackday at Gurgaon"
  22. 22. CONTENT ANALYSIS FROM A URLselect * from contentanalysis.analyze where url="http://www.cnn.com/"
  23. 23. MAKE YOUR ADS LOCATION AWARE
  24. 24. CURRENT LOCATION navigator.geolocationnavigator.geolocation.getCurrentPosition() YUI.use(‘gallery-geo’) $.geolocation
  25. 25. LOCATION SEARCHselect * from geo.placefinder where text="Delhi"
  26. 26. LOCATION ANALYSIS SELECT * FROM geo.placemaker WHERE documentContent = "They followed him to deepest Africa and found him there, inTimbuktu" AND documentType="text/plain"
  27. 27. Query Cheatsheet• Find images of “The Dark Knight Rises” select * from boss.search where q="The Dark Knight Rises" and service="images" and ck="..." and secret="..."• Find reviews of “The Dark Knight Rises” select * from boss.search where q="reviews intitle:The Dark Knight Rises" and service="web" and ck="..." and secret="…"• Search for Avatar but not the movie: select * from boss.search where q="Avatar -movie" and ck="..." and secret="... "• Search pdfs of “The Dark Knight Rises” select * from boss.search where q="The Dark Knight Rises" and type="pdf" and ck="..." and secret="..."
  28. 28. Query Cheatsheet• Find all the news of “The Dark Knight Rises” select * from boss.search where q="The Dark Knight Rises" and service="news" and ck="..." and secret="..."• Get long abstracts in the results select * from boss.search where q="The Dark Knight Rises" and abstract="long" and ck="..." and secret="…"• Retrieve 51-100 results of the query select * from boss.search where q="The Dark Knight Rises" and start=51 and ck="..." and secret="... "
  29. 29. EXAMPLES
  30. 30. duckduckgo.com
  31. 31. More Resources• Yahoo! BOSS: http://developer.yahoo.com/boss/• BOSS Search Technical Documentation: http://developer.yahoo.com/boss/search/boss_api_guide/• BOSS Geo Technical Documentation: http://developer.yahoo.com/boss/geo/• YQL: http://developer.yahoo.com/yql• oAuth: http://oauth.net/• Open Social: http://www.opensocial.org/• Open Data: http://theinfo.org• Alt Search Engines: http://www.altsearchengines.com/
  32. 32. Questions?? http://www.flickr.com/photos/reem_unique/4119729692/
  33. 33. Thanks!!http://slideshare.net/jaisanthhttp://twitter.com/jaisanthhttps://github.com/jaisanth/

×