bubble的备忘录

本blog主要用于常用资料的备忘、备份、备搜索

阅读笔记 Google Example Code:Custom Search Engine Refinements

地址:http://www.google.com/uds/samples/cse/csearch.html
This sample builds on the sample above by introducing custom search engine refinements. You will note in the calls to setSiteRestriction() for the right hand side searcher, the code is using the opt_refinement argument to further restrict the search results within the custom search engine.

Curriculum Search Sample - powered by The Google AJAX Search API and Google Custom Search Engines

结论:主要针对一个个性化的搜索引擎进行搜索,包括左右两边两个搜索控件
左边的搜索控件针对整个个性化搜索引擎进行搜索,设置了more results 之后的页面样式
右边的搜索引擎包括六个搜索控件,前三个是对个性化搜索引擎的标签限定

存疑:无

可用代码:
google.search.WebSearch控件下的
.setSiteRestriction(site, opt_refinement, opt_moreResultsTemplate)
site:可以针对限定站点,个性化的搜索引擎
opt_refinement:针对个性化搜索引擎,可以进一步限定到一个标签子集
opt_moreResultsTemplate:可以指定按下more results链接后的页面样式模板

0 评论: