windows live search macros - build, share, and use your own search engine in …

31
Windows Live Windows Live Search Macros Search Macros Ramez Naam Ramez Naam Director of Program Management Director of Program Management Windows Live Search Windows Live Search NGW056 NGW056

Upload: goodfriday

Post on 23-Jan-2018

14.576 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

Windows Live Windows Live Search MacrosSearch MacrosRamez NaamRamez NaamDirector of Program ManagementDirector of Program ManagementWindows Live SearchWindows Live Search

NGW056NGW056

Page 2: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

OutlineOutline

Windows Live SearchWindows Live Search

What is a search macro?What is a search macro?

What can you do with macros?What can you do with macros?

What’s coming?What’s coming?

Q & AQ & A

Page 3: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

Windows Live SearchWindows Live Search

An integral part of Live.ComAn integral part of Live.Com

Powered by the same engine as Powered by the same engine as MSN SearchMSN Search

But with a new, more But with a new, more powerful interfacepowerful interface

Built on the Atlas frameworkBuilt on the Atlas framework

Page 4: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

Windows Live Search DemoWindows Live Search Demo

Web SearchWeb Search

FeedsFeeds

ImagesImages

Page 5: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

Windows Live Windows Live Search MacrosSearch Macros

A Macro is:A Macro is:A custom search engine A custom search engine

Defined by you or someone elseDefined by you or someone else

Shareable with othersShareable with others

Available as a tab in Live SearchAvailable as a tab in Live Search

DemoDemo

Page 6: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

Creating And Creating And Sharing MacrosSharing Macros

Today: Today: A few predefined macros at A few predefined macros at microsoftgadgets.commicrosoftgadgets.com

Next Week:Next Week:Authoring UI to create and share Authoring UI to create and share new macrosnew macros

Search of microsoftgadgets.comSearch of microsoftgadgets.com

Page 7: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

How Macros WorkHow Macros Work

Macro defines:Macro defines:A ScopeA Scope

Currently Web or NewsCurrently Web or News

Other scopes (Images, etc..) coming soonOther scopes (Images, etc..) coming soon

A “Query Augmentation”A “Query Augmentation”String that gets added to every query that String that gets added to every query that uses the macrouses the macro

Page 8: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

A Simple Macro ExampleA Simple Macro Example

““Search Microsoft.com” MacroSearch Microsoft.com” MacroScope = WebScope = Web

Definition = “site:microsoft.com”Definition = “site:microsoft.com”

Name = livesearch.microsoftName = livesearch.microsoft

What happens to a query?What happens to a query?User types “windows vista drivers”User types “windows vista drivers”

User clicks “livesearch.microsoft” macro User clicks “livesearch.microsoft” macro in the UIin the UI

Query is expanded into:Query is expanded into:Windows Vista drivers site:Microsoft.comWindows Vista drivers site:Microsoft.com

Page 9: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

What Can You Do What Can You Do With Macros?With Macros?

Page 10: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

1) Search Sites1) Search Sites

Specify list of sites to search, Specify list of sites to search, separated by ORs (or “|” character)separated by ORs (or “|” character)

Up to 10s of sites Up to 10s of sites (tell us if you want more!)(tell us if you want more!)

Example: Seattle News macro:Example: Seattle News macro:( site:seattletimes.nwsource.com | ( site:seattletimes.nwsource.com | site:www.topix.net/seattle | site:www.topix.net/seattle | site:seattlepi.nwsource.com | site:seattlepi.nwsource.com | site:www.thestranger.com ) site:www.thestranger.com )

Page 11: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

Search Sites: TipSearch Sites: Tip

Use parenthesis! Use parenthesis! You want:You want:

Monorail Monorail ( site:seattletimes.nwsource.com OR( site:seattletimes.nwsource.com OR site:www.topix.net/seattle OR site:www.topix.net/seattle OR site:seattlepi.nwsource.com OR site:seattlepi.nwsource.com OR site:www.thestranger.com ) site:www.thestranger.com )

Not:Not:Monorail Monorail site:seattletimes.nwsource.com OR site:seattletimes.nwsource.com OR site:www.topix.net/seattle OR site:www.topix.net/seattle OR site:seattlepi.nwsource.com OR site:seattlepi.nwsource.com OR site:www.thestranger.comsite:www.thestranger.com

Page 12: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

2) Filter Based on Text2) Filter Based on Text

Find only pages that contain the Find only pages that contain the word “resume”word “resume”

Query Augmentation = “resume”Query Augmentation = “resume”

Page 13: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

3) Filter Based On Parts 3) Filter Based On Parts Of PageOf Page

Find only pages that contain the word Find only pages that contain the word “resume” in the title“resume” in the title

Query Augmentation = “intitle:resume”Query Augmentation = “intitle:resume”

Page 14: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

3) Filter Based On Parts Of 3) Filter Based On Parts Of The PageThe Page

Or other parts of the page:Or other parts of the page:In the URL: In the URL: inurl:resumeinurl:resume

In the page body: In the page body: inbody:resumeinbody:resume

In text of incoming links: In text of incoming links: inanchor:resumeinanchor:resume

Page 15: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

3) Filter Based On Parts Of 3) Filter Based On Parts Of The PageThe Page

