Your SlideShare is downloading. ×
0
Yahoo! Search BOSS<br />Tathagato Rai Dastidar (dastidar@yahoo-inc.com)<br />Engineering Manager for BOSS<br />
What is boss?<br />BUILD OWN SEARCH Service<br />
What does boss give you?<br /><ul><li>Search Data and Infrastructure
Monetization (We give you Ads!!)
Support and Tools</li></ul>BOSS is a service that provides you (the developer) flexible access to different types of data ...
<ul><li>Restful XML and JSON API
Web, Image, Spelling, News and Search Ads
More services soon
Flexibility to Blend and Re-rank Results
 Create your own look and feel
Change ranking
Mix it with other API’s
oAuth based Authentication</li></ul>What does that mean?<br />
What else do you get<br /><ul><li>Web and Limited Web results (smaller subset and at most 3 days old)
Complex query combinations and filters
Search for data in different markets
Image attributes like height, width, etc
Time span filtering for News Search
Document type filtering
Extended abstracts
Recognizes most search filters from Yahoo! and Google (backdoor hacks) </li></li></ul><li>How DO I hack with it?<br />
How do I sign up<br /><ul><li>Self-serve sign up with simple Credit Card/Paypal payment options
Visit BOSS Page or wait until the end for pricing
Simplified pricing based on query type
A combined bill for developers taking Search Advertising
 One signup, use in any market</li></ul>Don’t bother for now, we have a key setup for you<br />
The query<br /><ul><li>Tells you what the user is looking for
Powers secondary APIs
Upcoming SlideShare
Loading in...5
×

Boss open hack-2011-blr-india-v1

2,710

Published on

Presentation on BOSS at the Open Hack India 2011 event

Published in: Technology, Design
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,710
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
20
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Add Images here
  • Choose a funny image here
  • Add more
  • Fix these links
  • Transcript of "Boss open hack-2011-blr-india-v1"

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

      Clipping is a handy way to collect important slides you want to go back to later.

    ×