Post on 17-Jan-2015
description
transcript
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
/
2
http://www.flickr.com/photos/bijoymohan/426578345/
http://www.flickr.com/photos/eirikref/2301400023/
3
http://www.flickr.com/photos/bijoymohan/426578345/
http://www.flickr.com/photos/eirikref/2301400023/
4
Yahoo! BOSS
© Wikipedia
5
Yahoo! BOSS
BUILD your
OWN
SEARCH
SERVICE
6
An API interface, like a gateway to our search data stores
7
Build your own powerful Search Applications
8
Why do you need to know BOSS?
9
BOSS allows you to search
web, newsimages and blogs
10
You can even Monetize your
applications using Search Ads
from BOSS
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
12
All good things come at a cost…
13
14
How do I start hacking with
Yahoo! BOSS ?
15
BOSS uses oAuth based authentication
16
Get a free consumer keyand secret from
http://www.hackyourworld.org
Ok!.. Now what?
18
The easiest way to test stuff out is to use the
YQL Console
http://developer.yahoo.com/yql/console
21
1
2
Results
3
select * from boss.search where q=”Iron Man" and service="images" and ck="..." and secret="..."
select * from boss.search where q=”Iron Man"
and service="news” and ck="..." and secret="..."
select * from boss.search where q=”Iron Man" and sites="imdb.com,
movies.yahoo.com" and ck="..." and secret="..."
29
You can check spellings and get suggestions
Spell Check and Correctionselect * from boss.search
where q=”Irin Man” and service="spelling" and
ck="..." and secret="..."
Content Analysis
http://www.flickr.com/photos/nasa_goddard/5188180370/
select * from contentanalysis.analyze where
text="Yahoo! kicks off OpenHack at Hyderabad"
Content Analysis from a URL
select * from contentanalysis.analyze where
url="http://www.cnn.com/"
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="..."
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
Hurray!!
Almost the end…
www.duckduckgo.com
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/
Thanks!!
http://flickr.com/photos/42788859@N00/318947873/