Boss and Geo
-
Upload
mambo91 -
Category
Technology
-
view
465 -
download
3
description
Transcript of Boss and Geo
![Page 1: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/1.jpg)
Let’s BOSS
search and geo
http://developer.yahoo.com/search/boss/
![Page 2: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/2.jpg)
BOSS is Build your own search service
![Page 3: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/3.jpg)
Provides APIs To our Search
database
![Page 4: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/4.jpg)
TO BUILD your own powerful
Search applications
![Page 5: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/5.jpg)
BOSS allows you to search over
Web, images, news & Blogs
![Page 6: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/6.jpg)
![Page 7: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/7.jpg)
BOSS Pricing
![Page 8: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/8.jpg)
Free for building your hacks!!
![Page 9: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/9.jpg)
BOSS uses OAuth for security
Code : https://github.com/sourind/hacku/
![Page 10: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/10.jpg)
Get a FREE consumer key and
secret
http://hackyourworld.org/hacku/
![Page 11: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/11.jpg)
http://developer.yahoo.com/yql/console/
![Page 12: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/12.jpg)
![Page 13: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/13.jpg)
3. Copy This url
1. Select yql query 2. Select output format
![Page 14: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/14.jpg)
![Page 15: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/15.jpg)
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 16: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/16.jpg)
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 17: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/17.jpg)
Spell Check and Correction select * from boss.search where q="The Dirk
Knight Rises" and service="spelling" and ck="..." and secret="..."
![Page 18: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/18.jpg)
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 19: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/19.jpg)
Lets See it in Action!
![Page 20: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/20.jpg)
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 21: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/21.jpg)
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 results
• select * from boss.search where q="The Dark Knight Rises" and abstract="long" and ck="..." and secret="…"
• Retrieve 51-100 results of the query • select * from boss.search where q="The Dark Knight
Rises" and start=51 and ck="..." and secret="... "
![Page 22: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/22.jpg)
EXAMPLES
![Page 23: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/23.jpg)
duckduckgo.com
![Page 24: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/24.jpg)
![Page 25: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/25.jpg)
GEO
![Page 26: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/26.jpg)
Time Traveler
Paper: Automatic Construction of Travel Itineraries using Social Breadcrumbs
![Page 27: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/27.jpg)
Geo Examples • Geoplanet: http://y.ahoo.it/164Q9
Select * from geo.places where text="sfo”
• PlaceFinder: http://yhoo.it/VNvKqV Select * from google.geocoding where q="40.714224,-73.961452”
• PlaceSpotter: http://y.ahoo.it/HmOeY
Infer location from IP & Content
• Get flickr images of Kolkata, searching by geo http://y.ahoo.it/3byUF
![Page 28: Boss and Geo](https://reader034.fdocuments.us/reader034/viewer/2022051610/548281ecb079591f0c8b47bf/html5/thumbnails/28.jpg)
Resources • Yahoo! BOSS api
developer.yahoo.com/search/boss/boss_api_guide/
• Oauth sample code https://github.com/sourind/hacku/
• Consumer key and secret hackyourworld.org/hacku/