boss n cap_hack_u_iit

41
1 Finding stuff on the web using Yahoo! BOSS by: Yash Dayal tp://www.flickr.com/photos/lazurite/3486691753/

Upload: yash-dayal

Post on 17-Jan-2015

315 views

Category:

Technology


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Boss n cap_hack_u_iit

1

Finding stuff on the web using Yahoo! BOSS

by:Yash Dayal

http:

//w

ww

.flic

kr.c

om/p

hoto

s/la

zurit

e/34

8669

1753

/

Page 2: Boss n cap_hack_u_iit

2

http://www.flickr.com/photos/bijoymohan/426578345/

http://www.flickr.com/photos/eirikref/2301400023/

Page 3: Boss n cap_hack_u_iit

3

http://www.flickr.com/photos/bijoymohan/426578345/

http://www.flickr.com/photos/eirikref/2301400023/

Page 4: Boss n cap_hack_u_iit

4

Yahoo! BOSS

© Wikipedia

Page 5: Boss n cap_hack_u_iit

5

Yahoo! BOSS

BUILD your

OWN

SEARCH

SERVICE

Page 6: Boss n cap_hack_u_iit

6

An API interface, like a gateway to our search data stores

Page 7: Boss n cap_hack_u_iit

7

Build your own powerful Search Applications

Page 8: Boss n cap_hack_u_iit

8

Why do you need to know BOSS?

Page 9: Boss n cap_hack_u_iit

9

BOSS allows you to search

web, newsimages and blogs

Page 10: Boss n cap_hack_u_iit

10

You can even Monetize your

applications using Search Ads

from BOSS

Page 11: Boss n cap_hack_u_iit

11

What can you customize?

Flexibility to Blend and Re-Rank Results

• Create your own look and feel• Change Ranking• Mix with other API’s

Page 12: Boss n cap_hack_u_iit

12

All good things come at a cost…

Page 13: Boss n cap_hack_u_iit

13

Page 14: Boss n cap_hack_u_iit

14

How do I start hacking with

Yahoo! BOSS ?

Page 15: Boss n cap_hack_u_iit

15

BOSS uses oAuth based authentication

Page 16: Boss n cap_hack_u_iit

16

Get a free consumer keyand secret from

http://www.hackyourworld.org

Page 17: Boss n cap_hack_u_iit

Ok!.. Now what?

Page 18: Boss n cap_hack_u_iit

18

The easiest way to test stuff out is to use the

YQL Console

http://developer.yahoo.com/yql/console

Page 19: Boss n cap_hack_u_iit
Page 20: Boss n cap_hack_u_iit
Page 21: Boss n cap_hack_u_iit

21

Page 22: Boss n cap_hack_u_iit

1

2

Results

3

Page 23: Boss n cap_hack_u_iit
Page 24: Boss n cap_hack_u_iit
Page 25: Boss n cap_hack_u_iit
Page 26: Boss n cap_hack_u_iit

select * from boss.search where q=”Iron Man" and service="images" and ck="..." and secret="..."

Page 27: Boss n cap_hack_u_iit

select * from boss.search where q=”Iron Man"

and service="news” and ck="..." and secret="..."

Page 28: Boss n cap_hack_u_iit

select * from boss.search where q=”Iron Man" and sites="imdb.com,

movies.yahoo.com" and ck="..." and secret="..."

Page 29: Boss n cap_hack_u_iit

29

You can check spellings and get suggestions

Page 30: Boss n cap_hack_u_iit

Spell Check and Correctionselect * from boss.search

where q=”Irin Man” and service="spelling" and

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

Page 31: Boss n cap_hack_u_iit

Content Analysis

http://www.flickr.com/photos/nasa_goddard/5188180370/

Page 32: Boss n cap_hack_u_iit
Page 33: Boss n cap_hack_u_iit

select * from contentanalysis.analyze where

text="Yahoo! kicks off OpenHack at Hyderabad"

Page 34: Boss n cap_hack_u_iit

Content Analysis from a URL

select * from contentanalysis.analyze where

url="http://www.cnn.com/"

Page 35: Boss n cap_hack_u_iit

Qu

ery

Ch

eats

heet

Find images of “Iron Man”

select * from boss.search where q=”Iron Man" and service="images" and ck="..." and secret="..."

Find reviews of “Iron Man”

select * from boss.search where q="reviews in title: Iron Man" and service="web" and ck="..." and secret="…"

Search for Iron Man but not the movie:

select * from boss.search where q=”Iron Man -movie" and ck="..." and secret="... "

Search pdfs of “Iron Man”

select * from boss.search where q=”Iron Man" and type="pdf" and ck="..." and secret="..."

Page 36: Boss n cap_hack_u_iit

Find all the news of “Iron Man”

select * from boss.search where q="Iron Man" and service="news" and ck="..." and secret="..."

Get long abstracts in the results

select * from boss.search where q="Iron Man" and abstract="long" and ck="..." and secret="…"

Retrieve 51-100 results of the query

select * from boss.search where q="Iron Man" and start=51 and ck="..." and secret="... "

Qu

ery

Ch

eats

heet

Page 37: Boss n cap_hack_u_iit

Hurray!!

Almost the end…

Page 38: Boss n cap_hack_u_iit

www.duckduckgo.com

Page 39: Boss n cap_hack_u_iit
Page 40: Boss n cap_hack_u_iit

More ResourcesYahoo! 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 41: Boss n cap_hack_u_iit

Thanks!!

http://flickr.com/photos/42788859@N00/318947873/