BOSS around the web

36
Saur BOSS AROUND THE WEB Jai Santhosh YDN Engineer, Hacker http://twitter.com/jaisanth http://www.flickr.com/photos/sumrow/1267682594/sizes/l/

description

Slides of the talk on using BOSS and Content Analysis APIs for searching data on the Web given at the HackU event at IIT Bombay.

Transcript of BOSS around the web

Page 1: BOSS around the web

Saurabh Sahni YDN Developer, Hacker, Evangelist

BOSS AROUND THE WEB

Jai SanthoshYDN Engineer, Hacker

http://twitter.com/jaisanthhttp://www.flickr.com/photos/sumrow/1267682594/sizes/l/

Page 2: BOSS around the web

BOSS IS BUILD YOUR OWN SEARCH SERVICE

http://developer.yahoo.com/search/boss/

Page 3: BOSS around the web

PROVIDES APIS

TO OUR SEARCHDATA STORES

Page 4: BOSS around the web

TO BUILD YOUR OWNPOWERFUL

SEARCH APPLICATIONS

Page 5: BOSS around the web

BOSS allows you to search over

Web, images, news & Blogs

Page 6: BOSS around the web

You can even monetize yourapplications using Search Ads

from BOSS

Page 7: BOSS around the web

What can be done on top of BOSS?• Blend and re-rank search results

• Your own look and feel

• Mix it with other APIs

Page 8: BOSS around the web

BOSS Pricing

Page 9: BOSS around the web

Free for build your hacks!!

Page 10: BOSS around the web

Where do I start?

Page 11: BOSS around the web

BOSS uses OAuth for security

Page 12: BOSS around the web

Get a FREE consumer key and secret

http://hackyourworld.org/hacku/

Page 13: BOSS around the web
Page 14: BOSS around the web
Page 15: BOSS around the web
Page 16: BOSS around the web
Page 17: BOSS around the web
Page 18: BOSS around the web

Searching “The Dark Knight Rises”

Page 19: BOSS around the web
Page 20: BOSS around the web

Finding images of “The Dark Knight Rises”

select * from boss.search where q="The Dark Knight Rises" and service="images" and

ck="..." and secret="..."

Page 21: BOSS around the web

Finding “The Dark Knight Rises” in IMDB, movies.yahoo.com

select * from boss.search where q="The Dark Knight Rises" and

sites="imdb.com,movies.yahoo.com" and ck="..." and secret="..."

Page 22: BOSS around the web

Spell Check and Correction

select * from boss.search where q="The Dark Knight Rises" and service="spelling" and

ck="..." and secret="..."

Page 23: BOSS around the web

Finding news on “The Dark Knight Rises”

select * from boss.search where q="The Dark Knight Rises" and service="news" and ck="..."

and secret="..."

Page 24: BOSS around the web

Content Analysis

select * from contentanalysis.analyze where text="Yahoo! kicks off HackU at IIT Bombay"

Page 25: BOSS around the web

Content Analysis from a URL

select * from contentanalysis.analyze where url="http://www.cnn.com/"

Page 26: BOSS around the web

Lets See it in Action!

Page 27: BOSS around the web

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="..."

Page 28: BOSS around the web

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="... "

Page 29: BOSS around the web

EXAMPLES

Page 30: BOSS around the web

duckduckgo.com

Page 31: BOSS around the web
Page 32: BOSS around the web
Page 33: BOSS around the web
Page 34: BOSS around the web

More Resources• Yahoo! BOSS: http://developer.yahoo.com/boss • BOSS Technical Documentation:

http://developer.yahoo.com/search/boss/boss_api_guide/

• YQL: http://developer.yahoo.com/yql • Google App Engine: http: //appengine.google.com • Amazon Web Services: http://aws.amazon.com • oAuth: http://oauth.net/ • Open Social: http://www.opensocial.org/ • Open Data: http://theinfo.org • Alt Search Engines: http://www.altsearchengines.com/

Page 35: BOSS around the web

Questions??http://www.flickr.com/photos/reem_unique/4119729692/

Page 36: BOSS around the web

• http://slideshare.net/jaisanth

• http://twitter.com/jaisanth

• https://github.com/jaisanth/

Thanks!!