<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>《打造完美的 ajax 版 Google 自定义搜索》的评论</title>
	<atom:link href="http://fis.io/ajax-google-custom-search-engine.html/feed" rel="self" type="application/rss+xml" />
	<link>http://fis.io/ajax-google-custom-search-engine.html</link>
	<description>IT 相关的博客，分享关于Google, Firefox, 黑莓, 手机, 软件, WordPress, ...</description>
	<lastBuildDate>Tue, 08 May 2012 13:48:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>A搜索</title>
		<link>http://fis.io/ajax-google-custom-search-engine.html#comment-13651</link>
		<dc:creator>A搜索</dc:creator>
		<pubDate>Tue, 08 May 2012 13:48:46 +0000</pubDate>
		<guid isPermaLink="false">http://fis.io/?p=1708#comment-13651</guid>
		<description>学习了！！！但请问有没有办法让出来的结果的链接不是通过google的url跳转阿？遇到敏感词时一跳转就被墙，貌似90秒左右</description>
		<content:encoded><![CDATA[<p>学习了！！！但请问有没有办法让出来的结果的链接不是通过google的url跳转阿？遇到敏感词时一跳转就被墙，貌似90秒左右</p>
]]></content:encoded>
	</item>
	<item>
		<title>【代码】高度定制的Ajax版Google自定义搜索 - 卜卜口の猫窝</title>
		<link>http://fis.io/ajax-google-custom-search-engine.html#comment-13641</link>
		<dc:creator>【代码】高度定制的Ajax版Google自定义搜索 - 卜卜口の猫窝</dc:creator>
		<pubDate>Thu, 12 Apr 2012 21:25:58 +0000</pubDate>
		<guid isPermaLink="false">http://fis.io/?p=1708#comment-13641</guid>
		<description>[...] 一直以来用的Google自定义搜索都是由Google提供的code(老肥的博文之前有介绍) [...]</description>
		<content:encoded><![CDATA[<p>[...] 一直以来用的Google自定义搜索都是由Google提供的code(老肥的博文之前有介绍) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>fisio</title>
		<link>http://fis.io/ajax-google-custom-search-engine.html#comment-13594</link>
		<dc:creator>fisio</dc:creator>
		<pubDate>Mon, 19 Dec 2011 14:54:39 +0000</pubDate>
		<guid isPermaLink="false">http://fis.io/?p=1708#comment-13594</guid>
		<description>不是去掉了自定搜索的搜索框，而是留了它，去掉了原来位置的那个</description>
		<content:encoded><![CDATA[<p>不是去掉了自定搜索的搜索框，而是留了它，去掉了原来位置的那个</p>
]]></content:encoded>
	</item>
	<item>
		<title>小小</title>
		<link>http://fis.io/ajax-google-custom-search-engine.html#comment-13592</link>
		<dc:creator>小小</dc:creator>
		<pubDate>Sat, 17 Dec 2011 16:19:35 +0000</pubDate>
		<guid isPermaLink="false">http://fis.io/?p=1708#comment-13592</guid>
		<description>博主，你是怎样去掉自定搜索再带的那个搜索框的？</description>
		<content:encoded><![CDATA[<p>博主，你是怎样去掉自定搜索再带的那个搜索框的？</p>
]]></content:encoded>
	</item>
	<item>
		<title>为主题添加ajax版的谷歌搜索 &#8211; 站长交流 - 闲云野鹤夫妻博客</title>
		<link>http://fis.io/ajax-google-custom-search-engine.html#comment-13575</link>
		<dc:creator>为主题添加ajax版的谷歌搜索 &#8211; 站长交流 - 闲云野鹤夫妻博客</dc:creator>
		<pubDate>Wed, 30 Nov 2011 12:51:36 +0000</pubDate>
		<guid isPermaLink="false">http://fis.io/?p=1708#comment-13575</guid>
		<description>[...] 写完了，看了看，觉得自己写的东西也是比较晦涩难懂的，不知道能有几个人看懂，不过大概就是复制什么的就可以了，真是搞不定了，就去看老肥同学的这篇文章吧。 [...]</description>
		<content:encoded><![CDATA[<p>[...] 写完了，看了看，觉得自己写的东西也是比较晦涩难懂的，不知道能有几个人看懂，不过大概就是复制什么的就可以了，真是搞不定了，就去看老肥同学的这篇文章吧。 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>ipage</title>
		<link>http://fis.io/ajax-google-custom-search-engine.html#comment-13567</link>
		<dc:creator>ipage</dc:creator>
		<pubDate>Sat, 19 Nov 2011 08:03:17 +0000</pubDate>
		<guid isPermaLink="false">http://fis.io/?p=1708#comment-13567</guid>
		<description>博主这个留言板，太好了</description>
		<content:encoded><![CDATA[<p>博主这个留言板，太好了</p>
]]></content:encoded>
	</item>
	<item>
		<title>河河</title>
		<link>http://fis.io/ajax-google-custom-search-engine.html#comment-13552</link>
		<dc:creator>河河</dc:creator>
		<pubDate>Sun, 06 Nov 2011 03:19:20 +0000</pubDate>
		<guid isPermaLink="false">http://fis.io/?p=1708#comment-13552</guid>
		<description>这个评论框很好玩</description>
		<content:encoded><![CDATA[<p>这个评论框很好玩</p>
]]></content:encoded>
	</item>
	<item>
		<title>AaronLAM~</title>
		<link>http://fis.io/ajax-google-custom-search-engine.html#comment-13526</link>
		<dc:creator>AaronLAM~</dc:creator>
		<pubDate>Sun, 09 Oct 2011 03:31:47 +0000</pubDate>
		<guid isPermaLink="false">http://fis.io/?p=1708#comment-13526</guid>
		<description>GOOGLE 提供的东西都那么好利用。 :D</description>
		<content:encoded><![CDATA[<p>GOOGLE 提供的东西都那么好利用。 <img src='/b.gif' alt=':D' class='wp-smiley sm-grin' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Smartree智树阁</title>
		<link>http://fis.io/ajax-google-custom-search-engine.html#comment-13399</link>
		<dc:creator>Smartree智树阁</dc:creator>
		<pubDate>Thu, 21 Jul 2011 07:54:23 +0000</pubDate>
		<guid isPermaLink="false">http://fis.io/?p=1708#comment-13399</guid>
		<description>果然很好、
楼主域名也很棒啊</description>
		<content:encoded><![CDATA[<p>果然很好、<br />
楼主域名也很棒啊</p>
]]></content:encoded>
	</item>
	<item>
		<title>Django 开发中使用 Google custom search API - webguo在路上</title>
		<link>http://fis.io/ajax-google-custom-search-engine.html#comment-12909</link>
		<dc:creator>Django 开发中使用 Google custom search API - webguo在路上</dc:creator>
		<pubDate>Tue, 14 Jun 2011 08:08:23 +0000</pubDate>
		<guid isPermaLink="false">http://fis.io/?p=1708#comment-12909</guid>
		<description>[...] Django 开发中使用 Google custom search API  June 14th, 2011  发表评论2011/06/14/django_google_custom_search.html 阅读评论    我们的网站通常都要集成搜索服务。通常情况下，我们都使用自己的搜索后端，例如使用Django，对于Python，我们主要有两种选择，一种是Whoosh，它是纯Python写成的搜索后端；另一种则是著名的Lucene的Python扩展，PyLucene，要提醒使用PyLucene，需要安装JVM。以后的文章我会介绍他们。不过，今天的主角显然不是它们。因为有时候，我们并不需要这么麻烦，有时我们只需要集成一个Google搜索在其中就可以了。那么，Google custom search就派上了用场。在这里，我们也有三种方案：用iframe版本的cse，使用这种方式，甚至不需要写什么代码。使用Google ajax API，使用ajax方式获取搜索结果，然后用js将结果呈现在页面上。使用Custom search API，在后端使用Python的http编程，远程获取json方式的结果，并把数据渲染到模板中。在一切开始之前，必须先创建一个新的自定义搜索。在cse页面上，点击“Create a Custom Search Engine”，如果已经新建过了，点击下面的“manage your existing search engines”。创建或进入管理界面以后，在“Control panel”中可以得到Search engine unique ID，常常用cx标记。在Control panel中有众多设置，比如你的网站不是所有页面都想被索引，你可以在“Sites”设置匹配规则。或者，你可以把网站的sitemap添加到“Indexing”中，更多请参考cse页面中说明。使用iframe版本的cse是相当简单的，直接拷贝cse提供的html代码拷贝到自己页面即可，这里不多赘述。对于第二种方式，请参考这篇文章，讲的很详细。本文主要讲解第三种方式。要使用Custom search API获取json方式的结果，首先需在Google APIs console中开启（需翻墙），来获取API的key。要注意的是，使用这种方式，每天只能免费搜索100次。不过对于个人网站，100次基本上够用了。假设现在我们已经获取了API的key和cx。那我们就正式开始。大量代码段，请移步原文&gt;&gt;    分类:  Django  标签:  django&#160;    相关文章 [...]</description>
		<content:encoded><![CDATA[<p>[...] Django 开发中使用 Google custom search API  June 14th, 2011  发表评论2011/06/14/django_google_custom_search.html 阅读评论    我们的网站通常都要集成搜索服务。通常情况下，我们都使用自己的搜索后端，例如使用Django，对于Python，我们主要有两种选择，一种是Whoosh，它是纯Python写成的搜索后端；另一种则是著名的Lucene的Python扩展，PyLucene，要提醒使用PyLucene，需要安装JVM。以后的文章我会介绍他们。不过，今天的主角显然不是它们。因为有时候，我们并不需要这么麻烦，有时我们只需要集成一个Google搜索在其中就可以了。那么，Google custom search就派上了用场。在这里，我们也有三种方案：用iframe版本的cse，使用这种方式，甚至不需要写什么代码。使用Google ajax API，使用ajax方式获取搜索结果，然后用js将结果呈现在页面上。使用Custom search API，在后端使用Python的http编程，远程获取json方式的结果，并把数据渲染到模板中。在一切开始之前，必须先创建一个新的自定义搜索。在cse页面上，点击“Create a Custom Search Engine”，如果已经新建过了，点击下面的“manage your existing search engines”。创建或进入管理界面以后，在“Control panel”中可以得到Search engine unique ID，常常用cx标记。在Control panel中有众多设置，比如你的网站不是所有页面都想被索引，你可以在“Sites”设置匹配规则。或者，你可以把网站的sitemap添加到“Indexing”中，更多请参考cse页面中说明。使用iframe版本的cse是相当简单的，直接拷贝cse提供的html代码拷贝到自己页面即可，这里不多赘述。对于第二种方式，请参考这篇文章，讲的很详细。本文主要讲解第三种方式。要使用Custom search API获取json方式的结果，首先需在Google APIs console中开启（需翻墙），来获取API的key。要注意的是，使用这种方式，每天只能免费搜索100次。不过对于个人网站，100次基本上够用了。假设现在我们已经获取了API的key和cx。那我们就正式开始。大量代码段，请移步原文&gt;&gt;    分类:  Django  标签:  django&nbsp;    相关文章 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>kaixiang</title>
		<link>http://fis.io/ajax-google-custom-search-engine.html#comment-12856</link>
		<dc:creator>kaixiang</dc:creator>
		<pubDate>Wed, 11 May 2011 12:42:20 +0000</pubDate>
		<guid isPermaLink="false">http://fis.io/?p=1708#comment-12856</guid>
		<description>学习了 ;D</description>
		<content:encoded><![CDATA[<p>学习了 <img src='/b.gif' alt=';D' class='wp-smiley sm-wink' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>陋室博客</title>
		<link>http://fis.io/ajax-google-custom-search-engine.html#comment-12844</link>
		<dc:creator>陋室博客</dc:creator>
		<pubDate>Wed, 27 Apr 2011 15:36:20 +0000</pubDate>
		<guid isPermaLink="false">http://fis.io/?p=1708#comment-12844</guid>
		<description>好久没更新文章啦？
好文章，原来谷歌搜索也有API</description>
		<content:encoded><![CDATA[<p>好久没更新文章啦？<br />
好文章，原来谷歌搜索也有API</p>
]]></content:encoded>
	</item>
	<item>
		<title>落幕</title>
		<link>http://fis.io/ajax-google-custom-search-engine.html#comment-12817</link>
		<dc:creator>落幕</dc:creator>
		<pubDate>Fri, 08 Apr 2011 13:49:58 +0000</pubDate>
		<guid isPermaLink="false">http://fis.io/?p=1708#comment-12817</guid>
		<description>有空试试 :)</description>
		<content:encoded><![CDATA[<p>有空试试 <img src='/b.gif' alt=':)' class='wp-smiley sm-smile' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>囧囧儿</title>
		<link>http://fis.io/ajax-google-custom-search-engine.html#comment-12805</link>
		<dc:creator>囧囧儿</dc:creator>
		<pubDate>Wed, 30 Mar 2011 14:41:52 +0000</pubDate>
		<guid isPermaLink="false">http://fis.io/?p=1708#comment-12805</guid>
		<description>博主是技术党啊。这个个性搜索蛮实用的。支持下</description>
		<content:encoded><![CDATA[<p>博主是技术党啊。这个个性搜索蛮实用的。支持下</p>
]]></content:encoded>
	</item>
	<item>
		<title>fx</title>
		<link>http://fis.io/ajax-google-custom-search-engine.html#comment-12781</link>
		<dc:creator>fx</dc:creator>
		<pubDate>Wed, 16 Mar 2011 02:07:38 +0000</pubDate>
		<guid isPermaLink="false">http://fis.io/?p=1708#comment-12781</guid>
		<description>有时候我在线我们的博客真的需要那么强大的搜索功能吗？我现在改用默认的了，懒得改模板</description>
		<content:encoded><![CDATA[<p>有时候我在线我们的博客真的需要那么强大的搜索功能吗？我现在改用默认的了，懒得改模板</p>
]]></content:encoded>
	</item>
	<item>
		<title>snowperd</title>
		<link>http://fis.io/ajax-google-custom-search-engine.html#comment-12778</link>
		<dc:creator>snowperd</dc:creator>
		<pubDate>Sat, 12 Mar 2011 10:47:47 +0000</pubDate>
		<guid isPermaLink="false">http://fis.io/?p=1708#comment-12778</guid>
		<description>你这个主题是我见过最强悍的了，哇，这个方法更爽，哈哈，偶像啊</description>
		<content:encoded><![CDATA[<p>你这个主题是我见过最强悍的了，哇，这个方法更爽，哈哈，偶像啊</p>
]]></content:encoded>
	</item>
	<item>
		<title>任平生</title>
		<link>http://fis.io/ajax-google-custom-search-engine.html#comment-12776</link>
		<dc:creator>任平生</dc:creator>
		<pubDate>Fri, 11 Mar 2011 02:34:29 +0000</pubDate>
		<guid isPermaLink="false">http://fis.io/?p=1708#comment-12776</guid>
		<description>听说今天是纪念日
嗯
 :P</description>
		<content:encoded><![CDATA[<p>听说今天是纪念日<br />
嗯<br />
 <img src='/b.gif' alt=':P' class='wp-smiley sm-tongue' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>亿品元素</title>
		<link>http://fis.io/ajax-google-custom-search-engine.html#comment-12770</link>
		<dc:creator>亿品元素</dc:creator>
		<pubDate>Sat, 05 Mar 2011 05:32:16 +0000</pubDate>
		<guid isPermaLink="false">http://fis.io/?p=1708#comment-12770</guid>
		<description>非常实用的文章</description>
		<content:encoded><![CDATA[<p>非常实用的文章</p>
]]></content:encoded>
	</item>
	<item>
		<title>蒂娜莉莎</title>
		<link>http://fis.io/ajax-google-custom-search-engine.html#comment-12768</link>
		<dc:creator>蒂娜莉莎</dc:creator>
		<pubDate>Fri, 04 Mar 2011 15:32:49 +0000</pubDate>
		<guid isPermaLink="false">http://fis.io/?p=1708#comment-12768</guid>
		<description>很不错，收藏了！ :D</description>
		<content:encoded><![CDATA[<p>很不错，收藏了！ <img src='/b.gif' alt=':D' class='wp-smiley sm-grin' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>枯木</title>
		<link>http://fis.io/ajax-google-custom-search-engine.html#comment-12764</link>
		<dc:creator>枯木</dc:creator>
		<pubDate>Thu, 03 Mar 2011 04:40:07 +0000</pubDate>
		<guid isPermaLink="false">http://fis.io/?p=1708#comment-12764</guid>
		<description>很少人用到博客上的搜索~~</description>
		<content:encoded><![CDATA[<p>很少人用到博客上的搜索~~</p>
]]></content:encoded>
	</item>
</channel>
</rss>