Find only pages that contain the word Find only pages that contain the word “resume” in BOTH the Title and URL:“resume” in BOTH the Title and URL:

(intitle:resume AND inurl:resume)(intitle:resume AND inurl:resume)

Page 16: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

4) Filter Based On Filetype4) Filter Based On Filetype

Find only PDFsFind only PDFsfiletype:pdffiletype:pdf

Find only PDFs or PostScript FilesFind only PDFs or PostScript Files(filetype:pdf OR filetype:ps)(filetype:pdf OR filetype:ps)

Page 17: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

5) Filter Based On 5) Filter Based On Linked FiletypesLinked Filetypes

Find only pages that link to MP3sFind only pages that link to MP3scontains:mp3contains:mp3

Find only pages that contain MP3s or Find only pages that contain MP3s or WMAsWMAs

(contains:mp3 OR contains:wma)(contains:mp3 OR contains:wma)

Page 18: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

Some Examples – Resume SearchSome Examples – Resume Search

(filetype:pdf | filetype:doc | filetype:ps | (filetype:pdf | filetype:doc | filetype:ps |

contains:pdf | contains:doc | contains:pdf | contains:doc |

contains:ps) contains:ps)

resumeresume

Page 19: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

Some Examples – Some Examples – Music SearchMusic Search

intitle:index.of intitle:index.of

(contains:mp3 | contains:wma) (contains:mp3 | contains:wma)

-html -htm -php -asp -txt -pls-html -htm -php -asp -txt -pls

Page 20: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

Some Examples – Video Some Examples – Video SearchSearch intitle:index.of intitle:index.of

(contains:mpg | contains:mpeg | (contains:mpg | contains:mpeg | contains:avi | contains:wmv ) contains:avi | contains:wmv )

-html -htm -php -asp -txt –pls-html -htm -php -asp -txt –pls

Page 21: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

6) Filter Based On Feeds6) Filter Based On Feeds

Find only RSS/Atom/XML FeedsFind only RSS/Atom/XML Feedsfeed:feed:

Find only pages that link to FeedsFind only pages that link to Feedshasfeed:hasfeed:

Page 22: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

Example – Podcast SearchExample – Podcast Search

feed: feed:

(intitle:podcast | inurl:podcast (intitle:podcast | inurl:podcast | contains:mp3 ) | contains:mp3 )

demodemo

Page 23: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

7) Filter Based On Outlinks7) Filter Based On Outlinks

Find only pages that link to Find only pages that link to http://www.microsoft.comhttp://www.microsoft.com

link:http://www.microsoft.comlink:http://www.microsoft.com

Find pages that link to any page on Find pages that link to any page on *.microsoft.com/**.microsoft.com/*

linkdomain:microsoft.comlinkdomain:microsoft.com

Page 24: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

Example – Blogs Talking Example – Blogs Talking About MicrosoftAbout Microsoft

linkdomain:microsoft.com linkdomain:microsoft.com

hasfeed: hasfeed:

(inurl:archive | inurl:archives | inurl:blog)(inurl:archive | inurl:archives | inurl:blog)

demodemo

Page 25: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

8) Filter Based On Country/8) Filter Based On Country/LanguageLanguage

Find only pages hosted in the US:Find only pages hosted in the US:location:uslocation:us

Find only pages in the German Find only pages in the German language:language:

language:delanguage:de

All based on ISO codesAll based on ISO codesSee See http://search.msn.com/docs/?t=SEARCH_REF_Codes.htmhttp://search.msn.com/docs/?t=SEARCH_REF_Codes.htm

Page 26: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

Example – Middle Example – Middle East SearchEast Search

(loc:iq | loc:eg | loc:il | loc:ir | loc:jo | (loc:iq | loc:eg | loc:il | loc:ir | loc:jo | loc:kw |loc:kw |

loc:lb | loc:ly | loc:ma | loc:om | loc:pk | loc:lb | loc:ly | loc:ma | loc:om | loc:pk |

loc:qa | loc:sa | loc:sy | loc:ye) loc:qa | loc:sa | loc:sy | loc:ye)

demodemo

Page 27: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

9) Alter The Ranking9) Alter The Ranking

Prefer:<any term, phrase, or operator>Prefer:<any term, phrase, or operator>

Example:Example:prefer:site:nytimes.comprefer:site:nytimes.com

..boosts the rank of nytimes.com results..boosts the rank of nytimes.com results

Page 28: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

Future DirectionsFuture Directions

Ship Macro Creation and Sharing – Ship Macro Creation and Sharing – Next WeekNext Week

More Control!More Control!More ways to filter and sort resultsMore ways to filter and sort results

Control over the user interfaceControl over the user interface

FeedbackFeedbackWhat are people doing with my macro?sWhat are people doing with my macro?s

More Ways to Use:More Ways to Use:Results as RSSResults as RSS

Search API integrationSearch API integration

Page 29: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

Future DirectionsFuture Directions

This is just the beginningThis is just the beginning

What do you want to see?What do you want to see?

Contact: Contact: [email protected]@microsoft.com

Page 30: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

DiscussionDiscussion

[email protected]@microsoft.com

Page 31: Windows Live Search Macros - Build, Share, and Use Your Own Search Engine in …

© 2006 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.