Live Search Ecosystem WEB 252 Windows Live Live

  • Slides: 39
Download presentation
Live Search Ecosystem WEB 252

Live Search Ecosystem WEB 252

课程内容安排 Windows Live 平台 Live Search Ecosystem Live Search Web Service Live Search Macro

课程内容安排 Windows Live 平台 Live Search Ecosystem Live Search Web Service Live Search Macro Live Search Box Q&A

Windows Live 开发者网站 http: //dev. live. com

Windows Live 开发者网站 http: //dev. live. com

Live Search Ecosystem 概述

Live Search Ecosystem 概述

Search Ecosystem 框架

Search Ecosystem 框架

商业模型 Syndication model 概念阐述 如何实现 Search Web Service Affiliation model 概念阐述 如何实现 Search Box

商业模型 Syndication model 概念阐述 如何实现 Search Web Service Affiliation model 概念阐述 如何实现 Search Box and other web widgets distribution

现有的合作伙伴 External 伙伴 Amazon BBC Firstgov Lycos 更多。。。 Internal 伙伴 Microsoft. com / MSNBC

现有的合作伙伴 External 伙伴 Amazon BBC Firstgov Lycos 更多。。。 Internal 伙伴 Microsoft. com / MSNBC / MSDN MSN Sites Space, Money, Auto, Travel, etc. 更多。。。

Live Search Web Service “Search and You shall Find”

Live Search Web Service “Search and You shall Find”

如何使用Live Search Web Service? 将Windows Live搜索Web Service加入 程 选择在 程中加入一个Web引用 http: //soap. search. msn.

如何使用Live Search Web Service? 将Windows Live搜索Web Service加入 程 选择在 程中加入一个Web引用 http: //soap. search. msn. com/webservices. asmx? wsdl

如何使用Live Search Web Service? 如何发送一个搜索请求 Search. Request req = new Search. Request(); req. App.

如何使用Live Search Web Service? 如何发送一个搜索请求 Search. Request req = new Search. Request(); req. App. ID = “Your Application ID”; req. Culture. Info = “en-us”; req. query = “Windows Live Search”; requests = new Source. Request[1]; requests[0]. Offset = 0; requests[0]. Count = 10; requests[0]. Source = Source. Type. Web; Search. Response resp = req. Search();

如何使用Live Search Web Service? Request对象

如何使用Live Search Web Service? Request对象

如何使用Live Search Web Service? 如何使用搜索结果 for (int i = 0; i < resp. Responses.

如何使用Live Search Web Service? 如何使用搜索结果 for (int i = 0; i < resp. Responses. Count; i++) { sz. Result += resp. Responses[i]. Source + “: ” + resp. Responses[i]. Total. To. String() + “rn”; for (int j = 0; j < resp. Responses[i]. Results. Count; j++) { sz. Result += “t. Title: ” + resp. Responses[i]. Results[j]. Title + “rn” + “t. Url: ” + resp. Responses[i]. Results[j]. Url + “rn”; } }

如何使用Live Search Web Service? Response对象

如何使用Live Search Web Service? Response对象

如何申请Live Search Web Service 浏览申请网站:http: //search. msn. com/developer 使用Windows Live ID登录

如何申请Live Search Web Service 浏览申请网站:http: //search. msn. com/developer 使用Windows Live ID登录

Live Search Macro “Create your own Custom Search Engine”

Live Search Macro “Create your own Custom Search Engine”

为什么要使用Search Macro? 情景一:针对性的搜索 搜索互联网的其中一部分 有时“在哪里搜”比“搜什么”更重要 例子 andyed. scobelizer (linkdomain: scobelizer. wordpress. com | linkdomain:

为什么要使用Search Macro? 情景一:针对性的搜索 搜索互联网的其中一部分 有时“在哪里搜”比“搜什么”更重要 例子 andyed. scobelizer (linkdomain: scobelizer. wordpress. com | linkdomain: www. kunal. org/scoble | linkdomain: radio. weblogs. com/0001011 | linkdomain: scoble. weblogs. com) rvp. mscoding site: (msdn. microsoft. com msdn 2. microsoft. com blogs. msdn. com asp. net windowsforms. net forums. microsoft. com gotdotnet. com codeproject. com support. microsoft. com mvps. org msmvps. com)

为什么要使用Search Macro? 情景四:分享某一领域的专长知识 livesearch. parenting (site: parenting. com OR site: parenting. org OR site:

为什么要使用Search Macro? 情景四:分享某一领域的专长知识 livesearch. parenting (site: parenting. com OR site: parenting. org OR site: parenting. ivillage. com OR site: www. positiveparenting. com OR site: www. familyeducation. com OR site: kidshealth. org OR site: tnpc. com OR site: babyparenting. about. com OR site: parentingteens. about. com OR site: childparenting. about. com OR site: parenthacks. com) livesearch. psychology (linkdomain: www. psychology. org | link: en. wikipedia. org/wiki/Psychology | linkdomain: www. apa. org | site: cogprint. org | site: acm. org | site: www. nimh. nih. gov | linkdomain: psychcentral. com | site: www. socialpsychology. org | link: en. wikipedia. org/wiki/Psychology | link: http: //en. wikipedia. org/wiki/Psychologist | site: psychclassics. yorku. ca)

为什么要使用Search Macro? 情景五:分享对高级搜索符的认识 Windows Live Search 提供许多高级搜索操作符。例如, linkdomain: , inurl: , intitle: , 和prefer.

为什么要使用Search Macro? 情景五:分享对高级搜索符的认识 Windows Live Search 提供许多高级搜索操作符。例如, linkdomain: , inurl: , intitle: , 和prefer. 但用的人不多。 大多数人没时间来研究和了解这些操作符,或是嫌输入太麻 烦。对一般用户,可能会比较难理解。 Search Macro 可以让一般用户利用到Windws Live Search 的强大功能。 使用方便,你不需要知道背后复杂的操作符。 livesearch. homepages "prefer: intitle: ""'s"" (homepage | intitle: ""home"" | intitle: ""'s page"" | ""my favorite"" | ""my interests"" | inurl: ""~"")" livesearch. libraries "prefer: inurl: . gov (prefer: books | prefer: catalog | prefer: ""public library"") (library | libraries)"

你能做什么? 创建Search Macro 分享Search Macro 使用Search Macro

你能做什么? 创建Search Macro 分享Search Macro 使用Search Macro

一个简单的Search Macro例子

一个简单的Search Macro例子

Live Search Box “Keep Customer on Your site when searching”

Live Search Box “Keep Customer on Your site when searching”

Search Web Service 怎样开始: http: //dev. live. com/blogs/livesearch/archive/2006/03/2 3/27. aspx 帮助信息: http: //msdn. microsoft.

Search Web Service 怎样开始: http: //dev. live. com/blogs/livesearch/archive/2006/03/2 3/27. aspx 帮助信息: http: //msdn. microsoft. com/library/default. asp? url=/libra ry/enus/MSN_Search_Web_Service_SDK/HTML/Introducin g. The. MSNSearch. Web. Service. asp C# 例子: http: //www. microsoft. com/downloads/details. aspx? Fa mily. ID=9 ea 3 e 675 -de 3 a-428 d-ac 2 da 61526 a 097 c 8&displaylang=en

Search Macros 帮助文档: http: //help. live. com/(c. HJvam. Vjd. D 1 XTF 9 TZWFy.

Search Macros 帮助文档: http: //help. live. com/(c. HJvam. Vjd. D 1 XTF 9 TZWFy. Y 2 h 2 M SZt. YXJr. ZXQ 9 ZW 4 td. XM=)/Help. aspx? querytype=topic &query=WL_SEARCH_CONC_Macros. htm&fs=1 搜索Macros: http: //gallery. live. com/default. aspx? l=4 创建Macro: http: //search. live. com/macros 反馈, Email: [email protected] com Search Box (即将推出)