Boss open hack-2011-blr-india-v1
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Boss open hack-2011-blr-india-v1

on

  • 2,818 views

Presentation on BOSS at the Open Hack India 2011 event

Presentation on BOSS at the Open Hack India 2011 event

Statistics

Views

Total Views
2,818
Views on SlideShare
2,816
Embed Views
2

Actions

Likes
1
Downloads
19
Comments
0

1 Embed 2

http://192.168.6.179 2

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Add Images here
  • Choose a funny image here
  • Add more
  • Fix these links

Boss open hack-2011-blr-india-v1 Presentation Transcript

  • 1.
  • 2. Yahoo! Search BOSS
    Tathagato Rai Dastidar (dastidar@yahoo-inc.com)
    Engineering Manager for BOSS
  • 3. What is boss?
    BUILD OWN SEARCH Service
  • 4. What does boss give you?
    • Search Data and Infrastructure
    • 5. Monetization (We give you Ads!!)
    • 6. Support and Tools
    BOSS is a service that provides you (the developer) flexible access to different types of data from Yahoo and allows you to build powerful commercial search applications with that data.
    BOSSprovides you Search Advertising and simple terms so that you can monetize that innovative product and continue to invest your personal time in it.
    $$$$
    BOSS also gives you Support and Tools to get your product working.
  • 7.
    • Restful XML and JSON API
    • 8. Web, Image, Spelling, News and Search Ads
    • 9. More services soon
    • 10. Flexibility to Blend and Re-rank Results
    • 11. Create your own look and feel
    • 12. Change ranking
    • 13. Mix it with other API’s
    • 14. oAuth based Authentication
    What does that mean?
  • 15. What else do you get
    • Web and Limited Web results (smaller subset and at most 3 days old)
    • 16. Complex query combinations and filters
    • 17. Search for data in different markets
    • 18. Image attributes like height, width, etc
    • 19. Time span filtering for News Search
    • 20. Document type filtering
    • 21. Extended abstracts
    • 22. Recognizes most search filters from Yahoo! and Google (backdoor hacks)
  • How DO I hack with it?
  • 23. How do I sign up
    • Self-serve sign up with simple Credit Card/Paypal payment options
    • 24. Visit BOSS Page or wait until the end for pricing
    • 25. Simplified pricing based on query type
    • 26. A combined bill for developers taking Search Advertising
    • 27. One signup, use in any market
    Don’t bother for now, we have a key setup for you
  • 28. The query
    • Tells you what the user is looking for
    • 29. Powers secondary APIs
    • 30. Can be generated by a search box, URL, tags or keyword extraction from the page.
    • 31. Generates related topics
    • 32. The Query is your BFF!
    e.g. http://yboss.yahooapis.com/ysearch/web?q=“Dark Knight”&format=xml
  • 33. Sample calls
    • Getting multiple data sets
    • 34. /ysearch/web,images,news?q=obama
    • 35. /ysearch/web,images,news?web.q=obama&images.q=flower&news.q=egypt
    • 36. Searching through sites
    • 37. A Simple Movie Search
    • 38. /ysearch/web?q=“Dark Knight”&sites=movies.yahoo.com,netflix.com,imdb.com
    • 39. AND/OR operators
    • 40. /ysearch/web?q="stevejobs"AND((ipad)OR(iphone))&sites=bestbuy.com,newegg.com
    • 41. Important: Use Braces or quotes
  • Unary Operators
    • Search for Batman but not “Dark Knight”
    • 42. q=(batman -“Dark Knight")
    • 43. Find pages with “Heath Ledger” but not “Dark Knight”
    • 44. q=+”heath ledger”–”Dark Knight”&sites=movies.yahoo.com
    • 45. Force auto-spelling off
    • 46. q=+”drk knight”
    AND OR
  • 47. Searching in body and in title
    • Searching for Dark Knight in the Title on Yahoo movies
    • 48. q=reviews intitle:"dark knight"&sites=movies.yahoo.com
    • 49. Searching for Dark Knight in the Title in Yahoo movies containing Christian Bale
    • 50. q=reviews intitle:"dark knight" inbody:"christian bale"&sites=movies.yahoo.com
  • Market and document specIfic Filters
    • Search for “Dark Knight” in India specific sites
    • 51. q=“Dark Knight”&market=en-in
    • 52. Search for “PDF’s containing “Dark Knight”
    • 53. q=“Dark Knight”&type=pdf
    • 54. Search for MS Office type (except PPT’s) containing “Dark Knight”
    • 55. q=“Dark Knight”&type=msoffice,-ppt
  • Output
  • 56. Image search parameters
    • Search for images that are not offensive
    • 57. /ysearch/images?q=“san francisco”&filter=yes
    • 58. Search for images that are wallpaper size
    • 59. /ysearch/images?q=“san francisco”&dimensions=wallpaper
    • 60. Search for a image at a certain refer URL
    • 61. /ysearch/images?q=yahoo&refererurl=http://www.flickr.com
    Interesting Output Fields
    • format, file size, height, width, title, total result count
  • News search parameters
    • Search news that is less than 7 days old
    • 62. /ysearch/news?q=osama&age=7d
    • 63. Search news that is between 20hrs and 2 days old
    • 64. /ysearch/news?q=osama&age=20h2d
    • 65. Re-rank news results by date
    • 66. /ysearch/news?q=osama&ranking=true
    Interesting Output Fields
    • Source, Date, Source URL
  • BOSS + YQL
    Table Name: boss.search
    e.g. select * from boss.search where ck=… and secret=… and q=‘yahoo’ and service=‘news’
  • 67. BOSS Hack packet
    • PBWorks Site
    • 68. This presentation
    • 69. oAuth information
    • 70. Code Samples available
    • 71. PHP, Ruby, Perl
    • 72. Old BOSS Hacks: http://bosshacks.com
    • 73. Tweet your hacks #ysearchboss, #openhackeu
    • 74. Follow me at @ysearchboss
    • 75. Special BOSS prize
  • Understand oAuth
    Identification
    Consumer Key – Used to make a call to the API
    Consumer Secret – Used for 3 legged oAuth (not used for BOSS)
    Making a call (www.oauth.net/code)
    • Consumer Key
    • 76. Nonce – Random string generated by oAuth (prevents replay attacks)
    • 77. Signature – Generated by library
    • 78. Signature Method – Various types of methods supported (e.g. HMAC-SHA1)
    • 79. oAuth Timestamp –Unix time (valid for 5 minutes only)
    • 80. oAuth version – 1.0
    We have code samples in PHP, Perl, Ruby for you!!
  • 81. Hack IDEAS and useful API’s
    • RealTime
    • 82. Twitter/Facebook API
    • 83. Video
    • 84. YouTube data API
    • 85. Vertical search engines
    • 86. Programmable web has interesting API’s
    • 87. Local Search Engines
    • 88. Yahoo Geocoding services e.g. Placefinder
    • 89. Chrome extensions
    • 90. Mobile Applications
  • Example hacks
  • 91. DuckduCkgo.com
  • 92. Interceder
  • 93. Inquisitor: Browser Extenstion (v1)
    24
    Hack: http://www.inquisitorx.com/firefox/index_en.php
  • 94. Ask-boss (v1)
    Hack: http://ask-boss.appspot.com
    Code: https://github.com/saurabhsahni/Hacks/tree/master/askBOSS
  • 95. More resources
    • Yahoo! BOSS: http://developer.yahoo.com/boss
    • 96. BOSS Technical Documentation: http://developer.yahoo.com/search/boss/boss_api_guide/
    • 97. YQL: http://developer.yahoo.com/yql
    • 98. Fire Eagle: http://developer.yahoo.com/fireeagle/
    • 99. Google App Engine: http: //appengine.google.com
    • 100. Amazon Web Services: http://aws.amazon.com
    • 101. oAuth: http://oauth.net/
    • 102. Open Social: http://www.opensocial.org/
    • 103. Open Data: http://theinfo.org
    • 104. Alt Search Engines: http://www.altsearchengines.com/
  • Monetization and other Yahoo search services
  • 105. BOSS monetization
    • Two business Models
    • 106. CPM Only
    • 107. CPM + RPM
    • 108. We give you Ads and a revenue share
    • 109. Daily reporting for Ads
    • 110. Extensive Support through Syndication partner
  • Other yahoo search services
    Yahoo! Hosted Search
    • Yahoo! hosted service for Web search
    • 111. Limited display flexibility
    • 112. No costs associated with the service
    • 113. No Blending/Re-ranking
    • 114. Revenue share from Ads
    Yahoo! Site Search
    • Yahoo! hosted site search solution
    • 115. Better relevance algorithm based on type of content
    • 116. Web backfill of results
    • 117. Yahoo! Search Ads with revenue share