context with yahoo! boss

43
Saur CONTEXT CONTENT Jai Santhosh YDN Engineer, Hacker http://twitter.com/jaisanth WITH BOSS

Upload: jai-santhosh

Post on 17-Jan-2015

1.322 views

Category:

Technology


0 download

DESCRIPTION

This s

TRANSCRIPT

Page 1: Context with Yahoo! BOSS

Saurabh Sahni YDN Developer, Hacker, Evangelist

CONTEXT CONTENT

Jai SanthoshYDN Engineer, Hacker

http://twitter.com/jaisanth

WITH BOSS

Page 2: Context with Yahoo! BOSS

ADS NEED CONTEXT

Page 3: Context with Yahoo! BOSS

ADS NEED CONTENT

Page 4: Context with Yahoo! BOSS
Page 5: Context with Yahoo! BOSS

BOSS IS BUILD YOUR OWN SEARCH SERVICE

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

Page 6: Context with Yahoo! BOSS

PROVIDES APIS

TO OUR SEARCHDATA STORES

&GEO DATA

Page 7: Context with Yahoo! BOSS

TO BUILD YOUR OWNPOWERFUL

SEARCH APPLICATIONS

Page 8: Context with Yahoo! BOSS

BOSS allows you to search over

Web, Images, News, Blogs,

& Geolocation

Page 9: Context with Yahoo! BOSS

You can even monetize yourapplications using Search Ads

from BOSS

Page 10: Context with Yahoo! BOSS

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

Page 11: Context with Yahoo! BOSS

BOSS Pricing

Page 12: Context with Yahoo! BOSS

Free for building your hacks!!

Page 13: Context with Yahoo! BOSS

Where do I start?

Page 14: Context with Yahoo! BOSS

BOSS uses OAuth for security

Page 15: Context with Yahoo! BOSS

Get a FREE consumer key and secret

http://hackyourworld.org/hacku/

Page 16: Context with Yahoo! BOSS

Lets See it in Action!

Page 17: Context with Yahoo! BOSS
Page 18: Context with Yahoo! BOSS
Page 19: Context with Yahoo! BOSS
Page 20: Context with Yahoo! BOSS
Page 21: Context with Yahoo! BOSS
Page 22: Context with Yahoo! BOSS

Searching “The Dark Knight Rises”

Page 23: Context with Yahoo! BOSS
Page 24: Context with Yahoo! BOSS

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 25: Context with Yahoo! BOSS

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 26: Context with Yahoo! BOSS

Spell Check and Correction

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

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

Page 27: Context with Yahoo! BOSS

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 28: Context with Yahoo! BOSS

select * from contentanalysis.analyze where text="Yahoo! kicks off Hackday at Gurgaon"

CONTENT ANALYSIS

Page 29: Context with Yahoo! BOSS

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

CONTENT ANALYSIS FROM A URL

Page 30: Context with Yahoo! BOSS

MAKE YOUR ADS LOCATION AWARE

Page 31: Context with Yahoo! BOSS

navigator.geolocation

navigator.geolocation.getCurrentPosition()

YUI.use(‘gallery-geo’)

$.geolocation

CURRENT LOCATION

Page 32: Context with Yahoo! BOSS

select * from geo.placefinder where text="Delhi"

LOCATION SEARCH

Page 33: Context with Yahoo! BOSS

SELECT * FROM geo.placemaker WHERE documentContent = "They followed him to

deepest Africa and found him there, in Timbuktu" AND documentType="text/plain"

LOCATION ANALYSIS

Page 34: Context with Yahoo! BOSS

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 35: Context with Yahoo! BOSS

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 resultsselect * from boss.search where q="The Dark Knight Rises" and abstract="long" and ck="..." and secret="…"

• Retrieve 51-100 results of the queryselect * from boss.search where q="The Dark Knight Rises" and start=51 and ck="..." and secret="... "

Page 36: Context with Yahoo! BOSS

EXAMPLES

Page 37: Context with Yahoo! BOSS

duckduckgo.com

Page 38: Context with Yahoo! BOSS
Page 39: Context with Yahoo! BOSS
Page 40: Context with Yahoo! BOSS
Page 41: Context with Yahoo! BOSS

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/

Page 42: Context with Yahoo! BOSS

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

Page 43: Context with Yahoo! BOSS

http://slideshare.net/jaisanth

http://twitter.com/jaisanth

https://github.com/jaisanth/

Thanks!!