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

Post on 23-Jan-2018

14.576 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

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

NGW056NGW056

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

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

Windows Live Search DemoWindows Live Search Demo

Web SearchWeb Search

FeedsFeeds

ImagesImages

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

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

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

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

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

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 )

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

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”

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”

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

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)

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)

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)

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

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

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

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:

Example – Podcast SearchExample – Podcast Search

feed: feed:

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

demodemo

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

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

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

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

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

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

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: ramezn@microsoft.comramezn@microsoft.com

DiscussionDiscussion

ramezn@microsoft.comramezn@microsoft.com

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

top related