+ All Categories
Home > Technology > BOSS HackU IITD

BOSS HackU IITD

Date post: 20-Jan-2015
Category:
Upload: pradeep-varadaraja-banavara
View: 1,380 times
Download: 0 times
Share this document with a friend
Description:
 
Popular Tags:
30
@pradeepbv I work in the Y! Media team
Transcript
Page 1: BOSS HackU IITD

@pradeepbv I work in the Y! Media team

Page 2: BOSS HackU IITD
Page 3: BOSS HackU IITD

Yahoo! Search BOSS

Page 4: BOSS HackU IITD

BOSS?

http//www.flickr.com/photos/jmorgan/4189271428/sizes/o/in/photostream/.jpg

Page 5: BOSS HackU IITD

What is BOSS?

Build your

Own Search Service

My shiny little search…

http//www.flickr.com/photos/jmorgan/4189271428/sizes/o/in/photostream/.jpg

Page 6: BOSS HackU IITD

Your search service…

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

Page 7: BOSS HackU IITD

What does BOSS provide?

Search Data

and

Infrastructure

Extracted from Ra One poster - http://in.movies.yahoo.com

Page 8: BOSS HackU IITD

What does BOSS provide?

Monetization

http//www.flickr.com/photos/imuttoo/1189793194/sizes/o/in/photostream/.jpg

Page 9: BOSS HackU IITD

What does BOSS provide?

Support and Tools

Yes Boss movie poster

Page 10: BOSS HackU IITD

Restful XML and JSON API

Web

Image

Spelling

News

Search Ads

What do I get?

http//www.flickr.com/photos/joeshlabotnik/419914250/sizes/o/in/photostream/.jpg

Page 11: BOSS HackU IITD

Flexibility to Blend and Re-

rank Results

Create your own look and

feel

Change ranking

Mix it with other API’s

What can I do on top?

http://www.flickr.com/photos/balajijegan/6242907231/in/photostream

Page 12: BOSS HackU IITD

Oauth based Autentication

http//www.flickr.com/photos/friarsbalsam/5736126308/sizes/o/in/photostream/.jpg

Page 13: BOSS HackU IITD

What else do I get?

Web and Limited Web results

Image attributes

like height, width, etc

Time span filtering

for News Search

Document type filtering

Extended abstracts

http//www.flickr.com/photos/acidpix/6021203584/sizes/o/in/photostream/.jpg

Page 14: BOSS HackU IITD

How DO I hack with it?

Page 15: BOSS HackU IITD

BOSS + YQL• Table Name: boss.search

• e.g. select * from boss.search where ck=… and secret=… and q=‘iitd’

Parameters Example

Consumer Key ck -

Consumer Secret

secret -

Query Term q ‘iitd’

Page 16: BOSS HackU IITD

And through the BOSS API

Getting multiple data sets /ysearch/web,images,news?q=anna

/ysearch/web,images,news?

web.q=anna&images.q=anna&news.q=lokpal

Searching through sites A Simple Movie Search

/ysearch/web?q=“Dark Knight”&

sites=movies.yahoo.com,netflix.com,imdb.com

AND/OR operators /ysearch/web?q="steve

jobs"AND((ipad)OR(iphone))&sites=bestbuy.com,newegg.com

Important: Use Braces or quotes

Page 17: BOSS HackU IITD

Unary Operators

Search for Batman but not “Dark Knight”

q=(batman -“Dark Knight")

Find pages with “Heath Ledger” but not

“Dark Knight”

q=+”heath ledger”–”Dark

Knight”&sites=movies.yahoo.com

Force auto-spelling off

q=+”drk knight”

AND OR

Page 18: BOSS HackU IITD

Searching in body and in titleSearching for Dark Knight in the Title on Yahoo

moviesq=reviews intitle:"dark

knight"&sites=movies.yahoo.com

Searching for Dark Knight in the Title in Yahoo movies containing Christian Baleq=reviews intitle:"dark knight" inbody:"christian

bale"&sites=movies.yahoo.com

Page 19: BOSS HackU IITD

Market and document specific Filters

Search for “Dark Knight” in India specific sites

q=“Dark Knight”&market=en-in

Search for “PDF’s containing “Dark Knight” q=“Dark Knight”&type=pdf

Search for MS Office type (except PPT’s) containing “Dark Knight”

q=“Dark Knight”&type=msoffice,-ppt

Page 20: BOSS HackU IITD

Output

Page 21: BOSS HackU IITD

Image search parameters

Search for images that are not offensive

/ysearch/images?q=“san francisco”&filter=yes

Search for images that are wallpaper size

/ysearch/images?q=“san francisco”&dimensions=wallpaper

Search for a image at a certain refer URL

/ysearch/images?q=yahoo&refererurl=http://www.flickr.com

• Interesting Output Fields

format, file size, height, width, title, total result count

Page 22: BOSS HackU IITD

News search parameters

Search news that is less than 7 days old/ysearch/news?q=lokpal&age=7d

Search news that is between 20hrs and 2 days old

/ysearch/news?q=lokpal&age=20h2d

Re-rank news results by date

/ysearch/news?q=lokpal&ranking=true

Interesting Output Fields

Source, Date, Source URL

Page 23: BOSS HackU IITD

Example hacks

Page 24: BOSS HackU IITD

Duckduckgo.com

Page 25: BOSS HackU IITD

Interceder

Page 26: BOSS HackU IITD

Inquisitor: Browser Extenstion (v1)

26

Hack: http://www.inquisitorx.com/firefox/index_en.php

Page 27: BOSS HackU IITD

Ask-boss (v1)

Hack: http://ask-boss.appspot.com Code: https://github.com/saurabhsahni/Hacks/tree/master/askBOSS

Page 28: BOSS HackU IITD

webmeme.com

Page 29: BOSS HackU IITD

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

Fire Eagle: http://developer.yahoo.com/fireeagle/

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 30: BOSS HackU IITD

Thank You!&

happy hacking


Recommended