boss and cap
TRANSCRIPT
Finding stuff on the web using Yahoo! BOSS
by Yash Dayal
htt
p:/
/ww
w.fl
ickr
.co
m/p
ho
tos/
lazu
rite
/348
6691
753/
Yahoo! BOSS
3
© Wikipedia
Yahoo! BOSS
4
BUILD your
OWN
SEARCH
SERVICE
An API interface, like a gateway to our search data stores
5
http://www.flickr.com/photos/ianus/9033400968/
Build your own powerful Search Applications
6
Why do you need to know BOSS?
7
BOSS allows you to search
web, news images and blogs
8
You can even Monetize your applications using Search Ads
from BOSS
9
What can you customize?
Flexibility to Blend and Re-Rank Results • Create your own look and feel • Change Ranking • Mix with other API’s
10
11
12
How do I start hacking with
Yahoo! BOSS ?
13
BOSS uses oAuth based authentication
14
Get a free consumer key and secret from
http://hackindiahyderabad.pbworks.com
15
The easiest way to test stuff out is to use the YQL
Console
16
http://developer.yahoo.com/yql/console
1
2
Results
3
http://www.flickr.com/photos/tales2astonish/7650259628/
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="..."
You can check spellings and get suggestions
26
Spell Check and Correc/on select * 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/"
Que
ry C
heat
shee
t 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="..."
Que
ry C
heat
shee
t 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="... "
ALMOST BREAK TIME….
www.duckduckgo.com
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/
Thanks!!
http://flickr.com/photos/42788859@N00/318947873/