<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[飞扬的口袋 2010 - WebDesign]]></title>
<link>http://www.koodai.com.cn/</link>
<description><![CDATA[不要牺牲自己的追求去点亮别人眼中的光环~]]></description>
<language>zh-cn</language>
<copyright><![CDATA[Copyright 2005 PBlog3 v2.8]]></copyright>
<webMaster><![CDATA[kisscb@126.com(ben)]]></webMaster>
<generator>PBlog2 v2.4</generator> 
<image>
	<title>飞扬的口袋 2010</title>
	<url>http://www.koodai.com.cn/images/logos.gif</url>
	<link>http://www.koodai.com.cn/</link>
	<description>飞扬的口袋 2010</description>
</image>

			<item>
			<link>http://www.koodai.com.cn/article/WebDesign/心里空荡荡的.htm</link>
			<title><![CDATA[心里空荡荡的]]></title>
			<author>kisscb@126.com(admin)</author>
			<category><![CDATA[WebDesign]]></category>
			<pubDate>Tue,30 Mar 2010 22:13:11 +0800</pubDate>
			<guid>http://www.koodai.com.cn/default.asp?id=816</guid>
		<description><![CDATA[<p>心里空荡荡！</p>
<p>不愿多想，就是感觉特别失落和无聊</p>]]></description>
		</item>
		
			<item>
			<link>http://www.koodai.com.cn/article/WebDesign/web开发者的境界.htm</link>
			<title><![CDATA[web开发者的境界 ]]></title>
			<author>kisscb@126.com(admin)</author>
			<category><![CDATA[WebDesign]]></category>
			<pubDate>Mon,17 Aug 2009 00:17:20 +0800</pubDate>
			<guid>http://www.koodai.com.cn/default.asp?id=723</guid>
		<description><![CDATA[<p>自我感觉，web deveopler 有如下几种境界：</p>
<p><b><font color="#009933">第零重：肉体凡胎，</font></b>这个时期指代的是对于计算机编程毫无基础，对于变量、常量、循环、迭代、条件&hellip;&hellip;一无所知的人；</p>
<p><font color="#003399"><b>第一重：筑道之基，</b></font>有了上面第零重做基础，这个时期内开发者对于语言有一定的基础，但是对于特定的语言刚刚理解语法等常识；</p>
<p><font color="#006699"><b>第二重：引气入体，</b></font>对于语言使用不够纯熟，对于语法、函数、框架等感觉似是而非，除了比做个HELLO WORLD稍微难点的东西外，几乎什么都做不了的人；</p>
<p><font color="#006699"><b>第三重：练气化神，</b></font>这个境界的人应该是看了一些小程序的源码，写过一个小的留言本，完成了Ten Minutes Blog的小盆友，是的，是小盆友，这个时候你还说明都不算！别骄傲，继续努力；</p>
<p><font color="#006699"><b>第四重：炼神返虚，</b></font>到了这个境界，基本上可以完成一些常规的开发了，勉强算是一个&ldquo;开发者&rdquo;了，这个时候就该开始了解MVC分层架构、框架、数据库优化、高级正则匹配等知识了；</p>
<p><font color="#006699"><b>第五重：返虚合道，</b></font>经过一两年甚至更长时间的开发实践，不断的学习积累和追求新技术的情况下，这个时候已经可以完成大中型项目的架构，完成安全、高效的系统，并且不断的向社区贡献力量。尝试最新的玩意，比如JAVA+.NET+PHP的开发，中间件。分布式数据库部署(这个严格意义上有Database Manager来完成，但是作为开发者你必须要做出别人可以方便部署的系统结构)、附件的分布式部署与存取、负载平衡等一系列工作。</p>
<p><font color="#006699"><b>第六重：神域，</b></font>作为这个境界的高手，我们只有在传说中才能听到，一般周围几乎不会出现，比如设计编程语言&mdash;&mdash;如Ruby之父松本行弘一流的，心情不好了就搞一门编程语言出来，我等无法望其项背啊！我们永远在踏着他们的脚步前进，却落后的十万八千里，之间差距之大委实不可言表！</p>
<p>在我的学习经验中，任何一门语言，最是做完hello world前后令人无法忍受：之前需要下载很多的软件，搭建开发环境，如果不熟悉，光是开发环境的搭建都得花费很多时间。还没做程序呢，自己心都乏了，无法继续~~&nbsp; 之后呢，看着书照猫画虎的在canvas上打印了一个hello world的字符串&mdash;&mdash;闷骚者一般输出 hello XXX (其中XXX为某闷骚男的字号<img alt="" src="http://www.koodai.com.cn/FCKeditor/editor/images/smiley/qq2007/51.gif" />)，然后练习了一番加减乘除法运算，差不多了，自己想要写个NB叉叉的CMS出来了，结果发现根本无从下手！再读书，发现书里的知识难记、表达拗口、繁复、逻辑不清 &mdash;&mdash;总之这本书写的很烂，读不懂，或者读了理解不清楚，知识点记不住！哎呀，真是痛苦！！！这是一个学习的黑暗期，最是乏味和无助，如果能熬过这一时期，必然感觉神清气爽海阔天空！这个时候开始，我的建议是一定要和人交流，去相关的社区论坛多读多记，如果感觉基础知识不行，就下死力气练习基本功！这方面 CSDN 、博客园 、JAVAEYE、phpchina 都是非常出色的社区，里面有无数大牛小牛混迹出没，有问题一定要通过搜索，搜索不行了论坛提问等手段搞的彻彻底底清清楚楚明明白白！我的看法是，自己琢磨很重要！一定要自己研究！别人给出了代码，但是自己再敲一遍，然后默写一遍，再思考一遍，再变通着使用一遍，这个问题基本上就可以说是结了！最后，记得不忘学英语&mdash;&mdash;很多新技术全是用英语在发布；还有给社区做贡献&mdash;&mdash;帮助和之前小菜一样的你一样的新手，不但可以树立圈子里自己的威望，而且能加深对技术的理解&hellip;&hellip;</p>
<p>恩，其实还有很多啊，只是不知道从何说起，而且~~关键问题是哥要去嘘嘘了<img alt="" src="http://www.koodai.com.cn/FCKeditor/editor/images/smiley/qq2007/13.gif" /> ，时间不早了，全火星的人民们，晚安咯~</p>]]></description>
		</item>
		
			<item>
			<link>http://www.koodai.com.cn/article/WebDesign/jQuery-Bing-API-search-engine.htm</link>
			<title><![CDATA[使用jQuery及Bing API实现简易搜索引擎]]></title>
			<author>kisscb@126.com(admin)</author>
			<category><![CDATA[WebDesign]]></category>
			<pubDate>Tue,07 Jul 2009 00:54:49 +0800</pubDate>
			<guid>http://www.koodai.com.cn/default.asp?id=695</guid>
		<description><![CDATA[<p>文章来源于： http://css9.net/jquery-ajax-bing-api-search </p>
<p>微软在今年六月正式发布了Live搜索的继承者Bing，同时也提供了一套非常全面的API。如同<a href="http://css9.net/google-api-all-in-one-book/">Google API</a>，通过使用Bing API，Web开发者可以在网站中集成bing搜索中的各种服务，从而丰富网站功能，并为网站带来流量。本篇文章通过一个完整的使用示例，向大家展示如何使用jQuery来调用Bing API实现简单的Web搜索引擎，并对Bing API有一个基本的了解。</p>
<p>首先我们来感性感受一下：<a href="http://css9.net/examples/200906/jquery_bing/"><strong>在线示例</strong></a></p>
<p>Bing API提供了三种检索结果数据类型：SOAP、XML、JSON，在示例中是通过jQuery ajax调用json数据类型接口展示数据的。下面我们来看它的实现：</p>
<p><strong>准备工作：</strong></p>
<p>微软通过Bing API站点向我们展示了详细的开发文档：</p>
<ol>
    <li>访问bing开发者站点：<a onclick="javascript:pageTracker._trackPageview('/outbound/article/bing.com');" href="http://bing.com/developers">http://bing.com/developers</a>，在这里也可以找到<a onclick="javascript:pageTracker._trackPageview('/outbound/article/msdn.microsoft.com');" href="http://msdn.microsoft.com/en-us/library/dd251056.aspx">Bing API在MSDN上的入口</a></li>
    <li>使用微软的账户登录（没有只能先注册一个啦）</li>
    <li>填写表格，获取&ldquo;APP ID&rdquo;（用来调用API时用的，微软要确定你是微软的开发者）</li>
</ol>
<p><strong>HTML部分</strong></p>
<p>页面元素很简单，主要包括检索入口、结果显示区域、结果描述、错误信息显示及翻页导航五部分，下面看HTML：</p>
<div class="wp_syntax">
<div class="code">
<pre style="font-family: monospace;" class="html4strict">
        <span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(0, 0, 0); font-weight: bold;">div</span> <span style="color: rgb(0, 0, 102);">class</span><span style="color: rgb(102, 204, 102);">=</span><span style="color: rgb(255, 0, 0);">&quot;line search-content&quot;</span>&gt;</span>
            <span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(0, 0, 0); font-weight: bold;">div</span> <span style="color: rgb(0, 0, 102);">class</span><span style="color: rgb(102, 204, 102);">=</span><span style="color: rgb(255, 0, 0);">&quot;column col-threefifths&quot;</span>&gt;</span>
                <span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(0, 0, 0); font-weight: bold;">h3</span> <span style="color: rgb(0, 0, 102);">id</span><span style="color: rgb(102, 204, 102);">=</span><span style="color: rgb(255, 0, 0);">&quot;results-header&quot;</span>&gt;&lt;<span style="color: rgb(102, 204, 102);">/</span><span style="color: rgb(0, 0, 0); font-weight: bold;">h3</span>&gt;</span>
                <span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(0, 0, 0); font-weight: bold;">p</span> <span style="color: rgb(0, 0, 102);">id</span><span style="color: rgb(102, 204, 102);">=</span><span style="color: rgb(255, 0, 0);">&quot;results-summary&quot;</span>&gt;&lt;<span style="color: rgb(102, 204, 102);">/</span><span style="color: rgb(0, 0, 0); font-weight: bold;">p</span>&gt;</span>
<span style="color: rgb(128, 128, 128);">&lt;!--结果显示区域--&gt;</span>
                <span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(0, 0, 0); font-weight: bold;">div</span> <span style="color: rgb(0, 0, 102);">id</span><span style="color: rgb(102, 204, 102);">=</span><span style="color: rgb(255, 0, 0);">&quot;search-result&quot;</span>&gt;</span>
                    <span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(0, 0, 0); font-weight: bold;">h3</span>&gt;</span>搜索结果<span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(102, 204, 102);">/</span><span style="color: rgb(0, 0, 0); font-weight: bold;">h3</span>&gt;</span>
<span style="color: rgb(128, 128, 128);">&lt;!-- 结果描述，例如总共多少条，但前是哪些条 --&gt;</span>
                    <span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(0, 0, 0); font-weight: bold;">div</span> <span style="color: rgb(0, 0, 102);">id</span><span style="color: rgb(102, 204, 102);">=</span><span style="color: rgb(255, 0, 0);">&quot;result-aggregates&quot;</span> <span style="color: rgb(0, 0, 102);">class</span><span style="color: rgb(102, 204, 102);">=</span><span style="color: rgb(255, 0, 0);">&quot;results&quot;</span>&gt;&lt;<span style="color: rgb(102, 204, 102);">/</span><span style="color: rgb(0, 0, 0); font-weight: bold;">div</span>&gt;</span>
                    <span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(0, 0, 0); font-weight: bold;">ul</span> <span style="color: rgb(0, 0, 102);">id</span><span style="color: rgb(102, 204, 102);">=</span><span style="color: rgb(255, 0, 0);">&quot;result-list&quot;</span> <span style="color: rgb(0, 0, 102);">class</span><span style="color: rgb(102, 204, 102);">=</span><span style="color: rgb(255, 0, 0);">&quot;results&quot;</span>&gt;</span>
                    <span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(102, 204, 102);">/</span><span style="color: rgb(0, 0, 0); font-weight: bold;">ul</span>&gt;</span>
<span style="color: rgb(128, 128, 128);">&lt;!--翻页导航--&gt;</span>
                    <span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(0, 0, 0); font-weight: bold;">ul</span> <span style="color: rgb(0, 0, 102);">id</span><span style="color: rgb(102, 204, 102);">=</span><span style="color: rgb(255, 0, 0);">&quot;result-navigation&quot;</span> <span style="color: rgb(0, 0, 102);">class</span><span style="color: rgb(102, 204, 102);">=</span><span style="color: rgb(255, 0, 0);">&quot;result-navigation&quot;</span>&gt;</span>
                        <span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(0, 0, 0); font-weight: bold;">li</span> <span style="color: rgb(0, 0, 102);">id</span><span style="color: rgb(102, 204, 102);">=</span><span style="color: rgb(255, 0, 0);">&quot;prev&quot;</span>&gt;</span><span style="color: rgb(221, 187, 0);">&amp;laquo;</span><span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(102, 204, 102);">/</span><span style="color: rgb(0, 0, 0); font-weight: bold;">li</span>&gt;</span>
                        <span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(0, 0, 0); font-weight: bold;">li</span> <span style="color: rgb(0, 0, 102);">id</span><span style="color: rgb(102, 204, 102);">=</span><span style="color: rgb(255, 0, 0);">&quot;next&quot;</span>&gt;</span><span style="color: rgb(221, 187, 0);">&amp;raquo;</span><span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(102, 204, 102);">/</span><span style="color: rgb(0, 0, 0); font-weight: bold;">li</span>&gt;</span>
                    <span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(102, 204, 102);">/</span><span style="color: rgb(0, 0, 0); font-weight: bold;">ul</span>&gt;</span>
                <span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(102, 204, 102);">/</span><span style="color: rgb(0, 0, 0); font-weight: bold;">div</span>&gt;</span>
<span style="color: rgb(128, 128, 128);">&lt;!--错误信息显示--&gt;</span>
                <span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(0, 0, 0); font-weight: bold;">p</span> <span style="color: rgb(0, 0, 102);">id</span><span style="color: rgb(102, 204, 102);">=</span><span style="color: rgb(255, 0, 0);">&quot;error-list&quot;</span>&gt;</span>
                <span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(102, 204, 102);">/</span><span style="color: rgb(0, 0, 0); font-weight: bold;">p</span>&gt;</span>
            <span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(102, 204, 102);">/</span><span style="color: rgb(0, 0, 0); font-weight: bold;">div</span>&gt;</span>
<span style="color: rgb(128, 128, 128);">&lt;!-- 搜索入口 --&gt;</span>
            <span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(0, 0, 0); font-weight: bold;">div</span> <span style="color: rgb(0, 0, 102);">class</span><span style="color: rgb(102, 204, 102);">=</span><span style="color: rgb(255, 0, 0);">&quot;column last-col&quot;</span>&gt;</span>
                <span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(0, 0, 0); font-weight: bold;">h3</span>&gt;</span>输入搜索词:<span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(102, 204, 102);">/</span><span style="color: rgb(0, 0, 0); font-weight: bold;">h3</span>&gt;</span>
                <span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(0, 0, 0); font-weight: bold;">p</span>&gt;</span>
                    <span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(0, 0, 0); font-weight: bold;">input</span> <span style="color: rgb(0, 0, 102);">id</span><span style="color: rgb(102, 204, 102);">=</span><span style="color: rgb(255, 0, 0);">&quot;txtQuery&quot;</span> <span style="color: rgb(0, 0, 102);">type</span><span style="color: rgb(102, 204, 102);">=</span><span style="color: rgb(255, 0, 0);">&quot;text&quot;</span> <span style="color: rgb(0, 0, 102);">title</span><span style="color: rgb(102, 204, 102);">=</span><span style="color: rgb(255, 0, 0);">&quot;Search Terms&quot;</span> <span style="color: rgb(102, 204, 102);">/</span>&gt;</span>
                    <span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(0, 0, 0); font-weight: bold;">button</span> <span style="color: rgb(0, 0, 102);">id</span><span style="color: rgb(102, 204, 102);">=</span><span style="color: rgb(255, 0, 0);">&quot;btnSearch&quot;</span> <span style="color: rgb(0, 0, 102);">type</span><span style="color: rgb(102, 204, 102);">=</span><span style="color: rgb(255, 0, 0);">&quot;button&quot;</span> <span style="color: rgb(0, 0, 102);">title</span><span style="color: rgb(102, 204, 102);">=</span><span style="color: rgb(255, 0, 0);">&quot;搜索&quot;</span>&gt;</span>搜索<span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(102, 204, 102);">/</span><span style="color: rgb(0, 0, 0); font-weight: bold;">button</span>&gt;</span>
                <span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(102, 204, 102);">/</span><span style="color: rgb(0, 0, 0); font-weight: bold;">p</span>&gt;</span>
            <span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(102, 204, 102);">/</span><span style="color: rgb(0, 0, 0); font-weight: bold;">div</span>&gt;</span>
        <span style="color: rgb(0, 153, 0);">&lt;<span style="color: rgb(102, 204, 102);">/</span><span style="color: rgb(0, 0, 0); font-weight: bold;">div</span>&gt;</span></pre>
</div>
</div>
<p><strong>通过jQuery调用Bing API部分</strong></p>
<ol>
    <li>定义Bing API需要传入的一些参数：
    <div class="wp_syntax">
    <div class="code">
    <pre style="font-family: monospace;" class="javascript">
    <span style="color: rgb(0, 102, 0);">//申请的APP ID，这里换成你自己的。</span>
    <span style="color: rgb(0, 51, 102); font-weight: bold;">var</span> AppId <span style="color: rgb(51, 153, 51);">=</span> <span style="color: rgb(51, 102, 204);">&quot;AppId=31F3C13DC5D41C42D4A18F9E04DE1DEA73762186&quot;</span><span style="color: rgb(51, 153, 51);">;</span>
    <span style="color: rgb(0, 102, 0);">//通过用户输入搜索词获得检索串</span>
    <span style="color: rgb(0, 51, 102); font-weight: bold;">var</span> Query <span style="color: rgb(51, 153, 51);">=</span> <span style="color: rgb(51, 102, 204);">&quot;Query=&quot;</span>
    <span style="color: rgb(0, 102, 0);">//指定检索来源类型，Bing提供了网页、视频、图片等所有类型，参考API</span>
    <span style="color: rgb(0, 102, 0);">//这里指定的是网页类型</span>
    <span style="color: rgb(0, 51, 102); font-weight: bold;">var</span> Sources <span style="color: rgb(51, 153, 51);">=</span> <span style="color: rgb(51, 102, 204);">&quot;Sources=Web&quot;</span><span style="color: rgb(51, 153, 51);">;</span>
    <span style="color: rgb(0, 102, 0);">//指定API版本</span>
    <span style="color: rgb(0, 51, 102); font-weight: bold;">var</span> Version <span style="color: rgb(51, 153, 51);">=</span> <span style="color: rgb(51, 102, 204);">&quot;Version=2.0&quot;</span><span style="color: rgb(51, 153, 51);">;</span>
    <span style="color: rgb(0, 102, 0);">//指定所在地区，如google，每个地区搜索结果是不一样的，这里指定中国</span>
    <span style="color: rgb(0, 51, 102); font-weight: bold;">var</span> Market <span style="color: rgb(51, 153, 51);">=</span> <span style="color: rgb(51, 102, 204);">&quot;Market=zh-cn&quot;</span><span style="color: rgb(51, 153, 51);">;</span> 
    <span style="color: rgb(0, 102, 0);">//一些选项设置，这里开启搜索结果中的搜索词高亮</span>
    <span style="color: rgb(0, 51, 102); font-weight: bold;">var</span> Options <span style="color: rgb(51, 153, 51);">=</span> <span style="color: rgb(51, 102, 204);">&quot;Options=EnableHighlighting&quot;</span><span style="color: rgb(51, 153, 51);">;</span>
    <span style="color: rgb(0, 102, 0);">//每页返回条数</span>
    <span style="color: rgb(0, 51, 102); font-weight: bold;">var</span> WebCount <span style="color: rgb(51, 153, 51);">=</span> <span style="color: rgb(204, 0, 0);">10</span><span style="color: rgb(51, 153, 51);">;</span>
    <span style="color: rgb(0, 102, 0);">//当前为第几页，从0开始的</span>
    <span style="color: rgb(0, 51, 102); font-weight: bold;">var</span> WebOffset <span style="color: rgb(51, 153, 51);">=</span> <span style="color: rgb(204, 0, 0);">0</span><span style="color: rgb(51, 153, 51);">;</span></pre>
    </div>
    </div>
    </li>
    <li>为搜索按钮绑定处理方法：
    <div class="wp_syntax">
    <div class="code">
    <pre style="font-family: monospace;" class="javascript">
$<span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(0, 51, 102); font-weight: bold;">function</span><span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(0, 153, 0);">)</span> <span style="color: rgb(0, 153, 0);">{</span>
    $<span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(51, 102, 204);">'#btnSearch'</span><span style="color: rgb(0, 153, 0);">)</span>.<span style="color: rgb(102, 0, 102);">click</span><span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(0, 51, 102); font-weight: bold;">function</span><span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(0, 153, 0);">)</span> <span style="color: rgb(0, 153, 0);">{</span>
<span style="color: rgb(0, 102, 0);">//这里调用最关键的Search方法，取数据</span>
        Search<span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(0, 153, 0);">)</span><span style="color: rgb(51, 153, 51);">;</span>
    <span style="color: rgb(0, 153, 0);">}</span><span style="color: rgb(0, 153, 0);">)</span><span style="color: rgb(51, 153, 51);">;</span>
<span style="color: rgb(0, 153, 0);">}</span><span style="color: rgb(0, 153, 0);">)</span><span style="color: rgb(51, 153, 51);">;</span></pre>
    </div>
    </div>
    </li>
    <li>下面来看最关键的Search部分，调用API获取结果数据：
    <div class="wp_syntax">
    <div class="code">
    <pre style="font-family: monospace;" class="javascript">
$<span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(0, 51, 102); font-weight: bold;">function</span><span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(0, 153, 0);">)</span> <span style="color: rgb(0, 153, 0);">{</span>
<span style="color: rgb(0, 51, 102); font-weight: bold;">function</span> Search<span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(0, 153, 0);">)</span> <span style="color: rgb(0, 153, 0);">{</span>
&nbsp;
<span style="color: rgb(0, 102, 0);">//获取用户输入的搜索词，并替换空格为&ldquo;+&rdquo;</span>
        <span style="color: rgb(0, 51, 102); font-weight: bold;">var</span> searchTerms <span style="color: rgb(51, 153, 51);">=</span> $<span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(51, 102, 204);">'#txtQuery'</span><span style="color: rgb(0, 153, 0);">)</span>.<span style="color: rgb(102, 0, 102);">val</span><span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(0, 153, 0);">)</span>.<span style="color: rgb(102, 0, 102);">replace</span><span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(51, 102, 204);">&quot; &quot;</span><span style="color: rgb(51, 153, 51);">,</span> <span style="color: rgb(51, 102, 204);">&quot;+&quot;</span><span style="color: rgb(0, 153, 0);">)</span><span style="color: rgb(51, 153, 51);">;</span>
&nbsp;
<span style="color: rgb(0, 102, 0);">//防止传输中文时产生乱码</span>
        searchTerms <span style="color: rgb(51, 153, 51);">=</span> <span style="color: rgb(0, 0, 102); font-weight: bold;">encodeURI</span><span style="color: rgb(0, 153, 0);">(</span>searchTerms<span style="color: rgb(0, 153, 0);">)</span><span style="color: rgb(51, 153, 51);">;</span>   
&nbsp;
<span style="color: rgb(0, 102, 0);">//将接口需要的所有参数封装为数组</span>
        <span style="color: rgb(0, 51, 102); font-weight: bold;">var</span> arr <span style="color: rgb(51, 153, 51);">=</span> <span style="color: rgb(0, 153, 0);">[</span>AppId<span style="color: rgb(51, 153, 51);">,</span> Query <span style="color: rgb(51, 153, 51);">+</span> searchTerms<span style="color: rgb(51, 153, 51);">,</span> Sources<span style="color: rgb(51, 153, 51);">,</span> Version<span style="color: rgb(51, 153, 51);">,</span> Market<span style="color: rgb(51, 153, 51);">,</span> Options<span style="color: rgb(51, 153, 51);">,</span> <span style="color: rgb(51, 102, 204);">&quot;Web.Count=&quot;</span> <span style="color: rgb(51, 153, 51);">+</span> WebCount<span style="color: rgb(51, 153, 51);">,</span> <span style="color: rgb(51, 102, 204);">&quot;Web.Offset=&quot;</span> <span style="color: rgb(51, 153, 51);">+</span> WebOffset<span style="color: rgb(51, 153, 51);">,</span> <span style="color: rgb(51, 102, 204);">&quot;JsonType=callback&quot;</span><span style="color: rgb(51, 153, 51);">,</span> <span style="color: rgb(51, 102, 204);">&quot;JsonCallback=?&quot;</span><span style="color: rgb(0, 153, 0);">]</span><span style="color: rgb(51, 153, 51);">;</span>
&nbsp;
<span style="color: rgb(0, 102, 0);">//将参数数组拼装成url串，最终得到bing的URL Service的请求URL</span>
        <span style="color: rgb(0, 51, 102); font-weight: bold;">var</span> requestStr <span style="color: rgb(51, 153, 51);">=</span> <span style="color: rgb(51, 102, 204);">&quot;http://api.search.live.net/json.aspx?&quot;</span> <span style="color: rgb(51, 153, 51);">+</span> arr.<span style="color: rgb(102, 0, 102);">join</span><span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(51, 102, 204);">&quot;&amp;&quot;</span><span style="color: rgb(0, 153, 0);">)</span><span style="color: rgb(51, 153, 51);">;</span>
&nbsp;
<span style="color: rgb(0, 102, 0);">//通过jquery ajax调用bing json数据接口</span>
        $.<span style="color: rgb(102, 0, 102);">ajax</span><span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(0, 153, 0);">{</span>
            type<span style="color: rgb(51, 153, 51);">:</span> <span style="color: rgb(51, 102, 204);">&quot;GET&quot;</span><span style="color: rgb(51, 153, 51);">,</span>
            url<span style="color: rgb(51, 153, 51);">:</span> requestStr<span style="color: rgb(51, 153, 51);">,</span>
 <span style="color: rgb(0, 102, 0);">//指定数据类型为jsonp</span>
            dataType<span style="color: rgb(51, 153, 51);">:</span> <span style="color: rgb(51, 102, 204);">&quot;jsonp&quot;</span><span style="color: rgb(51, 153, 51);">,</span>  
&nbsp;
<span style="color: rgb(0, 102, 0);">//调用成功后返回数据对象，并调用处理方法</span>
            success<span style="color: rgb(51, 153, 51);">:</span> <span style="color: rgb(0, 51, 102); font-weight: bold;">function</span><span style="color: rgb(0, 153, 0);">(</span>msg<span style="color: rgb(0, 153, 0);">)</span> <span style="color: rgb(0, 153, 0);">{</span>
                SearchCompleted<span style="color: rgb(0, 153, 0);">(</span>msg<span style="color: rgb(0, 153, 0);">)</span><span style="color: rgb(51, 153, 51);">;</span>
            <span style="color: rgb(0, 153, 0);">}</span><span style="color: rgb(51, 153, 51);">,</span>
            error<span style="color: rgb(51, 153, 51);">:</span> <span style="color: rgb(0, 51, 102); font-weight: bold;">function</span><span style="color: rgb(0, 153, 0);">(</span>msg<span style="color: rgb(0, 153, 0);">)</span> <span style="color: rgb(0, 153, 0);">{</span>
                <span style="color: rgb(0, 0, 102);">alert</span><span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(51, 102, 204);">&quot;Something hasn't worked<span style="color: rgb(0, 0, 153); font-weight: bold;">\n</span>&quot;</span> <span style="color: rgb(51, 153, 51);">+</span> msg.<span style="color: rgb(102, 0, 102);">d</span><span style="color: rgb(0, 153, 0);">)</span><span style="color: rgb(51, 153, 51);">;</span>
            <span style="color: rgb(0, 153, 0);">}</span>
        <span style="color: rgb(0, 153, 0);">}</span><span style="color: rgb(0, 153, 0);">)</span><span style="color: rgb(51, 153, 51);">;</span>
    <span style="color: rgb(0, 153, 0);">}</span>
<span style="color: rgb(0, 153, 0);">}</span><span style="color: rgb(0, 153, 0);">)</span><span style="color: rgb(51, 153, 51);">;</span></pre>
    </div>
    </div>
    <p>我们看到在使用jquery ajax时，指定数据类型为jsonp，jsonp是一种可跨域访问的协议，我对其也不是非常清楚，可以在<a onclick="javascript:pageTracker._trackPageview('/outbound/article/www.cn-cuckoo.com');" href="http://www.cn-cuckoo.com/2008/09/13/the-origin-of-jsonp-262.html">这里</a>了解一下。</p>
    </li>
    <li>再来看获取到数据后的UI处理，主要包括显示结果和显示错误信息两部分：
    <div class="wp_syntax">
    <div class="code">
    <pre style="font-family: monospace;" class="javascript">
&nbsp;
    <span style="color: rgb(0, 51, 102); font-weight: bold;">function</span> SearchCompleted<span style="color: rgb(0, 153, 0);">(</span>response<span style="color: rgb(0, 153, 0);">)</span> <span style="color: rgb(0, 153, 0);">{</span>
<span style="color: rgb(0, 102, 0);">//检查结果数据对象中的Errors对象，判断是否发生错误</span>
        <span style="color: rgb(0, 51, 102); font-weight: bold;">var</span> errors <span style="color: rgb(51, 153, 51);">=</span> response.<span style="color: rgb(102, 0, 102);">SearchResponse</span>.<span style="color: rgb(102, 0, 102);">Errors</span><span style="color: rgb(51, 153, 51);">;</span>
        <span style="color: rgb(0, 0, 102); font-weight: bold;">if</span> <span style="color: rgb(0, 153, 0);">(</span>errors <span style="color: rgb(51, 153, 51);">!=</span> <span style="color: rgb(0, 51, 102); font-weight: bold;">null</span><span style="color: rgb(0, 153, 0);">)</span> <span style="color: rgb(0, 153, 0);">{</span>
            <span style="color: rgb(0, 102, 0);">// 发生错误的话调用错误信息显示方法</span>
            DisplayErrors<span style="color: rgb(0, 153, 0);">(</span>errors<span style="color: rgb(0, 153, 0);">)</span><span style="color: rgb(51, 153, 51);">;</span>
        <span style="color: rgb(0, 153, 0);">}</span>
        <span style="color: rgb(0, 0, 102); font-weight: bold;">else</span> <span style="color: rgb(0, 153, 0);">{</span>
            <span style="color: rgb(0, 102, 0);">// 没有错误的话调用结果信息显示方法</span>
            DisplayResults<span style="color: rgb(0, 153, 0);">(</span>response<span style="color: rgb(0, 153, 0);">)</span><span style="color: rgb(51, 153, 51);">;</span>
        <span style="color: rgb(0, 153, 0);">}</span>
    <span style="color: rgb(0, 153, 0);">}</span></pre>
    </div>
    </div>
    <p>下面是显示结果方法，因为要改变UI，所以代码多一点，不过这里可以感受一下jquery中dom操作的灵活。</p>
    <div class="wp_syntax">
    <div class="code">
    <pre style="font-family: monospace;" class="javascript">
    <span style="color: rgb(0, 51, 102); font-weight: bold;">function</span> DisplayResults<span style="color: rgb(0, 153, 0);">(</span>response<span style="color: rgb(0, 153, 0);">)</span> <span style="color: rgb(0, 153, 0);">{</span>
<span style="color: rgb(0, 102, 0);">//清空结果列表</span>
        $<span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(51, 102, 204);">&quot;#result-list&quot;</span><span style="color: rgb(0, 153, 0);">)</span>.<span style="color: rgb(102, 0, 102);">html</span><span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(51, 102, 204);">&quot;&quot;</span><span style="color: rgb(0, 153, 0);">)</span><span style="color: rgb(51, 153, 51);">;</span>  
 <span style="color: rgb(0, 102, 0);">//清空翻页导航</span>
        $<span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(51, 102, 204);">&quot;#result-navigation li&quot;</span><span style="color: rgb(0, 153, 0);">)</span>.<span style="color: rgb(102, 0, 102);">filter</span><span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(51, 102, 204);">&quot;.nav-page&quot;</span><span style="color: rgb(0, 153, 0);">)</span>.<span style="color: rgb(102, 0, 102);">remove</span><span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(0, 153, 0);">)</span><span style="color: rgb(51, 153, 51);">;</span>   
<span style="color: rgb(0, 102, 0);">// 清空结果描述信息</span>
        $<span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(51, 102, 204);">&quot;#result-aggregates&quot;</span><span style="color: rgb(0, 153, 0);">)</span>.<span style="color: rgb(102, 0, 102);">children</span><span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(0, 153, 0);">)</span>.<span style="color: rgb(102, 0, 102);">remove</span><span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(0, 153, 0);">)</span><span style="color: rgb(51, 153, 51);">;</span> 
&nbsp;
<span style="color: rgb(0, 102, 0);">//获取结果数据对象</span>
        <span style="color: rgb(0, 51, 102); font-weight: bold;">var</span> results <span style="color: rgb(51, 153, 51);">=</span> response.<span style="color: rgb(102, 0, 102);">SearchResponse</span>.<span style="color: rgb(102, 0, 102);">Web</span>.<span style="color: rgb(102, 0, 102);">Results</span><span style="color: rgb(51, 153, 51);">;</span>  
&nbsp;
<span style="color: rgb(0, 102, 0);">//描述信息部分，即总过多少条，当前是哪些条</span>
        $<span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(51, 102, 204);">'#result-aggregates'</span><span style="color: rgb(0, 153, 0);">)</span>.<span style="color: rgb(102, 0, 102);">prepend</span><span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(51, 102, 204);">&quot;&lt;p&gt;检索词： &quot;</span> <span style="color: rgb(51, 153, 51);">+</span> response.<span style="color: rgb(102, 0, 102);">SearchResponse</span>.<span style="color: rgb(102, 0, 102);">Query</span>.<span style="color: rgb(102, 0, 102);">SearchTerms</span> <span style="color: rgb(51, 153, 51);">+</span> <span style="color: rgb(51, 102, 204);">&quot;&lt;/p&gt;&quot;</span><span style="color: rgb(0, 153, 0);">)</span><span style="color: rgb(51, 153, 51);">;</span>
        $<span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(51, 102, 204);">'#result-aggregates'</span><span style="color: rgb(0, 153, 0);">)</span>.<span style="color: rgb(102, 0, 102);">prepend</span><span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(51, 102, 204);">&quot;&lt;p id=<span style="color: rgb(0, 0, 153); font-weight: bold;">\&quot;</span>result-count<span style="color: rgb(0, 0, 153); font-weight: bold;">\&quot;</span>&gt;当前显示 &quot;</span> <span style="color: rgb(51, 153, 51);">+</span> StartOffset<span style="color: rgb(0, 153, 0);">(</span>results<span style="color: rgb(0, 153, 0);">)</span>
            <span style="color: rgb(51, 153, 51);">+</span> <span style="color: rgb(51, 102, 204);">&quot; 至 &quot;</span> <span style="color: rgb(51, 153, 51);">+</span> EndOffset<span style="color: rgb(0, 153, 0);">(</span>results<span style="color: rgb(0, 153, 0);">)</span>
            <span style="color: rgb(51, 153, 51);">+</span> <span style="color: rgb(51, 102, 204);">&quot;&amp;nbsp;&amp;nbsp;总共:&quot;</span> <span style="color: rgb(51, 153, 51);">+</span> parseInt<span style="color: rgb(0, 153, 0);">(</span>response.<span style="color: rgb(102, 0, 102);">SearchResponse</span>.<span style="color: rgb(102, 0, 102);">Web</span>.<span style="color: rgb(102, 0, 102);">Total</span><span style="color: rgb(0, 153, 0);">)</span> <span style="color: rgb(51, 153, 51);">+</span> <span style="color: rgb(51, 102, 204);">&quot;&lt;/p&gt;&quot;</span><span style="color: rgb(0, 153, 0);">)</span><span style="color: rgb(51, 153, 51);">;</span>
&nbsp;
<span style="color: rgb(0, 102, 0);">//创建结果列表，把每一项要显示的内容放在一个数组中</span>
        <span style="color: rgb(0, 51, 102); font-weight: bold;">var</span> link <span style="color: rgb(51, 153, 51);">=</span> <span style="color: rgb(0, 153, 0);">[</span><span style="color: rgb(0, 153, 0);">]</span><span style="color: rgb(51, 153, 51);">;</span>  
<span style="color: rgb(0, 102, 0);">//因为开启了搜索词高亮选项，这里进行高亮匹配</span>
        <span style="color: rgb(0, 51, 102); font-weight: bold;">var</span> regexBegin <span style="color: rgb(51, 153, 51);">=</span> <span style="color: rgb(0, 51, 102); font-weight: bold;">new</span> RegExp<span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(51, 102, 204);">&quot;<span style="color: rgb(0, 0, 153); font-weight: bold;">\u</span>E000&quot;</span><span style="color: rgb(51, 153, 51);">,</span> <span style="color: rgb(51, 102, 204);">&quot;g&quot;</span><span style="color: rgb(0, 153, 0);">)</span><span style="color: rgb(51, 153, 51);">;</span>    
        <span style="color: rgb(0, 51, 102); font-weight: bold;">var</span> regexEnd <span style="color: rgb(51, 153, 51);">=</span> <span style="color: rgb(0, 51, 102); font-weight: bold;">new</span> RegExp<span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(51, 102, 204);">&quot;<span style="color: rgb(0, 0, 153); font-weight: bold;">\u</span>E001&quot;</span><span style="color: rgb(51, 153, 51);">,</span> <span style="color: rgb(51, 102, 204);">&quot;g&quot;</span><span style="color: rgb(0, 153, 0);">)</span><span style="color: rgb(51, 153, 51);">;</span>     
        <span style="color: rgb(0, 0, 102); font-weight: bold;">for</span> <span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(0, 51, 102); font-weight: bold;">var</span> i <span style="color: rgb(51, 153, 51);">=</span> <span style="color: rgb(204, 0, 0);">0</span><span style="color: rgb(51, 153, 51);">;</span> i <span style="color: rgb(51, 153, 51);">&lt;</span> results.<span style="color: rgb(102, 0, 102);">length</span><span style="color: rgb(51, 153, 51);">;</span> <span style="color: rgb(51, 153, 51);">++</span>i<span style="color: rgb(0, 153, 0);">)</span> <span style="color: rgb(0, 153, 0);">{</span>
<span style="color: rgb(0, 102, 0);">//创建每一结果项的信息</span>
            link<span style="color: rgb(0, 153, 0);">[</span>i<span style="color: rgb(0, 153, 0);">]</span> <span style="color: rgb(51, 153, 51);">=</span> <span style="color: rgb(51, 102, 204);">&quot;&lt;li&gt;&lt;a href=<span style="color: rgb(0, 0, 153); font-weight: bold;">\&quot;</span>&quot;</span> <span style="color: rgb(51, 153, 51);">+</span> results<span style="color: rgb(0, 153, 0);">[</span>i<span style="color: rgb(0, 153, 0);">]</span>.<span style="color: rgb(102, 0, 102);">Url</span> <span style="color: rgb(51, 153, 51);">+</span> <span style="color: rgb(51, 102, 204);">&quot;<span style="color: rgb(0, 0, 153); font-weight: bold;">\&quot;</span> title=<span style="color: rgb(0, 0, 153); font-weight: bold;">\&quot;</span>&quot;</span> <span style="color: rgb(51, 153, 51);">+</span> results<span style="color: rgb(0, 153, 0);">[</span>i<span style="color: rgb(0, 153, 0);">]</span>.<span style="color: rgb(102, 0, 102);">Title</span> <span style="color: rgb(51, 153, 51);">+</span> <span style="color: rgb(51, 102, 204);">&quot;<span style="color: rgb(0, 0, 153); font-weight: bold;">\&quot;</span>&gt;&quot;</span>
                <span style="color: rgb(51, 153, 51);">+</span> results<span style="color: rgb(0, 153, 0);">[</span>i<span style="color: rgb(0, 153, 0);">]</span>.<span style="color: rgb(102, 0, 102);">Title</span> <span style="color: rgb(51, 153, 51);">+</span> <span style="color: rgb(51, 102, 204);">&quot;&lt;/a&gt;&quot;</span>
                <span style="color: rgb(51, 153, 51);">+</span> <span style="color: rgb(51, 102, 204);">&quot;&lt;p&gt;&quot;</span> <span style="color: rgb(51, 153, 51);">+</span> results<span style="color: rgb(0, 153, 0);">[</span>i<span style="color: rgb(0, 153, 0);">]</span>.<span style="color: rgb(102, 0, 102);">Description</span> <span style="color: rgb(51, 153, 51);">+</span> <span style="color: rgb(51, 102, 204);">&quot;&lt;p&gt;&quot;</span>
                <span style="color: rgb(51, 153, 51);">+</span> <span style="color: rgb(51, 102, 204);">&quot;&lt;p class=<span style="color: rgb(0, 0, 153); font-weight: bold;">\&quot;</span>result-url<span style="color: rgb(0, 0, 153); font-weight: bold;">\&quot;</span>&gt;&quot;</span> <span style="color: rgb(51, 153, 51);">+</span> results<span style="color: rgb(0, 153, 0);">[</span>i<span style="color: rgb(0, 153, 0);">]</span>.<span style="color: rgb(102, 0, 102);">Url</span> <span style="color: rgb(51, 153, 51);">+</span> <span style="color: rgb(51, 102, 204);">&quot;&lt;/p&gt;&lt;/li&gt;&quot;</span><span style="color: rgb(51, 153, 51);">;</span>
&nbsp;
<span style="color: rgb(0, 102, 0);">//搜索词加粗显示</span>
            link<span style="color: rgb(0, 153, 0);">[</span>i<span style="color: rgb(0, 153, 0);">]</span> <span style="color: rgb(51, 153, 51);">=</span> link<span style="color: rgb(0, 153, 0);">[</span>i<span style="color: rgb(0, 153, 0);">]</span>.<span style="color: rgb(102, 0, 102);">replace</span><span style="color: rgb(0, 153, 0);">(</span>regexBegin<span style="color: rgb(51, 153, 51);">,</span> <span style="color: rgb(51, 102, 204);">&quot;&lt;strong&gt;&quot;</span><span style="color: rgb(0, 153, 0);">)</span>.<span style="color: rgb(102, 0, 102);">replace</span><span style="color: rgb(0, 153, 0);">(</span>regexEnd<span style="color: rgb(51, 153, 51);">,</span> <span style="color: rgb(51, 102, 204);">&quot;&lt;/strong&gt;&quot;</span><span style="color: rgb(0, 153, 0);">)</span><span style="color: rgb(51, 153, 51);">;</span>
        <span style="color: rgb(0, 153, 0);">}</span>
<span style="color: rgb(0, 102, 0);">//在页面结果区域显示结果列表    </span>
       $<span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(51, 102, 204);">&quot;#result-list&quot;</span><span style="color: rgb(0, 153, 0);">)</span>.<span style="color: rgb(102, 0, 102);">html</span><span style="color: rgb(0, 153, 0);">(</span>link.<span style="color: rgb(102, 0, 102);">join</span><span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(51, 102, 204);">''</span><span style="color: rgb(0, 153, 0);">)</span><span style="color: rgb(0, 153, 0);">)</span><span style="color: rgb(51, 153, 51);">;</span> 
&nbsp;
<span style="color: rgb(0, 102, 0);">//处理导航区域</span>
        CreateNavigation<span style="color: rgb(0, 153, 0);">(</span>response.<span style="color: rgb(102, 0, 102);">SearchResponse</span>.<span style="color: rgb(102, 0, 102);">Web</span>.<span style="color: rgb(102, 0, 102);">Total</span><span style="color: rgb(51, 153, 51);">,</span> results.<span style="color: rgb(102, 0, 102);">length</span><span style="color: rgb(0, 153, 0);">)</span><span style="color: rgb(51, 153, 51);">;</span>
    <span style="color: rgb(0, 153, 0);">}</span></pre>
    </div>
    </div>
    </li>
