<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>精灵日志 - 发现、观察、思考 &#187; CSE</title>
	<atom:link href="http://www.bitgenius.com/blog/tag/cse/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bitgenius.com/blog</link>
	<description>关注互联网，委身IT潮</description>
	<lastBuildDate>Thu, 14 Jan 2010 09:17:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Google自定义搜索引擎出错的解决方法</title>
		<link>http://www.bitgenius.com/blog/20081224/google%e8%87%aa%e5%ae%9a%e4%b9%89%e6%90%9c%e7%b4%a2%e5%bc%95%e6%93%8e%e5%87%ba%e9%94%99%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/</link>
		<comments>http://www.bitgenius.com/blog/20081224/google%e8%87%aa%e5%ae%9a%e4%b9%89%e6%90%9c%e7%b4%a2%e5%bc%95%e6%93%8e%e5%87%ba%e9%94%99%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 03:51:31 +0000</pubDate>
		<dc:creator>梦觉</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[搜索引擎]]></category>
		<category><![CDATA[站内动态]]></category>
		<category><![CDATA[CSE]]></category>

		<guid isPermaLink="false">http://www.bitgenius.com/blog/?p=28</guid>
		<description><![CDATA[前几天使用Google自定义搜索功能做了一个蓝色理想-家园内容搜索引擎，这几天又帮朋友做了一个房地产网站的站内搜索功能，发现一个很奇怪的现象，搜索过程中经常出现无法搜索的现象，提示信息如下：
Your client has issued a malformed or illegal request.
在Google chrome浏览器一切正常，IE和Firefox出错，折腾了好半天没发现自定义搜索本身代码有什么问题，后来网上搜了搜，基本都认为是浏览器对cookie和缓存的清理引起的，大致按以下几个步骤可以解决：

清理浏览器缓存和cookie。
在Google CSE后台重新更新一下基本信息，比如将网站描述、关键词等重新更新一下
还不行的话，就直接去掉关键词这一栏。

保存后问题解决。
Update：这两天在定制一个CSE时，发现另一个可能引起失效的原因，如果你的搜索按钮是中文，例如：
&#60;input type=&#8221;submit&#8221; name=&#8221;sa&#8221; value=&#8221;搜索&#8221; /&#62;
可能会出现问题，这是你可以将搜索按钮上的文字改为英文，如：
&#60;input type=&#8221;submit&#8221; name=&#8221;sa&#8221; value=&#8221;Search&#8221; /&#62;
问题解决，很奇怪吧。。。
]]></description>
			<content:encoded><![CDATA[<p>前几天使用Google自定义搜索功能做了一个<a href="http://www.bitgenius.com/blog/20081218/%e8%93%9d%e8%89%b2%e7%90%86%e6%83%b3%e5%ae%b6%e5%9b%ad%e5%86%85%e5%ae%b9%e6%90%9c%e7%b4%a2%e5%bc%95%e6%93%8e%e5%8f%91%e5%b8%83/">蓝色理想-家园内容搜索引擎</a>，这几天又帮朋友做了一个房地产网站的站内搜索功能，发现一个很奇怪的现象，搜索过程中经常出现无法搜索的现象，提示信息如下：</p>
<p>Your client has issued a malformed or illegal request.</p>
<p>在Google chrome浏览器一切正常，IE和Firefox出错，折腾了好半天没发现自定义搜索本身代码有什么问题，后来网上搜了搜，基本都认为是浏览器对cookie和缓存的清理引起的，大致按以下几个步骤可以解决：</p>
<ol>
<li>清理浏览器缓存和cookie。</li>
<li>在Google CSE后台重新更新一下基本信息，比如将网站描述、关键词等重新更新一下</li>
<li>还不行的话，就直接去掉关键词这一栏。</li>
</ol>
<p>保存后问题解决。</p>
<p>Update：这两天在定制一个CSE时，发现另一个可能引起失效的原因，如果你的搜索按钮是中文，例如：</p>
<p>&lt;input type=&#8221;submit&#8221; name=&#8221;sa&#8221; value=&#8221;搜索&#8221; /&gt;</p>
<p>可能会出现问题，这是你可以将搜索按钮上的文字改为英文，如：</p>
<p>&lt;input type=&#8221;submit&#8221; name=&#8221;sa&#8221; value=&#8221;Search&#8221; /&gt;</p>
<p>问题解决，很奇怪吧。。。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bitgenius.com/blog/20081224/google%e8%87%aa%e5%ae%9a%e4%b9%89%e6%90%9c%e7%b4%a2%e5%bc%95%e6%93%8e%e5%87%ba%e9%94%99%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