</ol>
<p>导航部分代码比较简单，就不在这里大块的贴了，直接下载代码看吧。</p>
<p><strong>下载：</strong><a onclick="javascript:pageTracker._trackPageview('/downloads/wp-content/uploads/2009/06/jquerybing_demo.zip');" href="http://css9.net/wp-content/uploads/2009/06/jquerybing_demo.zip">示例源码</a></p>
<p>另外，在MSDN的bing api部分为开发者提供了非常多的代码实例，感兴趣的可以去看。</p>
<p>&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&ndash;</p>
<p>有朋友留言<a href="http://css9.net/jquery-ajax-bing-api-search/#comment-645"><strong>提出检索中文的时候出现乱码</strong></a>。我又做了测试，如这位朋友所说，在IE中检索时有乱码情况，但是在Firefox中正常（我此前只在Firefox下做测试，故未发现）。</p>
<p>出现这种情况，是由于ajax传输中文检索词时产生乱码，所以传递前需编码，改正如下：</p>
<p>在function.js中第二十行var searchTerms = $(&rsquo;#txtQuery&rsquo;).val().replace(&rdquo; &ldquo;, &ldquo;+&rdquo;); 后添加下面一句：</p>
<div class="wp_syntax">
<div class="code">
<pre style="font-family: monospace;" class="javascript">
searchTerms <span style="color: rgb(51, 153, 51);">=</span> <span style="color: rgb(0, 0, 102); font-weight: bold;">encodeURI</span><span style="color: rgb(0, 153, 0);">(</span>searchTerms<span style="color: rgb(0, 153, 0);">)</span><span style="color: rgb(51, 153, 51);">;</span>   <span style="color: rgb(0, 102, 0);">//防止传输中文时产生乱码</span></pre>
</div>
</div>
<p>在线示例及下载源码已更正，感谢sundy提出问题。</p>]]></description>
		</item>
		
			<item>
			<link>http://www.koodai.com.cn/article/WebDesign/20-Tools-to-Make-the-Life-of-a-Web-Developer-Easie.htm</link>
			<title><![CDATA[20 Tools to Make the Life of a Web Developer Easie]]></title>
			<author>kisscb@126.com(admin)</author>
			<category><![CDATA[WebDesign]]></category>
			<pubDate>Fri,19 Jun 2009 19:08:33 +0800</pubDate>
			<guid>http://www.koodai.com.cn/default.asp?id=691</guid>
		<description><![CDATA[<p>url: <a href="http://net.tutsplus.com/articles/web-roundups/20-tools-to-make-the-life-of-a-web-developer-easier/">http://net.tutsplus.com/articles/web-roundups/20-tools-to-make-the-life-of-a-web-developer-easier/</a></p>
<h4>Author: Victor Escobedo</h4>
<p>I am a student at Cal State Fullerton who works in the IT field and dabbles in web development. Professionally, I enjoy administering computers, but design and develop for the web on my spare time.</p>
<h3><a href="http://www.typetester.org/"><font color="#468175">Typetester</font></a></h3>
<div class="tutorial_image"><font color="#468175"><img border="0" alt="" src="http://nettuts.s3.amazonaws.com/346_developmentTools/typetester.jpg" /></font></div>
<p>Typetester is an online application for comparing how different fonts and font attributes will appear on a given set of text. Its primary role is to make the life of a web designer easier by allowing them to quickly and easily visually compare different typefaces.</p>
<h3><a href="http://www.phpform.org/"><font color="#468175">pForm</font></a></h3>
<div class="tutorial_image"><font color="#468175"><img border="0" alt="" src="http://nettuts.s3.amazonaws.com/346_developmentTools/pform.jpg" /></font></div>
<p>Create a php form in seconds with this free and easy to use tool. If you need a little more power you can check out its parent program MachForm or great alternatives wufoo and formspring (both of which offer limited free versions and paid premium versions).</p>
<h3><a href="http://www.colourlovers.com/palettes/add"><font color="#468175">ColourLovers</font></a></h3>
<div class="tutorial_image"><font color="#468175"><img border="0" alt="" src="http://nettuts.s3.amazonaws.com/346_developmentTools/colourlovers.jpg" /></font></div>
<p>An international site created for color lovers. You can search the site for color palettes that you may use for projects or create new palettes which can be rated by peers. Great for inspiration or critique of design ideas.</p>
<h3><a href="http://www.getfirebug.com/"><font color="#468175">Firebug</font></a></h3>
<div class="tutorial_image"><font color="#468175"><img border="0" alt="" src="http://nettuts.s3.amazonaws.com/346_developmentTools/firebug.jpg" /></font></div>
<p>Firebug integrates with Firefox to put a wealth of web development tools at your fingertips while you browse. You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page. This is probably one of the most widely used web developer tools out there. If you don't have it, get it now!</p>
<h3><a href="http://leftlogic.com/lounge/articles/entity-lookup/"><font color="#468175">HTML Entity Character Lookup</font></a></h3>
<div class="tutorial_image"><font color="#468175"><img border="0" alt="" src="http://nettuts.s3.amazonaws.com/346_developmentTools/htmlentity.jpg" /></font></div>
<p>Need to know how to display the trademark symbol on one of your pages, this tool if just for you. The HTML Entity Lookup searches the html entities for matches to the searched character based on how the character looks. For instance, the letter &quot;c&quot; would match &copy; and &cent; entity, because of the way they look. This is really a tool that you need to try to understand how useful it is (also available as a dashboard widget for you Mac users).</p>
<h3><a href="http://www.960.gs/"><font color="#468175">960 Grid System</font></a></h3>
<div class="tutorial_image"><font color="#468175"><img border="0" alt="" src="http://nettuts.s3.amazonaws.com/346_developmentTools/960grid.jpg" /></font></div>
<p>The 960 Grid System is an effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem. <a href="http://net.tutsplus.com/videos/screencasts/a-detailed-look-at-the-960-css-framework/"><font color="#468175">Watch an in depth screencast on this framework. </font></a></p>
<h3><a href="http://riddle.pl/emcalc/"><font color="#468175">Em Calculator</font></a></h3>
<div class="tutorial_image"><font color="#468175"><img border="0" alt="" src="http://nettuts.s3.amazonaws.com/346_developmentTools/emcalculator.jpg" /></font></div>
<p>Em Calculator is a small JavaScript tool which allows you to enter a size in pixels and displays what the corresponding em value would be. This tool is extremely easy to use and handy for a quick reference.</p>
<h3><a href="http://browsershots.org/"><font color="#468175">Browser Shots</font></a></h3>
<div class="tutorial_image"><font color="#468175"><img border="0" alt="" src="http://nettuts.s3.amazonaws.com/346_developmentTools/browsershots.jpg" /></font></div>
<p>Browser Shots allows you to view your website in around 100 different browsers on 4 different platforms to determine the ultimate cross browser support. Given how many different types of configurations exists today, it is important to ensure that your site looks its best on as many platforms as possible.</p>
<h3><a href="http://www.iconfinder.net/"><font color="#468175">Icon Finder</font></a></h3>
<div class="tutorial_image"><font color="#468175"><img border="0" alt="" src="http://nettuts.s3.amazonaws.com/346_developmentTools/iconfinder.jpg" /></font></div>
<p>Iconfinder provides high quality icons for web designers and developers in an easy and efficient way. You simply type in a keyword into the search box and Iconfinder brings you back icons beautiful icons which you can freely use.</p>
<h3><a href="http://new.myfonts.com/WhatTheFont/"><font color="#468175">WhatTheFont</font></a></h3>
<div class="tutorial_image"><font color="#468175"><img border="0" alt="" src="http://nettuts.s3.amazonaws.com/346_developmentTools/whatthefont.jpg" /></font></div>
<p>Want to know the font that your favorite blog uses, this tool can help you. Just upload an image of the font that you are intrigued about and the tool will do its best to match it with the right font. If you would rather trust a real person, the WhatTheFont forums are a great resource as well.</p>
<h3><a href="https://addons.mozilla.org/en-US/firefox/addon/539"><font color="#468175">MeasureIt</font></a></h3>
<div class="tutorial_image"><font color="#468175"><img border="0" alt="" src="http://nettuts.s3.amazonaws.com/346_developmentTools/measureit.jpg" /></font></div>
<p>A great Firefox plugin that lets you draw out a ruler to get the pixel width and height of any elements on a webpage.</p>
<h3><a href="https://addons.mozilla.org/en-US/firefox/addon/271"><font color="#468175">ColorZilla</font></a></h3>
<div class="tutorial_image"><font color="#468175"><img border="0" alt="" src="http://nettuts.s3.amazonaws.com/346_developmentTools/colorzilla.jpg" /></font></div>
<p>With ColorZilla you can get a color reading from any point in your browser, quickly adjust this color and paste it into another program. You can zoom the page you are viewing and measure distances between any two points on the page.</p>
<h3><a href="http://tools.pingdom.com/"><font color="#468175">Pingdom</font></a></h3>
<div class="tutorial_image"><font color="#468175"><img border="0" alt="" src="http://nettuts.s3.amazonaws.com/346_developmentTools/pingdom.jpg" /></font></div>
<p>Pingdom loads a complete HTML page including all objects (images, CSS, JavaScripts, RSS, Flash and frames/iframes). It mimics the way a page is loaded in a web browser and then displays how long each of those elements took to load using nice visual time bars. This can be very useful when you are trying to improve the efficiency of your site.</p>
<h3><a href="http://tester.jonasjohn.de/"><font color="#468175">Test Everything</font></a></h3>
<div class="tutorial_image"><font color="#468175"><img border="0" alt="" src="http://nettuts.s3.amazonaws.com/346_developmentTools/testeverything.jpg" /></font></div>
<p>Test Everything lets you run your website though approx. 100 different validators and testers, all from the comfort of one application. This can save an enormous amount of time during the testing phase of your site development.</p>
<h3><a href="http://spritegen.website-performance.org/"><font color="#468175">CSS Sprite Generator</font></a></h3>
<div class="tutorial_image"><font color="#468175"><img border="0" alt="" src="http://nettuts.s3.amazonaws.com/346_developmentTools/spritegenerator.jpg" /></font></div>
<p>Sprites can increase the speed of your site by reducing the number of HTTP requests and are therefore becoming more popular. Using them, however, requires a good amount of foresight and planning which can make using them somewhat difficult. This amazing online tool allows you to upload your images in a zip file where they are then combined into a sprite. Once the sprite is created, it creates the CSS that you will need to use the sprite and allows you to download all of if free of charge.</p>
<h3><a href="https://addons.mozilla.org/en-US/firefox/addon/60"><font color="#468175">Web Developer Toolbar</font></a></h3>
<div class="tutorial_image"><font color="#468175"><img border="0" alt="" src="http://nettuts.s3.amazonaws.com/346_developmentTools/webdeveloper.jpg" /></font></div>
<p>An extremely useful Firefox plugin which provides many tools which web developers use on a daily basis. Great for quickly validating your XHTML or inspecting HTTP header information.</p>
<h3><a href="http://domai.nr/"><font color="#468175">Domainr</font></a></h3>
<div class="tutorial_image"><font color="#468175"><img border="0" alt="" src="http://nettuts.s3.amazonaws.com/346_developmentTools/domainr.jpg" /></font></div>
<p>There are plenty of tools available that tell you whether a domain is taken or not. What sets Domainr apart is that it takes your query and then tries to create a more memorable name. Domainr helps you explore the entire domain name space beyond the ubiquitous and crowded .com, .net and .org. Inspired by jish.nu, burri.to and del.icio.us this tool can come in handy when you just can't think of a unique domain name.</p>
<h3><a href="http://www.fontburner.com/"><font color="#468175">Font Burner</font></a></h3>
<div class="tutorial_image"><font color="#468175"><img border="0" alt="" src="http://nettuts.s3.amazonaws.com/346_developmentTools/fontburner.jpg" /></font></div>
<p>Font Burner is a free online tool that allows you to search through over 1000 fonts they have available. Once you have found a font you like, the tool provides you with a snippet of code which allows you to use the font on your site, free of charge. The font will then be displayed on every computer, regardless if the user has the font installed or not.</p>
<h3><a href="http://smush.it/"><font color="#468175">Smush.It</font></a></h3>
<div class="tutorial_image"><font color="#468175"><img border="0" alt="" src="http://nettuts.s3.amazonaws.com/346_developmentTools/smushit.jpg" /></font></div>
<p>Smush.It is a neat application which uses non-lossy image optimization tools to squeeze the last bytes out of your images</p>
<h3><a href="http://loadimpact.com/"><font color="#468175">Load Impact</font></a></h3>
<div class="tutorial_image"><font color="#468175"><img border="0" alt="" src="http://nettuts.s3.amazonaws.com/346_developmentTools/loadimpact.jpg" /></font></div>
<p>Are you about to release a product or come out of beta and are wondering whether your site will be able to take the increased traffic? Load Impact is a free tool which tests your site at different load levels and then displays your results in an easy to understand graph.</p>
<h3>The End!</h3>
<p>Well hopefully you will find something useful in this list. It is by no means an exhaustive list, but simply a list of tools that I have found to be useful in the past and that you may as well.</p>]]></description>
		</item>
		
			<item>
			<link>http://www.koodai.com.cn/article/WebDesign/Photoshop-Fengjing.html</link>
			<title><![CDATA[PS调色，调出有意境的风景]]></title>
			<author>kisscb@126.com(admin)</author>
			<category><![CDATA[WebDesign]]></category>
			<pubDate>Fri,20 Feb 2009 19:57:45 +0800</pubDate>
			<guid>http://www.koodai.com.cn/default.asp?id=646</guid>
		<description><![CDATA[<p style="text-align: center"><img alt="" orig_onmouseout="null" orig_onmouseover="null" src="http://www.westvisual.com/Article/UploadFiles/200810/20081012173606134.jpg" /></p>
<p style="text-align: center">&nbsp;</p>
<p style="text-align: center">效果图</p>
<p style="text-align: center">&nbsp;</p>
<p style="text-align: center"><img alt="" orig_onmouseout="null" orig_onmouseover="null" src="http://www.westvisual.com/Article/UploadFiles/200810/20081012173609886.jpg" /></p>
<p style="text-align: center">&nbsp;</p>
<p style="text-align: center">&nbsp;</p>
<p style="text-align: center"><img alt="" orig_onmouseout="null" orig_onmouseover="null" src="http://www.westvisual.com/Article/UploadFiles/200810/20081012173610979.jpg" /></p>
<p style="text-align: center"><img alt="" orig_onmouseout="null" orig_onmouseover="null" src="http://www.westvisual.com/Article/UploadFiles/200810/20081012173614423.jpg" /></p>
<p style="text-align: center">&nbsp;</p>
<p style="text-align: center"><img alt="" orig_onmouseout="null" orig_onmouseover="null" src="http://www.westvisual.com/Article/UploadFiles/200810/20081012173618739.jpg" /></p>]]></description>
		</item>
		
			<item>
			<link>http://www.koodai.com.cn/article/WebDesign/419.html</link>
			<title><![CDATA[Wordpress Themes]]></title>
			<author>kisscb@126.com(admin)</author>
			<category><![CDATA[WebDesign]]></category>
			<pubDate>Thu,13 Mar 2008 22:38:54 +0800</pubDate>
			<guid>http://www.koodai.com.cn/default.asp?id=419</guid>
		<description><![CDATA[<div class="block">
<div class="listtheme">
<h3>Sphere</h3>
<a href="http://www.talktheme.com/index.php?loadpage=./includes/viewtheme.php&amp;themeid=156"><img alt="" style="width: 150px" src="http://www.talktheme.com/downloads/img/sphere-1.png" /></a>
<p>
<form method="post" action="http://www.wordpressuniverse.com/" target="_blank" name="livedemoform">
    <input class="livedemobutton" type="submit" value="Live Demo" />
</form>
<form class="downloadform" method="post" action="index.php?loadpage=./includes/download.php" target="downloadWindow" name="downloadform">
    <input type="hidden" name="themeid" value="156" /><input class="downloadbutton" type="submit" name="downloadbutton" value="Download" />
</form>
</p>
</div>
<div class="listtheme">
<h3>sun</h3>
<a href="http://www.talktheme.com/index.php?loadpage=./includes/viewtheme.php&amp;themeid=155"><img alt="" style="width: 150px" src="http://www.talktheme.com/downloads/img/sun.png" /></a>
<p>
<form class="downloadform" method="post" action="index.php?loadpage=./includes/download.php" target="downloadWindow" name="downloadform">
    <input type="hidden" name="themeid" value="155" /><input class="downloadbutton" type="submit" name="downloadbutton" value="Download" />
</form>
</p>
</div>
<div class="listtheme">
<h3>My Guitar - Free Wordpress theme</h3>
<a href="http://www.talktheme.com/index.php?loadpage=./includes/viewtheme.php&amp;themeid=154"><img alt="" style="width: 150px; height: 113px" src="http://www.talktheme.com/downloads/img/My_Guitar.png" /></a>
<p>
<form method="post" action="http://best-wordpress-themes.info/?preview_theme=My_Guitar" target="_blank" name="livedemoform">
    <input class="livedemobutton" type="submit" value="Live Demo" />
</form>
<form class="downloadform" method="post" action="index.php?loadpage=./includes/download.php" target="downloadWindow" name="downloadform">
    <input type="hidden" name="themeid" value="154" /><input class="downloadbutton" type="submit" name="downloadbutton" value="Download" />
</form>
</p>
</div>
<div class="listtheme">
<h3>Summer Fun</h3>
<a href="http://www.talktheme.com/index.php?loadpage=./includes/viewtheme.php&amp;themeid=153"><img alt="" style="width: 150px" src="http://www.talktheme.com/downloads/img/summerfun.png" /></a>
<p>
<form method="post" action="http://www.paddsolutions.com/wpthemes/switch.php?template=summerfun" target="_blank" name="livedemoform">
    <input class="livedemobutton" type="submit" value="Live Demo" />
</form>
<form class="downloadform" method="post" action="index.php?loadpage=./includes/download.php" target="downloadWindow" name="downloadform">
    <input type="hidden" name="themeid" value="153" /><input class="downloadbutton" type="submit" name="downloadbutton" value="Download" />
</form>
</p>
</div>
<div class="listtheme">
<h3>Cute Critters</h3>
<a href="http://www.talktheme.com/index.php?loadpage=./includes/viewtheme.php&amp;themeid=152"><img alt="" style="width: 150px" src="http://www.talktheme.com/downloads/img/cutecritters.png" /></a>
<p>
<form method="post" action="http://www.paddsolutions.com/wpthemes/switch.php?template=cutecritters" target="_blank" name="livedemoform">
    <input class="livedemobutton" type="submit" value="Live Demo" />
</form>
<form class="downloadform" method="post" action="index.php?loadpage=./includes/download.php" target="downloadWindow" name="downloadform">
    <input type="hidden" name="themeid" value="152" /><input class="downloadbutton" type="submit" name="downloadbutton" value="Download" />
</form>
</p>
</div>
<div class="listtheme">
<h3>Web2Flowery</h3>
<a href="http://www.talktheme.com/index.php?loadpage=./includes/viewtheme.php&amp;themeid=151"><img alt="" style="width: 150px" src="http://www.talktheme.com/downloads/img/Web2Flowery.png" /></a>
<p>
<form method="post" action="http://www.widgetreadythemes.com/demo/?preview_theme=Web2Flowery" target="_blank" name="livedemoform">
    <input class="livedemobutton" type="submit" value="Live Demo" />
</form>
<form class="downloadform" method="post" action="index.php?loadpage=./includes/download.php" target="downloadWindow" name="downloadform">
    <input type="hidden" name="themeid" value="151" /><input class="downloadbutton" type="submit" name="downloadbutton" value="Download" />
</form>
</p>
</div>
<div class="listtheme">
<h3>Nature Wp Theme</h3>
<a href="http://www.talktheme.com/index.php?loadpage=./includes/viewtheme.php&amp;themeid=150"><img alt="" style="width: 150px" src="http://www.talktheme.com/downloads/img/nature.png" /></a>
<p>
<form method="post" action="http://themespack.com/demo/?theme=nature" target="_blank" name="livedemoform">
    <input class="livedemobutton" type="submit" value="Live Demo" />
</form>
<form class="downloadform" method="post" action="index.php?loadpage=./includes/download.php" target="downloadWindow" name="downloadform">
    <input type="hidden" name="themeid" value="150" /><input class="downloadbutton" type="submit" name="downloadbutton" value="Download" />
</form>
</p>
</div>
<div class="listtheme">
<h3>Coconut wordpress theme</h3>
<a href="http://www.talktheme.com/index.php?loadpage=./includes/viewtheme.php&amp;themeid=149"><img alt="" style="width: 150px; height: 113px" src="http://www.talktheme.com/downloads/img/coconut.png" /></a>
<p>
<form method="post" action="http://themespack.com/demo/?theme=coconut" target="_blank" name="livedemoform">
    <input class="livedemobutton" type="submit" value="Live Demo" />
</form>
<form class="downloadform" method="post" action="index.php?loadpage=./includes/download.php" target="downloadWindow" name="downloadform">
    <input type="hidden" name="themeid" value="149" /><input class="downloadbutton" type="submit" name="downloadbutton" value="Download" />
</form>
</p>
</div>
<div class="listtheme">
<h3>MQ Alien</h3>
<a href="http://www.talktheme.com/index.php?loadpage=./includes/viewtheme.php&amp;themeid=148"><img alt="" style="width: 150px" src="http://www.talktheme.com/downloads/img/mqalien.png" /></a>
<p>
<form method="post" action="http://maiq.info/demos/index.php?wptheme=MQ+Alien" target="_blank" name="livedemoform">
    <input class="livedemobutton" type="submit" value="Live Demo" />
</form>
<form class="downloadform" method="post" action="index.php?loadpage=./includes/download.php" target="downloadWindow" name="downloadform">
    <input type="hidden" name="themeid" value="148" /><input class="downloadbutton" type="submit" name="downloadbutton" value="Download" />
</form>
</p>
</div>
<div class="listtheme">
<h3>Maeioska Wordpress Theme</h3>
<a href="http://www.talktheme.com/index.php?loadpage=./includes/viewtheme.php&amp;themeid=147"><img alt="" style="width: 150px; height: 113px" src="http://www.talktheme.com/downloads/img/WPMaeioska.png" /></a>
<p>
<form method="post" action="http://www.gabfire.com/demo/index.php?wptheme=Maeioska" target="_blank" name="livedemoform">
    <input class="livedemobutton" type="submit" value="Live Demo" />
</form>
<form class="downloadform" method="post" action="index.php?loadpage=./includes/download.php" target="downloadWindow" name="downloadform">
    <input type="hidden" name="themeid" value="147" /><input class="downloadbutton" type="submit" name="downloadbutton" value="Download" />
</form>
</p>
</div>
<div class="listtheme">
<h3>Magic Six</h3>
<a href="http://www.talktheme.com/index.php?loadpage=./includes/viewtheme.php&amp;themeid=146"><img alt="" style="width: 150px" src="http://www.talktheme.com/downloads/img/magicsix.png" /></a>
<p>
<form method="post" action="http://www.widgetreadythemes.com/demo/?preview_theme=magicsix" target="_blank" name="livedemoform">
    <input class="livedemobutton" type="submit" value="Live Demo" />
</form>
<form class="downloadform" method="post" action="index.php?loadpage=./includes/download.php" target="downloadWindow" name="downloadform">
    <input type="hidden" name="themeid" value="146" /><input class="downloadbutton" type="submit" name="downloadbutton" value="Download" />
</form>
</p>
</div>
<div class="listtheme">
<h3>Butterfly Wordpress Theme</h3>
<a href="http://www.talktheme.com/index.php?loadpage=./includes/viewtheme.php&amp;themeid=145"><img alt="" style="width: 150px" src="http://www.talktheme.com/downloads/img/WPbutterfly.png" /></a>
<p>
<form method="post" action="http://www.gabfire.com/demo/index.php?wptheme=Butterfly" target="_blank" name="livedemoform">
    <input class="livedemobutton" type="submit" value="Live Demo" />
</form>
<form class="downloadform" method="post" action="index.php?loadpage=./includes/download.php" target="downloadWindow" name="downloadform">
    <input type="hidden" name="themeid" value="145" /><input class="downloadbutton" type="submit" name="downloadbutton" value="Download" />
</form>
<a href="http://www.talktheme.com/"><strong><font size="4">http://www.talktheme.com/</font></strong></a></p>
<p><img alt="" src="http://www.koodai.com.cn//attachments/month_0803/0200831322430.png" /></p>
<p><a href="http://jandan.net/2008/01/09/100-excellent-free-wordpress-themes.html"><strong><font size="3">http://jandan.net/2008/01/09/100-excellent-free-wordpress-themes.html</font></strong></a></p>
</div>
</div>]]></description>
		</item>
		
			<item>
			<link>http://www.koodai.com.cn/article/WebDesign/381.html</link>
			<title><![CDATA[正则表达式]]></title>
			<author>kisscb@126.com(admin)</author>
			<category><![CDATA[WebDesign]]></category>
			<pubDate>Sat,29 Dec 2007 17:08:07 +0800</pubDate>
			<guid>http://www.koodai.com.cn/default.asp?id=381</guid>
		<description><![CDATA[<p>　　正则表达式(regular expression)描述了一种字符串匹配的模式，可以用来检查一个串是否含有某种子串、将匹配的子串做替换或者从某个串中取出符合某个条件的子串等。<br />　　列目录时，　dir *.txt或ls *.txt中的*.txt就<ins>不</ins>是一个正则表达式,因为这里*与正则式的*的含义是不同的。</p>
<a name="more"></a>
<p>　　为便于理解和记忆，先从一些概念入手，所有特殊字符或字符组合有一个总表在后面，最后一些例子供理解相应的概念。</p>
<p>&nbsp;</p>
<h3>正则表达式</h3>
<br />　　是由普通字符（例如字符 a 到 z）以及特殊字符（称为元字符）组成的文字模式。正则表达式作为一个模板，将某个字符模式与所搜索的字符串进行匹配。<br />　　可以通过在一对分隔符之间放入表达式模式的各种组件来构造一个正则表达式，即/expression/
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3>普通字符</h3>
<br />　　由所有那些未显式指定为元字符的打印和非打印字符组成。这包括所有的大写和小写字母字符，所有数字，所有标点符号以及一些符号。 <br />
<h3>非打印字符</h3>
<br />
<table border="1">
    <tbody>
        <tr>
            <td>字符 </td>
            <td>含义</td>
        </tr>
        <tr>
            <td>\cx </td>
            <td>匹配由x指明的控制字符。例如， \cM 匹配一个 Control-M 或回车符。x 的值必须为 A-Z 或 a-z 之一。否则，将 c 视为一个原义的 'c' 字符。</td>
        </tr>
        <tr>
            <td>\f </td>
            <td>匹配一个换页符。等价于 \x0c 和 \cL。</td>
        </tr>
        <tr>
            <td>\n </td>
            <td>匹配一个换行符。等价于 \x0a 和 \cJ。</td>
        </tr>
        <tr>
            <td>\r </td>
            <td>匹配一个回车符。等价于 \x0d 和 \cM。</td>
        </tr>
        <tr>
            <td>\s </td>
            <td>匹配任何空白字符，包括空格、制表符、换页符等等。等价于 [ \f\n\r\t\v]。</td>
        </tr>
        <tr>
            <td>\S </td>
            <td>匹配任何非空白字符。等价于 [^ \f\n\r\t\v]。</td>
        </tr>
        <tr>
            <td>\t </td>
            <td>匹配一个制表符。等价于 \x09 和 \cI。</td>
        </tr>
        <tr>
            <td>\v </td>
            <td>匹配一个垂直制表符。等价于 \x0b 和 \cK。</td>
        </tr>
    </tbody>
</table>
<br />
<h3>特殊字符</h3>
<br />　　所谓特殊字符，就是一些有特殊含义的字符，如上面说的&quot;*.txt&quot;中的*，简单的说就是表示任何字符串的意思。如果要查找文件名中有＊的文件，则需要对＊进行转义，即在其前加一个\。ls \*.txt。正则表达式有以下特殊字符。<br />
<table border="1">
    <tbody>
        <tr>
            <td>特别字符</td>
            <td>说明</td>
        </tr>
        <tr>
            <td>$</td>
            <td>匹配输入字符串的结尾位置。如果设置了 RegExp 对象的 Multiline 属性，则 $ 也匹配 '\n' 或 '\r'。要匹配 $ 字符本身，请使用 \$。</td>
        </tr>
        <tr>
            <td>( )</td>
            <td>标记一个子表达式的开始和结束位置。子表达式可以获取供以后使用。要匹配这些字符，请使用 \( 和 \)。</td>
        </tr>
        <tr>
            <td>*</td>
            <td>匹配前面的子表达式零次或多次。要匹配 * 字符，请使用 \*。</td>
        </tr>
        <tr>
            <td>+</td>
            <td>匹配前面的子表达式一次或多次。要匹配 + 字符，请使用 \+。</td>
        </tr>
        <tr>
            <td>.</td>
            <td>匹配除换行符 \n之外的任何单字符。要匹配 .，请使用 \。</td>
        </tr>
        <tr>
            <td>[ </td>
            <td>标记一个中括号表达式的开始。要匹配 [，请使用 \[。</td>
        </tr>
        <tr>
            <td>?</td>
            <td>匹配前面的子表达式零次或一次，或指明一个非贪婪限定符。要匹配 ? 字符，请使用 \?。</td>
        </tr>
        <tr>
            <td>\</td>
            <td>将下一个字符标记为或特殊字符、或原义字符、或向后引用、或八进制转义符。例如， 'n' 匹配字符 'n'。'\n' 匹配换行符。序列 '\\' 匹配 &quot;\&quot;，而 '\(' 则匹配 &quot;(&quot;。</td>
        </tr>
        <tr>
            <td>^</td>
            <td>匹配输入字符串的开始位置，除非在方括号表达式中使用，此时它表示不接受该字符集合。要匹配 ^ 字符本身，请使用 \^。</td>
        </tr>
        <tr>
            <td>{</td>
            <td>标记限定符表达式的开始。要匹配 {，请使用 \{。</td>
        </tr>
        <tr>
            <td>|</td>
            <td>指明两项之间的一个选择。要匹配 |，请使用 \|。</td>
        </tr>
    </tbody>
</table>
<p>&nbsp;</p>
<p><br /><strong>　　构造正则表达式的方法和创建数学表达式的方法一样。也就是用多种元字符与操作符将小的表达式结合在一起来创建更大的表达式。正则表达式的组件可以是单个的字符、字符集合、字符范围、字符间的选择或者所有这些组件的任意组合。</strong></p>
<p><br /></p>
<h3>限定符</h3>
<br />　　限定符用来指定正则表达式的一个给定组件必须要出现多少次才能满足匹配。有*或+或?或{n}或{n,}或{n,m}共6种。<br />*、+和?限定符都是贪婪的，因为它们会尽可能多的匹配文字，只有在它们的后面加上一个?就可以实现非贪婪或最小匹配。<br />　　正则表达式的限定符有：<br />
<table border="1">
    <tbody>
        <tr>
            <td>字符 </td>
            <td>描述</td>
        </tr>
        <tr>
            <td>* </td>
            <td>匹配前面的子表达式零次或多次。例如，zo* 能匹配 &quot;z&quot; 以及 &quot;zoo&quot;。* 等价于{0,}。</td>
        </tr>
        <tr>
            <td>+ </td>
            <td>匹配前面的子表达式一次或多次。例如，'zo+' 能匹配 &quot;zo&quot; 以及 &quot;zoo&quot;，但不能匹配 &quot;z&quot;。+ 等价于 {1,}。</td>
        </tr>
        <tr>
            <td>? </td>
            <td>匹配前面的子表达式零次或一次。例如，&quot;do(es)?&quot; 可以匹配 &quot;do&quot; 或 &quot;does&quot; 中的&quot;do&quot; 。? 等价于 {0,1}。</td>
        </tr>
        <tr>
            <td>{n} </td>
            <td>n 是一个非负整数。匹配确定的 n 次。例如，'o{2}' 不能匹配 &quot;Bob&quot; 中的 'o'，但是能匹配 &quot;food&quot; 中的两个 o。</td>
        </tr>
        <tr>
            <td>{n,} </td>
            <td>n 是一个非负整数。至少匹配n 次。例如，'o{2,}' 不能匹配 &quot;Bob&quot; 中的 'o'，但能匹配 &quot;foooood&quot; 中的所有 o。'o{1,}' 等价于 'o+'。'o{0,}' 则等价于 'o*'。</td>
        </tr>
        <tr>
            <td>{n,m} </td>
            <td>m 和 n 均为非负整数，其中n &lt;= m。最少匹配 n 次且最多匹配 m 次。例如，&quot;o{1,3}&quot; 将匹配 &quot;fooooood&quot; 中的前三个 o。'o{0,1}' 等价于 'o?'。请注意在逗号和两个数之间不能有空格。</td>
        </tr>
    </tbody>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3>定位符</h3>
<br />　　用来描述字符串或单词的边界，^和$分别指字符串的开始与结束，\b描述单词的前或后边界，\B表示非单词边界。<ins>不能对定位符使用限定符。</ins>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3>选择</h3>
<br />　　用圆括号将所有选择项括起来，相邻的选择项之间用|分隔。但用圆括号会有一个副作用，是相关的匹配会被缓存，此时可用?:放在第一个选项前来消除这种副作用。<br />　　其中?:是非捕获元之一，还有两个非捕获元是?=和?!，这两个还有更多的含义，前者为正向预查，在任何开始匹配圆括号内的正则表达式模式的位置来匹配搜索字符串，后者为负向预查，在任何开始不匹配该正则表达式模式的位置来匹配搜索字符串。
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3>后向引用</h3>
<br />　　对一个正则表达式模式或部分模式两边添加圆括号将导致相关匹配存储到一个临时缓冲区中，所捕获的每个子匹配都按照在正则表达式模式中从左至右所遇到的内容存储。存储子匹配的缓冲区编号从 1 开始，连续编号直至最大 99 个子表达式。每个缓冲区都可以使用 '\n' 访问，其中 n 为一个标识特定缓冲区的一位或两位十进制数。<br />　　可以使用非捕获元字符 '?:', '?=', or '?!' 来忽略对相关匹配的保存。
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3>各种操作符的运算优先级</h3>
<br />　　相同优先级的从左到右进行运算，不同优先级的运算先高后低。各种操作符的优先级从高到低如下：<br />
<table border="1">
    <tbody>
        <tr>
            <td>操作符 </td>
            <td>描述</td>
        </tr>
        <tr>
            <td>\ </td>
            <td>转义符</td>
        </tr>
        <tr>
            <td>(), (?:), (?=), [] </td>
            <td>圆括号和方括号</td>
        </tr>
        <tr>
            <td>*, +, ?, {n}, {n,}, {n,m} </td>
            <td>限定符</td>
        </tr>
        <tr>
            <td>^, $, \anymetacharacter </td>
            <td>位置和顺序</td>
        </tr>
        <tr>
            <td>| </td>
            <td>&ldquo;或&rdquo;操作</td>
        </tr>
    </tbody>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3>全部符号解释</h3>
<br />
<table border="1">
    <tbody>
        <tr>
            <td>字符 </td>
            <td>描述</td>
        </tr>
        <tr>
            <td>\ </td>
            <td>将下一个字符标记为一个特殊字符、或一个原义字符、或一个 向后引用、或一个八进制转义符。例如，'n' 匹配字符 &quot;n&quot;。'\n' 匹配一个换行符。序列 '\\' 匹配 &quot;\&quot; 而 &quot;\(&quot; 则匹配 &quot;(&quot;。</td>
        </tr>
        <tr>
            <td>^ </td>
            <td>匹配输入字符串的开始位置。如果设置了 RegExp 对象的 Multiline 属性，^ 也匹配 '\n' 或 '\r' 之后的位置。</td>
        </tr>
        <tr>
            <td>$ </td>
            <td>匹配输入字符串的结束位置。如果设置了RegExp 对象的 Multiline 属性，$ 也匹配 '\n' 或 '\r' 之前的位置。</td>
        </tr>
        <tr>
            <td>* </td>
            <td>匹配前面的子表达式零次或多次。例如，zo* 能匹配 &quot;z&quot; 以及 &quot;zoo&quot;。* 等价于{0,}。</td>
        </tr>
        <tr>
            <td>+ </td>
            <td>匹配前面的子表达式一次或多次。例如，'zo+' 能匹配 &quot;zo&quot; 以及 &quot;zoo&quot;，但不能匹配 &quot;z&quot;。+ 等价于 {1,}。</td>
        </tr>
        <tr>
            <td>? </td>
            <td>匹配前面的子表达式零次或一次。例如，&quot;do(es)?&quot; 可以匹配 &quot;do&quot; 或 &quot;does&quot; 中的&quot;do&quot; 。? 等价于 {0,1}。</td>
        </tr>
        <tr>
            <td>{n} </td>
            <td>n 是一个非负整数。匹配确定的 n 次。例如，'o{2}' 不能匹配 &quot;Bob&quot; 中的 'o'，但是能匹配 &quot;food&quot; 中的两个 o。</td>
        </tr>
        <tr>
            <td>{n,} </td>
            <td>n 是一个非负整数。至少匹配n 次。例如，'o{2,}' 不能匹配 &quot;Bob&quot; 中的 'o'，但能匹配 &quot;foooood&quot; 中的所有 o。'o{1,}' 等价于 'o+'。'o{0,}' 则等价于 'o*'。</td>
        </tr>
        <tr>
            <td>{n,m} </td>
            <td>m 和 n 均为非负整数，其中n &lt;= m。最少匹配 n 次且最多匹配 m 次。例如，&quot;o{1,3}&quot; 将匹配 &quot;fooooood&quot; 中的前三个 o。'o{0,1}' 等价于 'o?'。请注意在逗号和两个数之间不能有空格。</td>
        </tr>
        <tr>
            <td>? </td>
            <td>当该字符紧跟在任何一个其他限制符 (*, +, ?, {n}, {n,}, {n,m}) 后面时，匹配模式是非贪婪的。非贪婪模式尽可能少的匹配所搜索的字符串，而默认的贪婪模式则尽可能多的匹配所搜索的字符串。例如，对于字符串 &quot;oooo&quot;，'o+?' 将匹配单个 &quot;o&quot;，而 'o+' 将匹配所有 'o'。</td>
        </tr>
        <tr>
            <td>. </td>
            <td>匹配除 &quot;\n&quot; 之外的任何单个字符。要匹配包括 '\n' 在内的任何字符，请使用象 '[.\n]' 的模式。</td>
        </tr>
        <tr>
            <td>(pattern) </td>
            <td>匹配 pattern 并获取这一匹配。所获取的匹配可以从产生的 Matches 集合得到，在VBScript 中使用 SubMatches 集合，在JScript 中则使用 $0&hellip;$9 属性。要匹配圆括号字符，请使用 '\(' 或 '\)'。</td>
        </tr>
        <tr>
            <td>(?:pattern) </td>
            <td>匹配 pattern 但不获取匹配结果，也就是说这是一个非获取匹配，不进行存储供以后使用。这在使用 &quot;或&quot; 字符 (|) 来组合一个模式的各个部分是很有用。例如， 'industr(?:y|ies) 就是一个比 'industry|industries' 更简略的表达式。</td>
        </tr>
        <tr>
            <td>(?=pattern) </td>
            <td>正向预查，在任何匹配 pattern 的字符串开始处匹配查找字符串。这是一个非获取匹配，也就是说，该匹配不需要获取供以后使用。例如，'Windows (?=95|98|NT|2000)' 能匹配 &quot;Windows 2000&quot; 中的 &quot;Windows&quot; ，但不能匹配 &quot;Windows 3.1&quot; 中的 &quot;Windows&quot;。预查不消耗字符，也就是说，在一个匹配发生后，在最后一次匹配之后立即开始下一次匹配的搜索，而不是从包含预查的字符之后开始。</td>
        </tr>
        <tr>
            <td>(?!pattern) </td>
            <td>负向预查，在任何不匹配 pattern 的字符串开始处匹配查找字符串。这是一个非获取匹配，也就是说，该匹配不需要获取供以后使用。例如'Windows (?!95|98|NT|2000)' 能匹配 &quot;Windows 3.1&quot; 中的 &quot;Windows&quot;，但不能匹配 &quot;Windows 2000&quot; 中的 &quot;Windows&quot;。预查不消耗字符，也就是说，在一个匹配发生后，在最后一次匹配之后立即开始下一次匹配的搜索，而不是从包含预查的字符之后开始</td>
        </tr>
        <tr>
            <td>x|y </td>
            <td>匹配 x 或 y。例如，'z|food' 能匹配 &quot;z&quot; 或 &quot;food&quot;。'(z|f)ood' 则匹配 &quot;zood&quot; 或 &quot;food&quot;。</td>
        </tr>
        <tr>
            <td>[xyz] </td>
            <td>字符集合。匹配所包含的任意一个字符。例如， '[abc]' 可以匹配 &quot;plain&quot; 中的 'a'。</td>
        </tr>
        <tr>
            <td>[^xyz] </td>
            <td>负值字符集合。匹配未包含的任意字符。例如， '[^abc]' 可以匹配 &quot;plain&quot; 中的'p'。</td>
        </tr>
        <tr>
            <td>[a-z] </td>
            <td>字符范围。匹配指定范围内的任意字符。例如，'[a-z]' 可以匹配 'a' 到 'z' 范围内的任意小写字母字符。</td>
        </tr>
        <tr>
            <td>[^a-z] </td>
            <td>负值字符范围。匹配任何不在指定范围内的任意字符。例如，'[^a-z]' 可以匹配任何不在 'a' 到 'z' 范围内的任意字符。</td>
        </tr>
        <tr>
            <td>\b </td>
            <td>匹配一个单词边界，也就是指单词和空格间的位置。例如， 'er\b' 可以匹配&quot;never&quot; 中的 'er'，但不能匹配 &quot;verb&quot; 中的 'er'。</td>
        </tr>
        <tr>
            <td>\B </td>
            <td>匹配非单词边界。'er\B' 能匹配 &quot;verb&quot; 中的 'er'，但不能匹配 &quot;never&quot; 中的 'er'。</td>
        </tr>
        <tr>
            <td>\cx </td>
            <td>匹配由 x 指明的控制字符。例如， \cM 匹配一个 Control-M 或回车符。x 的值必须为 A-Z 或 a-z 之一。否则，将 c 视为一个原义的 'c' 字符。</td>
        </tr>
        <tr>
            <td>\d </td>
            <td>匹配一个数字字符。等价于 [0-9]。</td>
        </tr>
        <tr>
            <td>\D </td>
            <td>匹配一个非数字字符。等价于 [^0-9]。</td>
        </tr>
        <tr>
            <td>\f </td>
            <td>匹配一个换页符。等价于 \x0c 和 \cL。</td>
        </tr>
        <tr>
            <td>\n </td>
            <td>匹配一个换行符。等价于 \x0a 和 \cJ。</td>
        </tr>
        <tr>
            <td>\r </td>
            <td>匹配一个回车符。等价于 \x0d 和 \cM。</td>
        </tr>
        <tr>
            <td>\s </td>
            <td>匹配任何空白字符，包括空格、制表符、换页符等等。等价于 [ \f\n\r\t\v]。</td>
        </tr>
        <tr>
            <td>\S </td>
            <td>匹配任何非空白字符。等价于 [^ \f\n\r\t\v]。</td>
        </tr>
        <tr>
            <td>\t </td>
            <td>匹配一个制表符。等价于 \x09 和 \cI。</td>
        </tr>
        <tr>
            <td>\v </td>
            <td>匹配一个垂直制表符。等价于 \x0b 和 \cK。</td>
        </tr>
        <tr>
            <td>\w </td>
            <td>匹配包括下划线的任何单词字符。等价于'[A-Za-z0-9_]'。</td>
        </tr>
        <tr>
            <td>\W </td>
            <td>匹配任何非单词字符。等价于 '[^A-Za-z0-9_]'。</td>
        </tr>
        <tr>
            <td>\xn </td>
            <td>匹配 n，其中 n 为十六进制转义值。十六进制转义值必须为确定的两个数字长。例如，'\x41' 匹配 &quot;A&quot;。'\x041' 则等价于 '\x04' &amp; &quot;1&quot;。正则表达式中可以使用 ASCII 编码。.</td>
        </tr>
        <tr>
            <td>\num </td>
            <td>匹配 num，其中 num 是一个正整数。对所获取的匹配的引用。例如，'(.)\1' 匹配两个连续的相同字符。</td>
        </tr>
        <tr>
            <td>\n </td>
            <td>标识一个八进制转义值或一个向后引用。如果 \n 之前至少 n 个获取的子表达式，则 n 为向后引用。否则，如果 n 为八进制数字 (0-7)，则 n 为一个八进制转义值。</td>
        </tr>
        <tr>
            <td>\nm </td>
            <td>标识一个八进制转义值或一个向后引用。如果 \nm 之前至少有 nm 个获得子表达式，则 nm 为向后引用。如果 \nm 之前至少有 n 个获取，则 n 为一个后跟文字 m 的向后引用。如果前面的条件都不满足，若 n 和 m 均为八进制数字 (0-7)，则 \nm 将匹配八进制转义值 nm。</td>
        </tr>
        <tr>
            <td>\nml </td>
            <td>如果 n 为八进制数字 (0-3)，且 m 和 l 均为八进制数字 (0-7)，则匹配八进制转义值 nml。</td>
        </tr>
        <tr>
            <td>\un </td>
            <td>匹配 n，其中 n 是一个用四个十六进制数字表示的 Unicode 字符。例如， \u00A9 匹配版权符号 (?)。</td>
        </tr>
    </tbody>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3>部分例子</h3>
<br />
<table border="1">
    <tbody>
        <tr>
            <td>正则表达式</td>
            <td>说明</td>
        </tr>
        <tr>
            <td>/\b([a-z]+) \1\b/gi</td>
            <td>一个单词连续出现的位置</td>
        </tr>
        <tr>
            <td>/(\w+):\/\/([^/:]+)(:\d*)?([^# ]*)/ </td>
            <td>将一个URL解析为协议、域、端口及相对路径</td>
        </tr>
        <tr>
            <td>/^(?:Chapter|Section) [1-9][0-9]{0,1}$/</td>
            <td>定位章节的位置</td>
        </tr>
        <tr>
            <td>/[-a-z]/</td>
            <td>A至z共26个字母再加一个-号。</td>
        </tr>
        <tr>
            <td>/ter\b/</td>
            <td>可匹配chapter，而不能terminal</td>
        </tr>
        <tr>
            <td>/\Bapt/</td>
            <td>可匹配chapter，而不能aptitude</td>
        </tr>
        <tr>
            <td>/Windows(?=95 |98 |NT )/</td>
            <td>可匹配Windows95或Windows98或WindowsNT,当找到一个匹配后，从Windows后面开始进行下一次的检索匹配。</td>
        </tr>
    </tbody>
</table>]]></description>
		</item>
		
			<item>
			<link>http://www.koodai.com.cn/article/WebDesign/364.html</link>
			<title><![CDATA[100个精美photoshop笔刷下载]]></title>
			<author>kisscb@126.com(admin)</author>
			<category><![CDATA[WebDesign]]></category>
			<pubDate>Sun,09 Dec 2007 11:49:01 +0800</pubDate>
			<guid>http://www.koodai.com.cn/default.asp?id=364</guid>
		<description><![CDATA[from :&nbsp; <a href="http://www.2style.cn/blog/" target="_blank">彩虹天堂<br /></a>一共221M，下载地址在下面。<br /><br /><a title="coos.cn" href="http://photo15.yupoo.com/20071205/095756_1911564325_kkpjhrer.jpg" rel="lightbox[roadtrip]"><img alt="" src="http://photo15.yupoo.com/20071205/095756_1911564325_kkpjhrer.jpg" border="0" /></a><br /><a title="coos.cn" href="http://photo14.yupoo.com/20071205/095755_1297217067_cgfrnqjs.jpg" rel="lightbox[roadtrip]"><img alt="" src="http://photo14.yupoo.com/20071205/095755_1297217067_cgfrnqjs.jpg" border="0" /></a><br /><br /><a href="http://www.fs2you.com/files/8d7c8a5c-a2d4-11dc-b759-0014221f3995/" target="_blank">点击下载part1</a><br /><a href="http://www.fs2you.com/files/22d7dd45-a2d4-11dc-920c-0014221f4662/" target="_blank">点击下载part2</a><br /><a href="http://www.fs2you.com/files/1ce6798c-a2d3-11dc-a51b-0014221f4662/" target="_blank">点击下载part3</a><br /><a href="http://www.fs2you.com/files/fd2f1a91-a2d2-11dc-9de8-0014221f4662/" target="_blank">点击下载part4</a><br /><a href="http://www.fs2you.com/files/e43dbc05-a2d1-11dc-b483-0014221b798a/" target="_blank">点击下载part5</a> <br />]]></description>
		</item>
		
			<item>
			<link>http://www.koodai.com.cn/article/WebDesign/349.html</link>
			<title><![CDATA[Taobao.com UED Team]]></title>
			<author>kisscb@126.com(admin)</author>
			<category><![CDATA[WebDesign]]></category>
			<pubDate>Sat,10 Nov 2007 12:59:24 +0800</pubDate>
			<guid>http://www.koodai.com.cn/default.asp?id=349</guid>
		<description><![CDATA[<p><img alt="" src="http://www.koodai.com.cn/attachments/month_0711/f2007111013114.gif" /></p>
<p>巨搞笑，看看就知道了，^_^</p>
<p><em><a href="http://ued.taobao.com/blog/2007/09/28/funny_answers/#" target="_blank">GOGOGO</a></em></p>]]></description>
		</item>
		
			<item>
			<link>http://www.koodai.com.cn/article/WebDesign/Adpbe-Photoshop-Globa.html</link>
			<title><![CDATA[PHOTOSHOP进不去正在读取全球文本资源…]]></title>
			<author>kisscb@126.com(admin)</author>
			<category><![CDATA[WebDesign]]></category>
			<pubDate>Sat,03 Nov 2007 14:34:31 +0800</pubDate>
			<guid>http://www.koodai.com.cn/default.asp?id=345</guid>
		<description><![CDATA[<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 如果你也遇见了相同的<strong>PHOTOSHOP进不去，卡在了&ldquo;正在读取全球文本资源&hellip;&rdquo;</strong>一篇空白的话，恭喜你，找到解决办法了！</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;出现这个问题是因为你的用户配置文件出了差错，不过关系不大，你只要把<strong><em><strong>&quot;C:\Documents and Settings\{你的用户名}Application Data\Adobe\Photoshop\9.0\Adobe Photoshop CS2 Settings&quot;</strong></em></strong>下的内容全部删除就可以，然后重新打开，OK？ :-)</p>
<p>&nbsp;</p>]]></description>
		</item>
		
</channel>
</rss>
