﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-小气的鬼</title><link>http://www.cnblogs.com/weekzero/</link><description>滋生，成就，努力实现</description><language>zh-cn</language><lastBuildDate>Mon, 22 Mar 2010 11:24:18 GMT</lastBuildDate><pubDate>Mon, 22 Mar 2010 11:24:18 GMT</pubDate><ttl>60</ttl><item><title>什么是SEO？SEO的基本知识</title><link>http://www.cnblogs.com/weekzero/archive/2010/03/20/1690665.html</link><dc:creator>星期零</dc:creator><author>星期零</author><pubDate>Sat, 20 Mar 2010 13:36:00 GMT</pubDate><guid>http://www.cnblogs.com/weekzero/archive/2010/03/20/1690665.html</guid><description><![CDATA[<p>阅读: 11 评论: 0 作者: <a href="http://www.cnblogs.com/weekzero/" target="_blank">星期零</a> 发表于 2010-03-20 21:36 <a href="http://www.cnblogs.com/weekzero/archive/2010/03/20/1690665.html" target="_blank">原文链接</a></p><div><span class="Apple-style-span" style="font-family: Arial; line-height: 24px; ">　　SEO（Search Engine Optimization）搜索引擎优化的英文缩写，是指通过采用易于搜索引擎索引的合理手段，使网站各项基本要素适合搜索引擎的检索原则并且对用户更友好（Search Engine Friendly），从而更容易被搜索引擎收录及优先排序。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　SEO还是英文Search Engine Optimizer的缩写，中文意思是搜索引擎优化师。 这些人利用工具或者其他的各种手法使目标网站符合搜索引擎规则，从而获得搜索引擎搜索排名至高点。&nbsp;<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　SEO是一种搜索引擎营销指导思想，而不仅仅是对针对搜索引擎的排名情况。SEO工作应该贯穿网站策划、建设、维护全过程的每个细节，值得网站设计、开发&nbsp;和推广的每个参与人员了解其职责对于SEO效果的意义。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　SEO也是一种极为重要的宣传技巧，并非是为了单纯的引擎优化，往往也可以作用于B2C销售，例如淘宝，拍拍，有啊，或者是热门的新闻消息传播，比如近几年我们流行的打酱油，躲猫猫，犀利哥，里面都含有了SEO的身影，感兴趣的朋友可以看以下的内容进行学习。<div class="bpctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 35px; line-height: 35px; "></div><h2 class="" style="margin-top: 0px; margin-right: 0px; margin-bottom: 20px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 6px; padding-left: 0px; font-size: 18px; font-weight: bold; line-height: 24px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #dedfe1; clear: both; "><br />主要分类</h2>　　<h3 style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 28px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 16px; font-family: Arial; line-height: 22px; ">站外SEO</h3><br />　　　站外SEO，也可以说是脱离站点的搜索引擎技术，命名源自外部站点对网站在搜索引擎排名的影响，这些外部的因素是超出网站的控制的。最有用功能最强大的外部站点因素就是反向链接，即我们所说的外部链接。毫无疑问，外部链接对于一个站点收录进搜索引擎结果页面起到了重要作用。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　那么如何产生高质量的反向链接呢？<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　1. 高质量的内容<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　产生高质量的外部链接最好的方法就是书写高质量的内容，你的文章能够让读者产生阅读的欲望而对文章进行转载。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　2. 合作伙伴、专业交换<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　与合作伙伴互相推荐链接。与行业网站、相关性网站进行链接。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　3. 分类目录<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　将网站提交到DMOZ目录、yahoo目录、ODP目录一个一些专业目录网站。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　4.社会化书签<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　将网站加入百度搜藏、雅虎收藏、Google书签、QQ书签等社会化书签<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<h3 style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 28px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 16px; font-family: Arial; line-height: 22px; ">站内SEO</h3><br />　　<strong>站内SEO优化的几个重要因素：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　</strong><strong>域名选择</strong><br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　选择域名有大量的学问，其重要的一点是尽量选择包括关键词的域名。其次查看这个域名之前是否有注册过。如果之前有高质量的站点和它做反向链接，那你就受益了；但是也有可能做反向链接的都是一些质量不好的站点，那你可能会被搜索引擎不友好一段时间了。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<strong>关键词设置<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　</strong>　为你的文章增加新的关键词将有利于搜索引擎的&#8220;蜘蛛&#8221;爬行文章索引，从而增加网站的质量。但不要堆砌太多的关键词，应该考虑&#8220;人们在搜索引擎中找到这篇文章，会搜索什么样的关键词。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　这些关键词需要在你的文章中被频繁的提及，可以遵循下面的方法：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　关键词应该出现在网页标题标签里面；<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　在网页导出链接的链接文字中包含关键词；<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　用粗体显示关键词（至少试着做一次）；<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　在标签中提及该关键词（关于如何运用head标签有过争论，但一致都认为h1标签比h2、h3、 h4的影响效果更好，当然有些没有运用head标签的网页也有很高的PR值）；<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　图像ALT标签可以放入关键词；<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　整个文章中都要包含关键词，但最好在第一段第一句话就放入；<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　在元标签（meta 标签）放入关键词，建议关键词密度最好在5-20% 之间。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<strong>站点设计</strong><br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　搜索引擎更喜欢友好的网页结构，无误的代码和明确导航的站点。确保你的页面都是有效的和在主流浏览器中的可视化。搜索引擎不喜欢太多的Flash、i frames和java script脚本，所以保持站点的干净整洁，也有利于搜索引擎&#8220;蜘蛛&#8221;更快更精确的爬行到你网站的索引。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<strong>站点的内部链接<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　</strong>　搜索引擎的工作方式是通过&#8220;蜘蛛&#8221;程序抓取网页信息，追踪你写的内容和通过网页的链接地址来寻找网页，抽取超链接地址。许多SEO专家都建议网站提供网站地图，在网站上的每个页面之间最好都有一个到两个的深入链接。网站要做的第一步是确保导航中包含目录页面 ，也要确保每个子页面都有链接回到主页面和其它的重要页面。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<strong>有规律的更新<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　</strong>　网站更新的次数越频繁，搜索引擎蜘蛛爬行的也就越频繁。这意味着网站新文章几天甚至几小时内就可以出现在索引中，而不需要等几个星期。这是网站最好的受益方式。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<strong>导出链接</strong><br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　导出链接会提高网站在搜索引擎中的排名，在文章中链接到其它相关站点对读者们是有用的，也有一些轶趣的证据来支持这种理论。太多的导出链接将影响降低你的网站，应该&#8220;适度是关键&#8221;。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<strong>每篇文章的主题</strong><br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　一个页面的主题越紧凑，搜索引擎对它的排名就越好。有时发现你写了很长的文章，覆盖了一些不同的话题，它们的相关性并不高，所以在搜索引擎上的排名也不好。如果你关心搜索引擎的排名，那最好把这样的文章切块，分成几个主题更密切的文章。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<strong>写适宜长度的文章<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　</strong>　太短的文章不能获得较高的排名，一般控制每篇文章至少有300个字。另一方面，也不要让文章显得太长，因为这将不利于你保持关键词的密度，文章看上去也缺少紧凑。研究显示过长的文章会急剧减少读者的数量，他们在看第一眼的时候就选择了关闭文章。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<strong>避免内容重复<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　</strong>　搜索引擎在使用指南中严重警告过关于多个网页相同内容的问题。不管这些网页是你拥有的还是别人拥有的。因为一系列的垃圾站点就是不断复制网页内容（也窃取别人网站内容）。有一些争论关于什么样的内容算复制，其实要看这些内容是否对你的网站有用来选择。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<strong>目录的数量<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　</strong>　当我的目录过多的时候，我自己都会陷入麻烦。我认为大站点的等级比小站高，当然一些小站点也有高的等级，这并不是标准。目录越多，搜索引擎搜索的也就越全面。如果你有太多的页面，你需要组织它们以方便搜索引擎爬行。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<strong>提交到搜索引擎<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　</strong>　如果你做了所有站内SEO都该做的事，网站却还没有出现在搜索引擎中。那是因为搜索引擎还没有开始收录，每个搜索引擎都允许用户提交未收录站点，这个工程一般要等待3-5天。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　SEO是依据通过对长期摸索、观察得出来的技术与经验，利用搜索引擎录取网站的规则，将网站的整体结构、网站布局、关键词分布及密度进行优化，使网站对搜索引擎的抓取有友好性，从而进行搜索引擎优化，达到网站提高排名的效果。由于搜索引擎的排名规则及算法是是在不断改变中的，而且这些规则和算法又是商业机密，所以不可能达到保证排在某几位的效果的。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　seo=更多页面的收录+页面文字的友好安排+转化率&nbsp;<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　SEO分为白帽SEO和黑帽SEO，白帽SEO就是正规合理的运作，黑帽SEO就是作弊手法，下面介绍几种常见的作弊方法，希望大家不要用<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<strong>桥页（doorway pages）<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　</strong>　通常是用软件自动生成大量包含关键词的网页，然后从这些网页做自动转向到主页。目的是希望这些以不同关键词为目标的桥页在搜索引擎中得到好的排名。当用户点击搜索结果的时候，会自动转到主页。有的时候是在桥页上放上一个通往主页的链接，而不自动转向。大部分情况下，这些桥页都是由软件生成的。你可以想象，生成的文字是杂乱无章，没有什么逻辑的。如果是由人写出来的真正包含关键词的文章，就不是桥页了。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<strong>关键词堆砌（keyword stuffing）<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　</strong>　在网页中大量堆砌关键词，希望提高关键词密度，提高网页针对关键词的相关度。关键词堆砌可以在很多地方，比如在用户可以看到的文章本身中，也有在title网站标题，关键词标签keywords，说明标签description中。随着搜索引擎算法的改进，关键词密度已经不是一个重要的因素。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<strong>隐藏文字（hidden text）<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　</strong>　隐藏文字是在网页的HTML文件中放上含有关键词的文字，但这些字不能被用户所看到，只能被搜索引擎看到。可以有几种形式，比如说超小字号的文字，与背景同样颜色的文字，放在评论标签当中的文字，放在表格input标签里面的文字，通过样式表把文字放在不可见的层上面等等。其目的也都是想提高网页的相关性。有的时候，有的人还在这些地方放上与网站内容无关的，但是很热门的关键词，希望网页能在这些热门关键词下得到好的排名和流量。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<strong>隐藏链接（hidden link）</strong><br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　隐藏链接和隐藏文字相似，但是区别是把关键词放在链接里面，而这个链接也是用户所看不到的。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<strong>隐藏页面（cloaked page）</strong><br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　有的网页使用程序或脚本来检测来访问的是搜索引擎还是普通用户。如果是搜索引擎，网页就返回经过优化的网页版本。如果来访的是普通人，返回的是另外一个版本。这种作弊方式，通常用户无法发现。因为一旦你的浏览器去看这个网页，无论是在页面上还是在HTML源文件中，你所得到的都已经是与搜索引擎看到的不同的版本。检测的方法是，看一下这个网页的快照。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<strong>细微文字<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　</strong>　许多做搜索引擎优化的人士明白隐藏文字可能会遭到惩罚，所以就将本来隐藏的文字以细微的字体暴露出来。细微文字即使是使用微小的字体在网页不显眼的地方书写带有关键词的句子。一般这些文字是放在网页的最顶端或者最底部。这些文字的色彩虽然不是和隐藏文字那样与背景使用相同颜色，但是经常也以非常相近的颜色出现。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　在搜索引擎眼中，像&#8220;版权所有&#8221;这样的声明性的文字一般是用迷你字体来显示的。这些细微文字一般会被浏览者忽视，但是他们组成的句子会有滥用的嫌疑。<div class="bpctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 35px; line-height: 35px; "></div><h2 class="" style="margin-top: 0px; margin-right: 0px; margin-bottom: 20px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 6px; padding-left: 0px; font-size: 18px; font-weight: bold; line-height: 24px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #dedfe1; clear: both; "><br />相关专业术语</h2>　　Link Popularity 网站的链接广泛度。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　在搜索引擎排名中的作用已得到广泛的认同和重视。实际上，即使你没有在GOOGLE上提交你的站点，但与其它网站作了链接，GOOGLE也可能收录你的网站。搜索引擎还可能完全依据你的链接广泛度决定你的网站排名。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Internal Links 内部链接<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　本网站内部网页之间的链接。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　External Links外部链接：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　本网站外部的链接，一般是指其他网站连到本网站的链接。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Backward Links或Incoming/Inbound Links反向/导入链接：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　意义与&#8220;外部链接&#8221;接近，指其他网站连到本网站的链接。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Outgoing/Outbound Links导出链接：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　指从本网站连到其他网站的链接。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　PageRank (简称PR)<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　PageRank是Google衡量网页重要性的工具，测量值范围为从1至10分别表示某网页的重要性。在Google工具栏可以随时获得某网页的PageRank值。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Search Engine Optimization (简称SEO) 搜索引擎优化：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Search Engine Positioning 搜索引擎定位：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Search Engine Ranking 搜索引擎排名：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　External files外部文件存储：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　把javascript文件和css文件分别放在js和css外部文件中。这样做的好处是把重要的页面内容放到页面顶部，同时能缩小文件大小。有利于搜索引擎快速准确地抓取页面重要内容。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Keyword Density 关键词密度：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　ROBOTS 搜索机器人：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Affiliate Marketing 联属网络营销（有的称会员制营销、网站联盟等）：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　联属网络营销 指的是一种网站A为网站B放置广告按钮，然后从为网站B带来的销售额中获得回佣的一种广告系统。某些广告主通过这种方式获得市场信息而不是现金销售。这种方式被营销费用比较紧张的新网站采用得比较普遍。&nbsp;<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Cost-Per-Click （简称CPC）按点击数付费：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　联属网络营销管理系统记录每个客人在联属会员网站上点击到商家网站的文字的或者图片的链接（或者Email链接）次数，商家（Merchant）按每个点击多少钱的方式支付广告费。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Cost-Per-Lead （简称CPL）或Cost-Per-Acquisition （简称CPA）按引导数付费或：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　访问者通过联属会员的链接进入商家网站后，如果填写并提交了某个表单，管理系统就会产生一个对应给这个联属会员的引导（Lead）记录，商家按引导记录数给会员付费。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Cost-Per-Sale (简称CPS) 按销售额付费：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　商家只在联属会员的链接介绍的客人在商家网站上产生了实际的购买行为后（大多数是在线支付）才给联属会员付费，一般是设定一个佣金比例（销售额的10%到50%不等）。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Pay For Performance （按效果付费）：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　联属营销按效果付费的营销方式无论对于商家还是联属会员都是比较容易接受的。由于网站的自动化流程越来越完善，在线支付系统也越来越成熟，越来越多的联属网络营销系统采用按销售额付费的方法。由于这种方法对商家来说是一种零风险的广告分销方式，商家也愿意设定比较高的佣金比例，这样就使得这种方式的营销系统被越来越多地采用。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Open Directory Project (简称ODP) 目录索引：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Full Text Search Engine 全文搜索引擎：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Search Index/Directory 目录索引类搜索引擎：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　META Search Engine 元搜索引擎：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Spider 俗称&#8220;蜘蛛&#8221;：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Indexer 检索程序：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Free For All Links （简称FFA）免费链接列表：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Stop Words/Filter Words 停用词/过滤词：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　这两者意义一样，都是指一些太常用以至没有任何检索价值的单词，搜索引擎碰到这些词时一般都会过滤掉。因此为节省空间，应尽量避免使用这一类的词，尤其是在对文字数量有严格限制的地方。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Spam：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Frame Sets 框架结构：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　有些搜索引擎（如FAST）是不支持框架结构的，他们的&#8220;蜘蛛&#8221;程序无法阅读这样的网页。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Image Maps 图象区块：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　当&#8220;蜘蛛&#8221;程序遇到这种结构时，往往会感到茫然不知所措。因此尽量不要设置Image Map链接。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Dynamic Pages 动态网页：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　通过程序和数据库连接制作的网页，任何地址中带&#8220;？&#8221;号、&#8220;&amp;&#8221;号（及其他类似符号）的网页都会把&#8220;蜘蛛&#8221;程序挡在门外。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Invisable/hidden text 隐藏文本内容：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　意欲在不影响网站美观的前提下通过包含大量关键词的网页提高关键词相关性得分，从而达到改善搜索引擎排名的目的。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Invisable/hidden links 隐藏链接：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　意欲在不影响网站美观的前提下通过在其它页面添加指向目标优化页的隐形链接，通过提升链接得分而改善搜索引擎排名。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Misleading Words 误导性关键词：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　在页面中使用与该网页毫不相干的误导性关键词来吸引查询该主题的访问者访问网站。这种做法严重影响了搜索引擎所提供结果的相关性和客观性，为搜索引擎所深恶痛绝。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Repeated Words 重复性关键词：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　这种作弊技术也被称为&#8220;关键词堆砌欺骗(Keyword Stuffing)&#8221;，它利用搜索引擎对网页正文和标题中出现的关键词的高度关注来对关键词进行不合理的(过度)重复。类似的其它做法还包括在HTML元标识中大量堆砌关键字或使用多个关键字元标识来提高关键词的相关性。这种技术很容易被搜索引擎察觉并受到相应惩罚。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Keyword Stuffing 关键词堆砌：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Cloaked Page 隐形页面：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　对实际访问者或搜索引擎任一方隐藏真实网站内容，以向搜索引擎提供非真实的搜索引擎友好的内容提升排名。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Deceptive redirects 欺骗性重定向：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　指把用户访问的第一个页面(着陆页)迅速重定向至一个内容完全不同的页面。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Shadow Domain 鬼域：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　这是最常见的欺骗性重定向技术，通过欺骗性重定向使用户访问另外一个网站或页面。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Meta Refresh刷新标识：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Doorway Page 门页：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　也叫&#8220;Bridge/Portal/Jump/Entry Page&#8221;。是为某些关键字特别制作的页面，专为搜索引擎设计，目的是提高特定关键词在搜索引擎中的排名所设计的富含目标关键词的域名，且重定向至另一域名的真实网站。搜索引擎的Spiders往往忽略对那些自动重定向到其它页的页面的检索。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Mirror Sites 镜象站点：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　通过复制网站或昂页的内容并分配以不同域名和服务器，以此欺骗搜索引擎对同一站点或同一页面进行多次索引。现在大多数搜索引擎都提供有能够检测镜象站点的适当的过滤系统，一旦发觉镜象站点，则源站点和镜象站点都会被从索引数据库中删除。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Link Spamming 作弊链接/恶意链接：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　link farms 链接工厂：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Bulk Link Exchange Programs大宗链接交换程序：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Cross Link 交叉链接：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Doorway Domain 门域：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　专为提高特定关键词在搜索引擎中的排名所设计的富含目标关键词的域名，然后重定向至其它域名的主页。由于搜索引擎一般忽略自动重定向至其它页的页面的检索，所以不提倡使用这种技术。<div class="bpctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 35px; line-height: 35px; "></div><h2 class="" style="margin-top: 0px; margin-right: 0px; margin-bottom: 20px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 6px; padding-left: 0px; font-size: 18px; font-weight: bold; line-height: 24px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #dedfe1; clear: both; "><br />优化指南</h2>　　<h3 style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 28px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 16px; font-family: Arial; line-height: 22px; ">优化公式</h3><br />　　　SEO=&#8747;Clock=&#8747;C1+L2+K3+O4<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　1、&#8747;是一个积分符号，C=content，L=link，K=keywords，O=others。SEO就是一个长期的对&#8220;时间&#8221;积分过程，内容是核心；<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　2、C1&#8212;丰富的内容是第一位的要素，按照原创、伪原创、转载依次排列内容的重要性满足用户体验；<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　3、L2&#8212;链接的合理与丰富是第二位的要素，合理有效的内部链接与丰富的外部链接同等重要，而外部链接中高度相关性高Pr值页面尤为重要；<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　4、K3&#8212;关键字因素是第三位的重要因素，包括：合理的Title、Description、Keywords、页面关键字及相关关键字的密度与合理布局；<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　5、O4&#8212;其它因素，比如：域名、站龄、服务器、网站架构、排版、邻居、Url、地图等等；<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　这个公式写的好,把SEO优化,很概括的阐述了，把SEO优化需要注意到的问题,都考虑进去了。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　根据这个公式,可以发现很多有价值的概念,有兴趣的朋友可以仔细的品味品味,不过前提是,你要看的懂这个公式。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　目前SEOer似乎都非常在意蜘蛛体验，实际上，用户体验也非常重要。笔者用下面的公式来概括：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　SEO=用户体验+蜘蛛体验。甚至是SEM也可以用，SEO/SEM定理：SEO/SEM=UE+SE；<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　名词解释：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<strong>搜索引擎营销</strong>(Search Engine Marketing,简称SEM)：是一种新的网络营销形式。SEM所做的就是全面而有效的利用搜索引擎来进行网络营销和推广。SEM追求最高的性价比，以最小的投入，获最大的来自搜索引擎的访问量，并产生商业价值。这里的SEM不包括竞价排名、购买关键词广告等付费手段。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<strong>用户体验</strong>（User Experience，简称UE)：是一种纯主观的在用户使用一个产品（服务）的过程中建立起来的心理感受。在早期的软件设计过程中用户体验主要是来自用户和人机界面的交互过程，现在流行的设计过程注重以用户为中心。用户体验设计目标是什么？最重要的是要让产品有用，这个有用是指用户的需求，其次是易用。具体到网站优化SEO上，一个网站用户体验好就也就是说用户在网站上很容易找到需求的信息，并且没有影响用户浏览信息的障碍物如弹窗，广告等无用信息。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<strong>蜘蛛体验</strong>（SEO Experience，简称SE)：是搜索引擎算法对网站的评价，算法对网站评价好排名好。算法是怎样评价网站的呢？大量优质外链、原创性文章，高频率更新、网站结构好算法、用户体验等符合算法的对网站的评价就好。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　证明：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　用户体验是如何提高SEO排名呢？其一，好的用户体验能提高网站PV值产品转化率。最重要的是把流量变成用户，用户日积月累的流量就越大。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　假设有两个网站A、B，它们除了流量不一样外，其他参数都相同。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　A的流量&gt;B的流量，那么A的权重与排名要优于B。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　即：用户体验好的网站权重与排名好。&nbsp;<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<h3 style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 28px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 16px; font-family: Arial; line-height: 22px; ">影响因素</h3><br />　　　由国外37名优秀的seo界高手共同参与，以投票形式评论影响Google排名的重要因素，此次评选非常有价值，尽管没有将200多个 Google排名因素全部列出，但Google排名算法中90%-95%的重要成分已经包含在其中了。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<strong>有利于seo的因素<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　</strong>　排名 得分 分类 详细说明<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　1 4.9 关键词 关键词在网站TITLE上的使用<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　2 4.4 外部链接 外部链接的锚文字<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　3 4.4 网站品质 网站的外部链接流行度、广泛度<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　4 4.1 网站品质 域名年龄（从被搜索引擎索引开始计算）<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　5 4 页面质量 网站内部链接结构<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　6 3.9 网站品质 网站的外部链接页面内容与关键词的相关性<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　7 3.9 网站品质 网站在主题相关的网站群中的链接流行度<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　8 3.7 关键词 关键词在网页内容上的应用<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　9 3.6 外部链接 外部链接页面本身的链接流行度<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　10 3.5 网站品质 网站新外部链接产生的速率<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　11 3.5 页面质量 导出链接的质量和相关性<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　12 3.5 外部链接 外部链接页面的主题性<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　13 3.5 外部链接 外部链接页面在相关主题的网站社区中的链接流行度<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　14 3.4 关键词 页面内容和关键词的相关性（语义分析）<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　15 3.4 页面质量 页面的年龄<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　16 3.3 关键词 关键词在H1标签中的使用<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　17 3.2 网站品质 网站收录数量<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　18 3.2 外部链接 链接的年龄<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　19 3.1 网站品质 用户查询的关键词与网站主题的相关性（防止Google bombing）<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　20 3.1 外部链接 链接的周围文字<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　21 3 关键词 关键词在网站域名中的使用<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　22 3 页面质量 页面内容的质量<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　23 2.8 关键词 关键词在页面URL中的使用<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　24 2.8 关键词 关键词在H2、H3等Headline标签中的使用<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　25 2.8 页面质量 网站的结构层次<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　26 2.8 网站品质 用户行为<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　27 2.8 外部链接 同域名下外部链接页面的链接流行度<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　28 2.6 关键词 图片的关键词优化<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　29 2.6 网站品质 Google的人工授予权重<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　30 2.6 网站品质 域名的特殊性（.edu .gov等）<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　31 2.5 网站品质 新页面产生的速率<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　32 2.5 外部链接 外部链接的创建和更新时间<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　33 2.5 外部链接 外部链接网站域名的特殊性<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　34 2.4 外部链接 外部链接网站的PR值<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　35 2 关键词 关键词在Meta Description中的使用<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　36 2 网站品质 用户搜索网站的次数<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　37 1.9 页面质量 URL中&#8220;/&#8221;符号的出现次数<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　38 1.8 页面质量 拼写和语法的正确性<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　39 1.4 页面质量 HTML代码是否通过W3C认证<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　40 1.3 网站品质 网站是否通过Google Webmaster Central的认<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　41 1.2 关键词 关键词在Meta Keywords中的使用<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<strong>影响seo的负面因素</strong><br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　排名 得分 详细说明<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　1 3.8 服务器经常无法响应<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　2 3.6 与Google已经收录的内容高度重复<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　3 3.6 链向低质量或垃圾站点<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　4 3.3 网站大量页面存在重复的META标签<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　5 3.3 过分堆砌关键词<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　6 3.3 参与链接工厂或大量出售链接<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　7 2.8 服务器响应时间非常慢<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　9 2.1 非常低的流量，用户行为反映差&nbsp;<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　SEO优化中关键词布局技巧&nbsp;<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　在正文标题和在整个网站的内页标题里使用关键词，正文标题应该吸引用户的眼球并且告诉他们来到了最适合他的网<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　在正文标题和在整个网站的内页标题里使用关键词，正文标题应该吸引用户的眼球并且告诉他们来到了最适合他的网站。&lt;H1&gt;优化正文标题&lt;/H1&gt;是最直接SEO优化方法。最开始SEO168就建议使用这种直接的方法，直到你开始得到稳定的排名。标题标签从最大到最小的分别是HI到H6。你也能在正文使用CSS，想像一下您的这些标题就像一份报纸中的一个大标题。我通常用相近的关键词短语做成正文的副标题。正文的其它部分通常以销售转换的思维写而且对于搜索引擎优化不予以太多的提醒。自然的写入将会使您在文本各处自然的使用您的关键词。seo168建议在每页上使用一个的H1标签。也可以试着使用许多H2 或H3的标签在页面内辅助构成正文内容。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　把页分成小组<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　H1(由主要关键词组成) 在每页唯一使用的一个H1标签。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　H2(相似的分题重复主要关键词短语)段落<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　H2(另外的一个次要主题用一些相似或重叠的变种关键词))段落<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　H2(有时一些分表题没有关键词，但是大多数也做成H2的标题)段落<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　通常副标题将会把重心集中在一个些较长的关键词短语，特别要超过主标题,但是也将会包含一些与主标题相同的字组。另外描写的副标题也要改进你的网站的浏览效率和可用性。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　建议每页使用一个H1标签，用其他的字组文本辅助关键词构成那标题标签中的信息。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　关键词的提取&nbsp;<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　大部分的网站以html格式存在，对于索引来说的吗，只须要处理文本信息。因此需要把网页中内容提取出来，再过滤一些脚本如JS等以广告形式存在的内容，同时记录文本的版面格式信息，网页处理主要包括4个方面：关键词的提取，重复，转载的消除，链接分析，和网页重要度计算，关键词是怎么提取的，由于HTML网页来源多样性，内容比较随意，新人SEO且不讲究规范，工整，包含了许多无关的信息，如广告，导航，版权说明，为了能查询到有用的内容，得从网页源文件中提取出有代表性的内部部分所包含的关键词，中文网页用到了词典和切词软件，不应该在文本中出现在等词，称为停用词，有效词语要保证在200左右<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　常见的SEO术语<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　目录（Directory）<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　目录是由人为编辑的搜索结果。大多数目录依靠的是人为提交而不是爬行器（spider）。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　竞价（bid）为每个搜索引擎引荐向搜索引擎支付发费用，用以保证在付费搜索结果的排名。其最简单的形式，付费搜索结果显示出价最高一方的网页链接在结果列表的顶端，并且竞标方每次在访客点击竞标方的链接时付钱给搜索引擎。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　关键字、关键词和关键短语（Keyword、keyterm 和 keyphrase）<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　关键字、关键词和关键短语是 Web 站点在搜索引擎结果页面（也称为 SERP）上排序所依据的词。根据站点受众的不同，您可以选择一个单词、多个单词的组合或整个短语。为简化起见，本文将使用关键词 这个术语表示所有这三种类型。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　关键词密度（keyword density）也被称为搜索项密度（term density ），是关于特定搜索请求的项在网页上所有项中的比率。例如，如果你想要的200 个词的网页就是关键词&#8220;失眠症&#8221;被找到，而你的网页上这个词出现了12 次，你网页上这个词的关键词密度是6% （12/200）。搜索引擎通常认为有 6~7%关键词密度的网页是很高质量的网页。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　链接场（Link farm）<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　在 SEO 术语中，链接场是指一个充满链接的页面，这些链接其实没有实际作用，它们只作为链接存在，而没有任何实际的上下文。那些采用运用黑帽 SEO 方法的人利用链接场，在一个页面中增加大量链接，希望能通过这种方式使 Google 误认为这个页面很有链接的价值。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　交互链接（reciprocal link）也称作双向链接，是对一个网页不光有超文本链接，同时对应有和原始网页的链接。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　有机列表（Organic listing）<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　有机列表是 SERP 中的免费列表。有机列表的 SEO 通常涉及改进 Web 站点的实际内容，这往往是在页面或基础架构级别进行的。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　PageRank<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　PageRank 是迷恋 Google 的人们用来测试其站点在 Google 中的排名的一种度量标准。SEO 和搜索引擎营销（SEM）专家也使用这个术语描述网页在 SERP 中的排名以及 Google 根据排名算法给予站点的分数。无论如何定义，PageRank 都是 SEO 的重要部分。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　付费列表（Paid listing）<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　顾名思义，付费列表就是只有在付费后才能列入搜索引擎的服务。根据搜索引擎的不同，付费列表可能意味着：为包含于索引之中、每次点击（PPC）、赞助商链接（sponsored link）或者在搜索目标关键词和短语时让站点出现在 SERP 中的其他方式而付费。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　永久重定向（permanent redirect）也被称为301 重定向，是一条对网站浏览器的指令来显示浏览器被要求显示的不同的URL，当一个网页经历过其URL 的最后一次变化以后时使用。一个永久定向是一种服务器端的重定向，能够被搜索引擎蜘蛛适当地处理。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　排名（Ranking）<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　排名是页面在目标关键词的 SERP 中列出的位置。SEO 的目标是提高 Web 页面针对目标关键词的排名。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　排名算法（Ranking algorithm）<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　排名算法是搜索引擎用来对其索引中的列表进行评估和排名的规则。排名算法决定哪些结果是与特定查询相关的。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　搜索引擎营销（Search engine marketing，SEM）<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　SEM 这个术语可以与 SEO 互换使用，但 SEM 常常是指通过付费和广告向搜索引擎推销 Web 站点，同时应用 SEO 技术。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　搜索引擎优化（Search engine optimization，SEO）<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　SEO 就是根据对搜索引擎的吸引力和可见性来优化内容，从而使 Web 页面能够被搜索引擎选中。SEO 主要用来提高有机列表的排名。我使用 SEO 这个术语描述我推荐的技术，但是其中许多技术也可以归入 SEM 的范畴。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　搜索引擎结果页面（Search engine results page，SERP）<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　SERP 是为特定搜索显示的列表或结果。SERP 有时候定义为搜索引擎结果的安排（placement）。根据本系列的目的，我将其称为页面而不是安排。在 SEO 领域中，在 SERP 中取得良好的表现就是一切。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　垃圾技术（Spamming）<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　垃圾技术是一种欺诈性的 SEO 手段，它尝试欺骗爬行器（spider），并利用排名算法中的漏洞来影响针对目标关键词的排名。垃圾技术可以表现为多种形式，但是 &#8220;垃圾技术&#8221; 最简单的定义是 Web 站点用来伪装自己并影响排名的任何技术。根据是否采用垃圾技术，SEO 方法可分为两大类：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　黑帽 SEO（Black hat SEO）：用垃圾技术欺骗搜索引擎。黑帽 SEO 以伪装、欺诈和窃取的方式骗取在 SERP 中的高排名。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　白帽 SEO（White hat SEO）：以正当方式优化站点，使它更好地为用户服务并吸引爬行器的注意。在白帽 SEO 中，能够带来好的用户体验的任何东西也都被视为对 SEO 有益。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　隐藏文本（hidden text）一种作弊技术，通过这种技术，网页上的文字被设计来被蜘蛛程序而不是人看到。文本可以通过用极小的的字号显示而不被看到，或者使用和背景颜色一样的颜色，或者将关键词被图形或者其他网页元素覆盖等。作弊者在网页上堆积关键词来得到高的搜索排名。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　爬行器（Spider）<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　爬行器在 Web 上漫游，寻找要添加进搜索引擎索引中的列表。爬行器有时也称为 Web 爬行榜（Webcrawler）或机器人。针对有机列表优化页面也就是为了吸引爬行器的注意。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　沙盒效应（sandbox effect）搜索营销专家所使用的非正式名字，用来描述Google 和其他搜索引擎处理新站点的方法。它们会对那些链接流行度迅速攀升的网站进行冷处理。网页可以展现它要的内容，但会被放在&#8220;沙箱&#8221;里面，而对任何搜索请求都不会得到最高排名。如果其后来的流行度经过一段时间还保持不变，或者逐渐上升，那么搜索引擎就开始取消冷处理并且给链接流行度更高的权重，使得搜索排名上升。&nbsp;<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　在SEO中过多使用flash和ajax技术，会给搜索引擎带来很多麻烦,目前搜索引擎还不能很好地索引由flash、ajax表现的网页,原因就是搜索引擎只索引页面,而不会索引应用程序。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　还有即使搜索引擎做到了完全解释flash文件或者ajax应用程序，并能分析和索引它们的相关内容，也还是没有任何办法使用url导航应用程序，对排名没有一点帮助。搜索引擎的主要目标的是将搜索结果提交给用户，但当处理这些媒体信息时，搜索引擎将无法排列这些信息的顺序。总之，flash和ajax将会带来更多有创意的设计，也会带来更难侦测的垃圾网站形式。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　谷歌索引的flash，给的建议就是，网站设计者应该仅在需要使用flash和ajax的地方使用它，应该主要还是多使用html语言设计网站，而将flash和ajax作为辅助技术，为用户提供切实的好处。通常，html和JavaScript的混合也基本可以达到使用这些技术的效果。也就是说，在使用flash和ajax时应把它们当成页面上的单元，而不是页面本身。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<h3 style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 28px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 16px; font-family: Arial; line-height: 22px; ">实施步骤</h3><br />　　　&#8226;基本状况分析<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　&#8226;关键词分析<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　&#8226;网站内部优化实施<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　&#8226;网站外链建设<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　&#8226;排名效果跟踪，流量分析<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　&#8226;根据排名效果，重回第一步，进行调整<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　&#8226;关键词排名维护或培训客户员工进行维护&nbsp;<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<h3 style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 28px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 16px; font-family: Arial; line-height: 22px; ">若干技巧</h3><br />　　　1、归类总结策略<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　如今互联网上的资源浩如烟海，你可以按照某种分类或者归类，然后直接列出一个清单，表明相关数据等等，这样的文章很容易组织，也容易被作为权威数据而被大量引用。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　例如：&#8220;中国10大公认知名导航网&#8221;，你可以建立一个知名导航网列表，然后列出导航网列表顺序；&#8220;豆腐制作方法大全&#8221;，详细的列出常用的制作豆腐的方法；&#8220;生活中应该注意的&#215;&#215;&#215;的10细节&#8221;。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　从表面上看，你只做出来的列表很简单，但是却是非常实用的，这样就会成为权威文件而被大量引用，引用者就会链接向这样的文章，以此作为自己文章的佐证。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　2、增加文章内容的权威性<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　要想把自己的数据作为权威的数据来参考，你就必须把自己的数据弄得更加权威，内容通俗易懂，深入浅出，便于人们理解和掌握，这样有利于更多的人为你传播。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　尽量减少语法或拼写错误，结构合理，措辞严谨，因为权威的数据中出现不应有的错误，是权威性大打折扣。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　为站点添加&#8220;隐私政策&#8221;、&#8220;关于我们&#8221;、&#8220;联系方式&#8221;、&#8220;律师顾问&#8221;等等会是网站变得更加可信，因为在人们的心中，公司的信誉要高于个人。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　3、巧妙利用新闻站点和RSS聚合<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　撰写高质量的文章，然后在对应的行业新闻网站发布。这些权重高的网站排名高、人气旺，浏览量非常大，能在这里发表文章除了能增加网站的反向链接，还会给你带来意想不到的流量。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　例如：你要是研究SEO方面的文章，就要向SEO方面的网站和论坛上发表<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　发表动态性的文章你可以提交新闻门户网站，然后提供稿件的来源。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　为了推广的需要，可以同其他站点交换文章，相互发表，增加文章的出现率和点击率。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　利用互联网上的RSS聚合，把文章发送的RSS网站上，便于人们阅读和收藏。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　4、利用网址站、目录站和社会化书签<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　根据自己网站的情况，把自己的网站提交到网站开放目录或者其他免费目录中，在中国的目录站主要有HAO123、百度网址大全、谷歌网址大全等等。这些目录站的人气非常旺，如果能被这些网站收录，不仅仅带来的是流量，更重要的为你的网站带去源源不断的网络蜘蛛，这对网站被搜索引擎收录、网站关键词的排名都是非常有效的。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　把自己的精品文章添加到百度搜藏、雅虎搜藏、Google书签、QQ书签等社会化书签。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　让用户通过Google阅读器、RSS等订阅你的文章，不断扩大网站的影响力及其知名度。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　5、合作伙伴、链接交换<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　充分利用合作伙伴或者商业伙伴之间的关系，尽可能的让对方为自己的网站添加一个链接或者互换一个链接（当然要互换权重高的）。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　管理好自己的友情链接，想尽办法，尽可能的从权重高的网站上获得连接的支持。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　利用某些网站提供交换链接的地方，留下自己的网站链接。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　有条件的可以提供开源程序或者模版等方式，让采用者留有链接。也可以给内容管理系统CMS或Blog系统等开源网站系统提供免费精美模板，并在模板中添加&#8220;由&#215;&#215;&#215;设计&#8221;；为开源网站程序开发插件，并留有作者链接；开发有用的工具，发表并留有下载地址等等<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　6、利用互动平台，巧妙的留下链接<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　积极参与问答平台如百度知道、雅虎知识、问问等等，在这些问答中不仅仅能为需要者提供解决问题的方案，同时也留下了该站点的链接。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　参与相关论坛如安全杀毒论坛等。可以为站点添加链接。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　参与社会化wiki平台如百度百科，维基百科等的编辑。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Googlepage建立专业网页并建立指向。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　利用一些交易平台或者交换平台，巧妙的留下自己的链接。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　7、撰写评论及答疑方面的文章<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　利用博客的评论功能，巧妙的留有自己的名称和链接。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　对名人或者某个有影响的事件撰写评论文章，起到推波助澜的作用，逐步扩大事件的站点的影响力。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　对于特定情况下出现的问题或者疑问，撰写文章，留下自己的链接。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　可以对你购买的产品或者广告留下评语，也可以撰写一些推荐信，推荐自己的观点和思维方法等等。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　8、利用社会关系在特定场合和人物，借机炒作。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　利用社会关系，积极发现在特定场合或者有吸引眼球的地方等等，拍摄名人炒作的照片或者某记录下某句话，然后署上精彩点评或者解说，进行抛砖引玉，当然也可以做成访谈之类的文章，便于快速的传播。（摘录）<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　SEO菜鸟需要掌握的基本SEO技巧如下：<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　导航<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　请确保你的网站导航都是以html的形式链接。所有页面之间应该有广泛的互联，要满足站内任何页面可以通过回连到达主页，如果无法实现这一点，可以考虑建立一个网站地图。&nbsp;<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　首页<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　网站的首页（home或index页等）应该采用文本的形式，而不是flash等。这个文本里面要包含你的目标关键字或目标短语。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　标签<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　&lt;title&gt; &lt; /title&gt;这是标题标签，这里面应当包含你最重要的目标关键词。&nbsp;<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　Google PR值算法公式<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　PR(A) =(PR(B) /L(B)+PR(C) /L(C)+PR(D)/L(D)+...+PR(N)/L(N))q+1-q<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　其中，PR(A)：指网页A的佩奇等级(PR值)<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　PR(B)、PR(C)...PR(N)表示链接网页A的网页N的佩奇等级(PR)。N是链接的总数，这个链接可以使来自任何网站的导入链接(反向链接)。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　L(N)：网页N往其他网站链接的数量(网页N的导出链接数量)<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　q：阻尼系数，介于0-1之间，google设为0.85.<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<h3 style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 28px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 16px; font-family: Arial; line-height: 22px; ">人员分工</h3><br />　　　&#8226;编辑: 撰写符合SEO的文章<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　&#8226;程序: 编写符合SEO的CMS<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　&#8226;美工: 做出符合SEO的前台页面<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　&#8226;推广：建立高效的外部链接<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　&#8226;SEOer<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　相辅相成,共同进步<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　搜索引擎优化(SEO)原则<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　网站链接优化<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　1、建立网站地图<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　只要有可能，最好给网站建一个完整的网站地图sitemap。同时把网站地图的链接放在首页上，使搜索引擎能很方便的发现和抓取所有网页。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　2、每个网页最多离首页四次点击就能到达<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　3、网站的导航系统最好使用文字链接。&nbsp;<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　4、网站导航中的链接文字应该准确描述栏目的内容&nbsp;<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　5、整站的PR传递和流动<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　6、网页的互相链接<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　SEO优化基本要点:<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　1、定义网站的名字,选择与网站名字相关的域名<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　2、分析围绕网站核心的内容，定义相应的栏目，定制栏目菜单导航<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　3、根据网站栏目，收集信息内容、整理、修改、创作、添加<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　4、选择稳定安全服务器，保证网站24小时能正常打开，网速稳定<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　5、分析网站相关长尾关键词，合理的添加到内容中<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　6、网站程序采用div+css构造，符合w3网页标准，全站生成静态网页<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　7、合理交换网站相关的友情链接，不能于搜索引擎惩罚的与行业不相关的网站交换链接<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　8、制作生成xml与htm的地图,便于搜索引擎对网站内容的抓取<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　9、为每个网页定义标题、meta标签, 标题简洁，meta围绕主题关键词<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　10、网站经常更新相关信息内容，禁用采集，手工添置，原创为佳。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　11、放置网站统计计算器，分析网站流量是通过什么来的，用户关注什么内容，根据用户的需求，修改、添加，增加用户体验。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　12、网站设计美观大方，菜单清晰，网站色彩搭配合理，尽量少用图片、flash、视频等，影响打开速度。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　13、合理的seo优化，不采用群发软件，禁止针对搜索引擎网页排名的作弊(SPAM),合理优化推广。&nbsp;<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<h3 style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 28px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 16px; font-family: Arial; line-height: 22px; ">常见问题</h3><br />　　　1. 过度优化<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　2. 受到搜索引擎的惩罚<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　3. 网站被K<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　4. 达不到既定的效果<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　5. 排名不稳定<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　6. 网站的片面优化，SEO的短板效应&nbsp;<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　7. 服务器不稳定<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　<h3 style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 28px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 16px; font-family: Arial; line-height: 22px; ">安全策略</h3><br />　　　这也是很多站长在网站的SEO过程中容易忽视的一个问题，建议从以下几个方面入手安全策略。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　1）选择稳定的服务器或者虚拟主机，保证用户稳定流畅的访问站点；<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　2）对网站的程序进行综合分析，去掉烦琐的代码，使用简单的DIV+CSS布局，杜绝漏洞隐患；<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　3）定期对服务器系统进行更新，保持安全稳定的操作系统，以保障网站的安全运行；<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　4）网站后台管理员账号和密码尽量复杂；<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　5）数据库路径尽量不使用默认；<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　6）经常更新漏洞程序补丁，比如使用CMS（内容管理系统）做站的朋友，时常联系开发商更新程序补丁；<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　7）关注微软官方发布的最新漏洞程序，及时更新；<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　安全的网站空间和操作平台才能更好的服务于搜索用户，才能带来稳定的客户来源，安全问题不可忽视。给用户一个安全稳定的网站平台，当然给你带来的是最大的收益 。<div class="bpctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 35px; line-height: 35px; "></div><h2 class="" style="margin-top: 0px; margin-right: 0px; margin-bottom: 20px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 6px; padding-left: 0px; font-size: 18px; font-weight: bold; line-height: 24px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #dedfe1; clear: both; "><br />SEO策略几个常见现象</h2>　　一: 沙盒<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　什么是沙盒? 沙盒的意思是通常指新网站在前期很难在google有好的排名.一般时间限制在6个月左右.为什么进入沙盒? 一般进入沙盒的原因是网站突然增加了大量的外部连接.<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　二: 炸弹<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　什么是炸弹? 炸弹的意思是通过建立大量的外部连接,锚文本(连接文字)全部为关键字.致使网站强行上升排名.为什么会存在炸弹? 因为现在搜索引擎算法问题,大量的锚文本让引擎误认为某个网站是最符合搜索请求的页面.对于新站来说，定时定量的添加锚文本比一次性大量的添加锚文本更能增加网站的权重。<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　三: 幽灵<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　什么是幽灵? 幽灵指的是新站排名不稳定,忽高忽低的现象.为什么会出现幽灵? 这个主要是因为搜索引擎防止作弊造成的.还一个因素就是网站的权重问题<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　四: 连坐<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　什么是连坐? 连坐是古代一种刑法,在这里指的是被同服务器或IP地址的其他网站牵连. 同样也是搜索引擎防止作弊,为了避免连接工厂的泛滥.<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　五: 金三角<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　什么是金三角? 金三角指的是google抓取关键字重点位置一般分布在页面左上,呈三角形.<div class="bpctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 35px; line-height: 35px; "></div><h2 class="" style="margin-top: 0px; margin-right: 0px; margin-bottom: 20px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 6px; padding-left: 0px; font-size: 18px; font-weight: bold; line-height: 24px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #dedfe1; clear: both; "><br />seo的作用</h2>　　1. 让更多的用户更快的找到他想找的东西<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　2.可以让相关关键词排名靠前，满足用户需求<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　3.让有需求的人首先找到你<br /><div class="spctrl" style="font-family: Arial; font-size: 14px; text-align: left; height: 10px; line-height: 10px; "></div>　　4.提供搜索结果的自然排名，增加可信度</span></div><img src="http://www.cnblogs.com/weekzero/aggbug/1690665.html?type=1" width="1" height="1" alt=""/><p>评论: 0　<a href="http://www.cnblogs.com/weekzero/archive/2010/03/20/1690665.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/weekzero/archive/2010/03/20/1690665.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/59390/" target="_blank">柳传志:联想已投资电子书项目&quot;E人E本&quot;</a><span style="color:gray">(2010-03-22 18:42)</span><br/>· <a href="http://news.cnblogs.com/n/59389/" target="_blank">百度李彦宏回应高管相继离职：未必会找继任者</a><span style="color:gray">(2010-03-22 18:09)</span><br/>· <a href="http://news.cnblogs.com/n/59386/" target="_blank">Firefox 3.6曝高危漏洞 Mozilla月底修复</a><span style="color:gray">(2010-03-22 17:40)</span><br/>· <a href="http://news.cnblogs.com/n/59385/" target="_blank">联想集团宣布任命David Roman为高级副总裁</a><span style="color:gray">(2010-03-22 17:31)</span><br/>· <a href="http://news.cnblogs.com/n/59384/" target="_blank">《纽约时报》：减少网上支付的焦虑</a><span style="color:gray">(2010-03-22 17:21)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/59293/" target="_blank">五个广泛流传的对大龄程序员的误解</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>windows7下运行红警2（Ra2）</title><link>http://www.cnblogs.com/weekzero/archive/2010/02/17/1668893.html</link><dc:creator>星期零</dc:creator><author>星期零</author><pubDate>Wed, 17 Feb 2010 04:45:00 GMT</pubDate><guid>http://www.cnblogs.com/weekzero/archive/2010/02/17/1668893.html</guid><description><![CDATA[<p>阅读: 70 评论: 0 作者: <a href="http://www.cnblogs.com/weekzero/" target="_blank">星期零</a> 发表于 2010-02-17 12:45 <a href="http://www.cnblogs.com/weekzero/archive/2010/02/17/1668893.html" target="_blank">原文链接</a></p><p>很多技术朋友还是非常的喜欢红警2</p><p>刚装了windows7直接运行，报错，这是因为没有运行的权限</p><p>步骤：在&#8220;Ra2.exe&#8221;文件上右键，选择&#8220;以管理员身份运行&#8221; ，这样以后直接打开就可以了</p><img src="http://www.cnblogs.com/weekzero/aggbug/1668893.html?type=1" width="1" height="1" alt=""/><p>评论: 0　<a href="http://www.cnblogs.com/weekzero/archive/2010/02/17/1668893.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/weekzero/archive/2010/02/17/1668893.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/59390/" target="_blank">柳传志:联想已投资电子书项目&quot;E人E本&quot;</a><span style="color:gray">(2010-03-22 18:42)</span><br/>· <a href="http://news.cnblogs.com/n/59389/" target="_blank">百度李彦宏回应高管相继离职：未必会找继任者</a><span style="color:gray">(2010-03-22 18:09)</span><br/>· <a href="http://news.cnblogs.com/n/59386/" target="_blank">Firefox 3.6曝高危漏洞 Mozilla月底修复</a><span style="color:gray">(2010-03-22 17:40)</span><br/>· <a href="http://news.cnblogs.com/n/59385/" target="_blank">联想集团宣布任命David Roman为高级副总裁</a><span style="color:gray">(2010-03-22 17:31)</span><br/>· <a href="http://news.cnblogs.com/n/59384/" target="_blank">《纽约时报》：减少网上支付的焦虑</a><span style="color:gray">(2010-03-22 17:21)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/59293/" target="_blank">五个广泛流传的对大龄程序员的误解</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>Windows7替换系统字体</title><link>http://www.cnblogs.com/weekzero/archive/2010/02/15/1668633.html</link><dc:creator>星期零</dc:creator><author>星期零</author><pubDate>Mon, 15 Feb 2010 13:32:00 GMT</pubDate><guid>http://www.cnblogs.com/weekzero/archive/2010/02/15/1668633.html</guid><description><![CDATA[<p>阅读: 35 评论: 0 作者: <a href="http://www.cnblogs.com/weekzero/" target="_blank">星期零</a> 发表于 2010-02-15 21:32 <a href="http://www.cnblogs.com/weekzero/archive/2010/02/15/1668633.html" target="_blank">原文链接</a></p><span class="Apple-style-span" style="font-family: 宋体; line-height: 23px; color: #333333; "><p style="list-style-type: none; list-style-position: initial; list-style-image: initial; margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; padding-top: 15px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; width: 636px; line-height: 23px; color: #333333; font-size: 14px; ">从Windows Vista开始，<a href="http://product.it168.com/list/b/05080150_1.shtml" target="_blank" class="nounderline" title="微软" style="text-decoration: none; color: #333333; ">微软</a>就为系统升级了很多字体，加入了新版的雅黑字体，这种字体在<a href="http://product.it168.com/list/b/0213_1.shtml" target="_blank" class="nounderline" title="液晶显示器" style="text-decoration: none; color: #333333; ">液晶显示器</a>上效果很好，而且看着也舒服很多。但是Vista系统自带的宋体字，虽然也升级了，可惜在很多国人眼里来看，明显较<a href="http://product.it168.com/detail/doc/42505/index.shtml" target="_blank" class="nounderline" title="XP" style="text-decoration: none; color: #333333; ">XP</a>里自带的要丑很多，一时间很多人都不习惯。Windows7系统和Vista一样，默认的宋体很别扭，特别是在看网页的时候，效果相当郁闷。</p><p style="list-style-type: none; list-style-position: initial; list-style-image: initial; margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; padding-top: 15px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; width: 636px; line-height: 23px; color: #333333; font-size: 14px; ">　　为了解决默认字体显示问题，很多人都建议替换系统字体，这样一劳永逸，而且能保证整个系统显示的一致性。但是，很多人发现替换系统字体是很麻烦的事情，经常需要很多的步骤，操作起来也有一定的风险。下面笔者与大家分享一下替换字体的简单方法，保证一学就会！</p><p style="list-style-type: none; list-style-position: initial; list-style-image: initial; margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; padding-top: 15px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; width: 636px; line-height: 23px; color: #333333; font-size: 14px; ">　　1.首先我们要下载替换用的字体，这里推荐使用一款利用<a href="http://product.it168.com/list/b/05010150_1.shtml" target="_blank" class="nounderline" title="微软" style="text-decoration: none; color: #333333; ">微软</a>雅黑点阵字体修改的宋体合成版，这里要感谢下字体的作者&#8220;碧海潮声&#8221;朋友。</p><p style="list-style-type: none; list-style-position: initial; list-style-image: initial; margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; padding-top: 15px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; width: 636px; line-height: 23px; color: #333333; font-size: 14px; ">　　下载：<a target="_blank" href="http://www.jialianke.com/down/Simsun1.043.7z" style="text-decoration: underline; color: #014ee9; "><font color="#2f5fa1">碧海潮声的雅黑 For Simsun1.043</font></a></p><p style="list-style-type: none; list-style-position: initial; list-style-image: initial; margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; padding-top: 15px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; width: 636px; line-height: 23px; color: #333333; font-size: 14px; ">　　2.接下来我们开始替换系统默认的宋体字。打开您的系统安装目录（一般在C:Windows），进入到字体文件夹（Fonts）。在这里找到SimSun Regular名字的字体，将它用<a href="http://product.it168.com/list/b/0220_1.shtml" target="_blank" class="nounderline" title="鼠标" style="text-decoration: none; color: #333333; ">鼠标</a>拖拽到桌面。</p><p style="list-style-type: none; list-style-position: initial; list-style-image: initial; margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; padding-top: 15px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; width: 636px; line-height: 23px; color: #333333; font-size: 14px; ">　　3.把我们下载到的字体压缩包解压，得到一个名为simsun.ttc的文件，复制到刚刚打开的C:WindowsFonts下，这时候会提示你是否替换，选择yes（是）。</p><p style="list-style-type: none; list-style-position: initial; list-style-image: initial; margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; padding-top: 15px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; width: 636px; line-height: 23px; color: #333333; font-size: 14px; ">　　4.重启电脑，登陆系统以后，字体替换就成功了，这时候你可以把刚刚拖拽到桌面的原版宋体，备份保存起来，当然你也可以删除掉它哦。很简单吧！</p></span><img src="http://www.cnblogs.com/weekzero/aggbug/1668633.html?type=1" width="1" height="1" alt=""/><p>评论: 0　<a href="http://www.cnblogs.com/weekzero/archive/2010/02/15/1668633.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/weekzero/archive/2010/02/15/1668633.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/59390/" target="_blank">柳传志:联想已投资电子书项目&quot;E人E本&quot;</a><span style="color:gray">(2010-03-22 18:42)</span><br/>· <a href="http://news.cnblogs.com/n/59389/" target="_blank">百度李彦宏回应高管相继离职：未必会找继任者</a><span style="color:gray">(2010-03-22 18:09)</span><br/>· <a href="http://news.cnblogs.com/n/59386/" target="_blank">Firefox 3.6曝高危漏洞 Mozilla月底修复</a><span style="color:gray">(2010-03-22 17:40)</span><br/>· <a href="http://news.cnblogs.com/n/59385/" target="_blank">联想集团宣布任命David Roman为高级副总裁</a><span style="color:gray">(2010-03-22 17:31)</span><br/>· <a href="http://news.cnblogs.com/n/59384/" target="_blank">《纽约时报》：减少网上支付的焦虑</a><span style="color:gray">(2010-03-22 17:21)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/59293/" target="_blank">五个广泛流传的对大龄程序员的误解</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>windows7下安装显卡驱动（如：nvidia geforce go 7400）</title><link>http://www.cnblogs.com/weekzero/archive/2010/02/15/1668631.html</link><dc:creator>星期零</dc:creator><author>星期零</author><pubDate>Mon, 15 Feb 2010 13:26:00 GMT</pubDate><guid>http://www.cnblogs.com/weekzero/archive/2010/02/15/1668631.html</guid><description><![CDATA[<p>阅读: 121 评论: 0 作者: <a href="http://www.cnblogs.com/weekzero/" target="_blank">星期零</a> 发表于 2010-02-15 21:26 <a href="http://www.cnblogs.com/weekzero/archive/2010/02/15/1668631.html" target="_blank">原文链接</a></p><p>06年买了三星的X11-cv0f笔记本，三星笔记本好坏暂且不论，单看对于驱动的支持和技术服务上还是相当的不好。</p><p>&nbsp;对于我们技术开发人员使用windows2003是很常见的，但是装上后无线上网等几个驱动都没有，于是给三星客服打电话，居然理直气壮的说这个没有提供，让人费解。即使使用的人群再少也应该考虑驱动的支持吧，这点连一些DIY电脑的技术服务都不如。</p><p>言归正传，这几天装了windows7，感觉很不错，就是显卡驱动被默认成VGA了，搜了很多的nvidia的驱动，而且都是官方提供的，仍然安装不上。</p><p>后来试验了一下，终于装上了，步骤如下：</p><p>1，到nvidia上下载官方对windows7支持的驱动，地址：<a href="http://www.nvidia.cn/Download/index.aspx?lang=cn" target="_blank">http://www.nvidia.cn/Download/index.aspx?lang=cn</a>，打开后选择需要的型号的驱动</p><p>2，安装时使用&#8220;更新驱动软件&#8221;，然后选择&#8220;浏览计算机以查找驱动程序软件&#8221;，然后选择驱动所在位置，然后再点&#8220;从计算机的设备驱动程序列表中选择&#8221;，然后点&#8220;显示兼容硬件&#8221;，然后在左边选择&#8220;&nbsp;nvidia&#8221;，再在右边选择对应的型号，如果型号没有就选择一个接近的，如我的是go7400，没有就选择了一个7500的，然后再点开&#8220;从磁盘安装&#8221;，找到驱动所在位置，下一步就ok了</p><p>&nbsp;</p><p>这样就解决了&#8220;装windows7之后显卡变成标准 VGA 图形适配器&#8221; 的情况了</p><p>&nbsp;当驱动不符，就如我的7400用的7500的驱动，后里在用windows update更新时有个可选择的更新就是7400的显卡驱动，更新了后就是最符合的驱动了。</p><p>&nbsp;</p><p>&nbsp;</p><img src="http://www.cnblogs.com/weekzero/aggbug/1668631.html?type=1" width="1" height="1" alt=""/><p>评论: 0　<a href="http://www.cnblogs.com/weekzero/archive/2010/02/15/1668631.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/weekzero/archive/2010/02/15/1668631.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/59390/" target="_blank">柳传志:联想已投资电子书项目&quot;E人E本&quot;</a><span style="color:gray">(2010-03-22 18:42)</span><br/>· <a href="http://news.cnblogs.com/n/59389/" target="_blank">百度李彦宏回应高管相继离职：未必会找继任者</a><span style="color:gray">(2010-03-22 18:09)</span><br/>· <a href="http://news.cnblogs.com/n/59386/" target="_blank">Firefox 3.6曝高危漏洞 Mozilla月底修复</a><span style="color:gray">(2010-03-22 17:40)</span><br/>· <a href="http://news.cnblogs.com/n/59385/" target="_blank">联想集团宣布任命David Roman为高级副总裁</a><span style="color:gray">(2010-03-22 17:31)</span><br/>· <a href="http://news.cnblogs.com/n/59384/" target="_blank">《纽约时报》：减少网上支付的焦虑</a><span style="color:gray">(2010-03-22 17:21)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/59293/" target="_blank">五个广泛流传的对大龄程序员的误解</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>百度空间地址栏的logo咋成了迅雷的logo了，被攻击后遗症？</title><link>http://www.cnblogs.com/weekzero/archive/2010/01/14/1647686.html</link><dc:creator>星期零</dc:creator><author>星期零</author><pubDate>Thu, 14 Jan 2010 05:05:00 GMT</pubDate><guid>http://www.cnblogs.com/weekzero/archive/2010/01/14/1647686.html</guid><description><![CDATA[<p>阅读: 28 评论: 0 作者: <a href="http://www.cnblogs.com/weekzero/" target="_blank">星期零</a> 发表于 2010-01-14 13:05 <a href="http://www.cnblogs.com/weekzero/archive/2010/01/14/1647686.html" target="_blank">原文链接</a></p><p>百度受攻击，看来网络黑手是无所不能了。</p>
<p>下图是今天上百度空间后的截图：</p>
<p><img src="http://images.cnblogs.com/cnblogs_com/weekzero/b.jpg" width="343" height="286" alt="" /><br /></p>
<p><span>地址栏和选项卡中前边的logo都成了迅雷的logo了</span></p>
<p><span>这是不是百度受攻击后的遗留问题</span></p>
<p><span>小发现而已，呵呵<br /></span></p><img src="http://www.cnblogs.com/weekzero/aggbug/1647686.html?type=1" width="1" height="1" alt=""/><p>评论: 0　<a href="http://www.cnblogs.com/weekzero/archive/2010/01/14/1647686.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/weekzero/archive/2010/01/14/1647686.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/59390/" target="_blank">柳传志:联想已投资电子书项目&quot;E人E本&quot;</a><span style="color:gray">(2010-03-22 18:42)</span><br/>· <a href="http://news.cnblogs.com/n/59389/" target="_blank">百度李彦宏回应高管相继离职：未必会找继任者</a><span style="color:gray">(2010-03-22 18:09)</span><br/>· <a href="http://news.cnblogs.com/n/59386/" target="_blank">Firefox 3.6曝高危漏洞 Mozilla月底修复</a><span style="color:gray">(2010-03-22 17:40)</span><br/>· <a href="http://news.cnblogs.com/n/59385/" target="_blank">联想集团宣布任命David Roman为高级副总裁</a><span style="color:gray">(2010-03-22 17:31)</span><br/>· <a href="http://news.cnblogs.com/n/59384/" target="_blank">《纽约时报》：减少网上支付的焦虑</a><span style="color:gray">(2010-03-22 17:21)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/59293/" target="_blank">五个广泛流传的对大龄程序员的误解</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>C#读取dbf的方式</title><link>http://www.cnblogs.com/weekzero/archive/2009/10/13/1582793.html</link><dc:creator>星期零</dc:creator><author>星期零</author><pubDate>Tue, 13 Oct 2009 13:37:00 GMT</pubDate><guid>http://www.cnblogs.com/weekzero/archive/2009/10/13/1582793.html</guid><description><![CDATA[<p>阅读: 180 评论: 0 作者: <a href="http://www.cnblogs.com/weekzero/" target="_blank">星期零</a> 发表于 2009-10-13 21:37 <a href="http://www.cnblogs.com/weekzero/archive/2009/10/13/1582793.html" target="_blank">原文链接</a></p><div>现在开发的很多软件需要和一些老的系统进行数据交互，其中仍然有很多的在用foxpro数据库，对于我们这些一毕业就是.net和SqlServer的环境里，还真有些头疼。</div>
<div>前些天就遇到一个将dbf数据文件读取到datagridview里，然后再导入到SqlServer数据库里，难点就是如何将dbf文件读取到dataset或datatable里。</div>
<div>下面是其中的一个方法，就是利用OleDb类来读取，在一些客户的电脑上可能没有读取dbf的组件，这里需要安装一个文件&#8220;VFPOLEDBSetup.msi&#8221;，这个可以到网上搜索，一堆，也可以到微软官方去下载。代码如下：</div>
<div><br />
</div>
<div><br />
</div>
<div>
<div class="cnblogs_code"><span id="Code_Open_Text_213301" style="display: inline; "><span style="color: #000000;"><font  size="4"><span  style="font-size: 14px;">
<div class="cnblogs_code"><!--<br />
<br />
Code highlighting produced by Actipro CodeHighlighter (freeware)<br />
http://www.CodeHighlighter.com/<br />
<br />
--><span style="color: #0000FF;"><span  style="color: #000000; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span>string</span><span style="color: #000000;">&nbsp;filePath&nbsp;</span><span style="color: #000000;">=</span><span style="color: #000000;">&nbsp;textBox2.Text;<span class="Apple-tab-span" style="white-space:pre">	</span>//文件路径，如：E:\a.dbf<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileInfo&nbsp;fi&nbsp;</span><span style="color: #000000;">=</span><span style="color: #000000;">&nbsp;</span><span style="color: #0000FF;">new</span><span style="color: #000000;">&nbsp;FileInfo(filePath);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">string</span><span style="color: #000000;">&nbsp;mulu&nbsp;</span><span style="color: #000000;">=</span><span style="color: #000000;">&nbsp;fi.DirectoryName;</span><span style="color: #000000;"><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">string</span><span style="color: #000000;">&nbsp;filename&nbsp;</span><span style="color: #000000;">=</span><span style="color: #000000;">&nbsp;fi.Name;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OleDbConnection&nbsp;conn&nbsp;</span><span style="color: #000000;">=</span><span style="color: #000000;">&nbsp;</span><span style="color: #0000FF;">new</span><span style="color: #000000;">&nbsp;OleDbConnection();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">string</span><span style="color: #000000;">&nbsp;table&nbsp;</span><span style="color: #000000;">=</span><span style="color: #000000;">&nbsp;filePath;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">string</span><span style="color: #000000;">&nbsp;connStr&nbsp;</span><span style="color: #000000;">=</span><span style="color: #000000;">&nbsp;</span><span style="color: #800000;">@"</span><span style="color: #800000;">Provider=VFPOLEDB.1;Data&nbsp;Source=</span><span style="color: #800000;">"</span><span style="color: #000000;">&nbsp;</span><span style="color: #000000;">+</span><span style="color: #000000;">&nbsp;mulu&nbsp;</span><span style="color: #000000;">+</span><span style="color: #000000;">&nbsp;</span><span style="color: #800000;">"</span><span style="color: #800000;">;Collating&nbsp;Sequence=MACHINE</span><span style="color: #800000;">"</span><span style="color: #000000;">;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;conn.ConnectionString&nbsp;</span><span style="color: #000000;">=</span><span style="color: #000000;">&nbsp;connStr;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;conn.Open();<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">string</span><span style="color: #000000;">&nbsp;sql&nbsp;</span><span style="color: #000000;">=</span><span style="color: #000000;">&nbsp;</span><span style="color: #800000;">@"</span><span style="color: #800000;">select&nbsp;*&nbsp;from&nbsp;</span><span style="color: #800000;">"</span><span style="color: #000000;">&nbsp;</span><span style="color: #000000;">+</span><span style="color: #000000;">&nbsp;filename;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OleDbDataAdapter&nbsp;da&nbsp;</span><span style="color: #000000;">=</span><span style="color: #000000;">&nbsp;</span><span style="color: #0000FF;">new</span><span style="color: #000000;">&nbsp;OleDbDataAdapter(sql,&nbsp;conn);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DataTable&nbsp;dt&nbsp;</span><span style="color: #000000;">=</span><span style="color: #000000;">&nbsp;</span><span style="color: #0000FF;">new</span><span style="color: #000000;">&nbsp;DataTable();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;da.Fill(dt);</span></div>
</span></font></span></span></div>
</div><img src="http://www.cnblogs.com/weekzero/aggbug/1582793.html?type=1" width="1" height="1" alt=""/><p>评论: 0　<a href="http://www.cnblogs.com/weekzero/archive/2009/10/13/1582793.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/weekzero/archive/2009/10/13/1582793.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/59390/" target="_blank">柳传志:联想已投资电子书项目&quot;E人E本&quot;</a><span style="color:gray">(2010-03-22 18:42)</span><br/>· <a href="http://news.cnblogs.com/n/59389/" target="_blank">百度李彦宏回应高管相继离职：未必会找继任者</a><span style="color:gray">(2010-03-22 18:09)</span><br/>· <a href="http://news.cnblogs.com/n/59386/" target="_blank">Firefox 3.6曝高危漏洞 Mozilla月底修复</a><span style="color:gray">(2010-03-22 17:40)</span><br/>· <a href="http://news.cnblogs.com/n/59385/" target="_blank">联想集团宣布任命David Roman为高级副总裁</a><span style="color:gray">(2010-03-22 17:31)</span><br/>· <a href="http://news.cnblogs.com/n/59384/" target="_blank">《纽约时报》：减少网上支付的焦虑</a><span style="color:gray">(2010-03-22 17:21)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/59293/" target="_blank">五个广泛流传的对大龄程序员的误解</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>64位windows2008操作系统下asp访问access数据库错误问题</title><link>http://www.cnblogs.com/weekzero/archive/2009/09/06/1561355.html</link><dc:creator>星期零</dc:creator><author>星期零</author><pubDate>Sun, 06 Sep 2009 08:42:00 GMT</pubDate><guid>http://www.cnblogs.com/weekzero/archive/2009/09/06/1561355.html</guid><description><![CDATA[<p>阅读: 214 评论: 1 作者: <a href="http://www.cnblogs.com/weekzero/" target="_blank">星期零</a> 发表于 2009-09-06 16:42 <a href="http://www.cnblogs.com/weekzero/archive/2009/09/06/1561355.html" target="_blank">原文链接</a></p><div>IIS7下asp连接access数据库时提示：<span style="widows: 2; text-transform: none; text-indent: 0px; border-collapse: separate; font: 16px Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" class="Apple-style-span"><span style="line-height: 25px; font-family: Verdana; font-size: 14px" class="Apple-style-span">未找到提供程序。该程序可能未正...</span></span><br /><br />找了很多解决办法，都未能解决，大多是将权限问题，如：<span style="widows: 2; text-transform: none; text-indent: 0px; border-collapse: separate; font: 16px simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" class="Apple-style-span"><span style="font-family: Arial; color: rgb(102,102,102); font-size: 14px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px" class="Apple-style-span">C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp</span></span>这个文件夹加个用户，加个权限等，但都没能解决<br /><br />最终找到了解决方法，如下：<br />要把应用程序池中项目的&#8220;启用32位应用程序&#8221;置为&#8220;ture&#8221;就可以了<br /><br />原因就是：windows 2008 64位的系统下没access的64位驱动</div><img src="http://www.cnblogs.com/weekzero/aggbug/1561355.html?type=1" width="1" height="1" alt=""/><p>评论: 1　<a href="http://www.cnblogs.com/weekzero/archive/2009/09/06/1561355.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/weekzero/archive/2009/09/06/1561355.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/59390/" target="_blank">柳传志:联想已投资电子书项目&quot;E人E本&quot;</a><span style="color:gray">(2010-03-22 18:42)</span><br/>· <a href="http://news.cnblogs.com/n/59389/" target="_blank">百度李彦宏回应高管相继离职：未必会找继任者</a><span style="color:gray">(2010-03-22 18:09)</span><br/>· <a href="http://news.cnblogs.com/n/59386/" target="_blank">Firefox 3.6曝高危漏洞 Mozilla月底修复</a><span style="color:gray">(2010-03-22 17:40)</span><br/>· <a href="http://news.cnblogs.com/n/59385/" target="_blank">联想集团宣布任命David Roman为高级副总裁</a><span style="color:gray">(2010-03-22 17:31)</span><br/>· <a href="http://news.cnblogs.com/n/59384/" target="_blank">《纽约时报》：减少网上支付的焦虑</a><span style="color:gray">(2010-03-22 17:21)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/59293/" target="_blank">五个广泛流传的对大龄程序员的误解</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>推荐一款视频播放器--射手播放器</title><link>http://www.cnblogs.com/weekzero/archive/2009/05/29/1491612.html</link><dc:creator>星期零</dc:creator><author>星期零</author><pubDate>Fri, 29 May 2009 02:43:00 GMT</pubDate><guid>http://www.cnblogs.com/weekzero/archive/2009/05/29/1491612.html</guid><description><![CDATA[<p>阅读: 74 评论: 0 作者: <a href="http://www.cnblogs.com/weekzero/" target="_blank">星期零</a> 发表于 2009-05-29 10:43 <a href="http://www.cnblogs.com/weekzero/archive/2009/05/29/1491612.html" target="_blank">原文链接</a></p><p>随着近期暴风影音事件的发展，个人对暴风影音确实有了些反感。</p>
<p>在网络上搜索了些，感觉这款不错，推荐给大家。</p>
<p>射手播放器，建议到官方下载，在其他镜像下载的估计已经加入了些其他不需要的软件或恶意软件。如，第一版，官站是3M多，其他镜像点的有的都到6M多了。</p>
<p>官网地址：<a href="http://www.shooter.cn/svplayer/">http://www.shooter.cn/svplayer/</a></p><img src="http://www.cnblogs.com/weekzero/aggbug/1491612.html?type=1" width="1" height="1" alt=""/><p>评论: 0　<a href="http://www.cnblogs.com/weekzero/archive/2009/05/29/1491612.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/weekzero/archive/2009/05/29/1491612.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/59390/" target="_blank">柳传志:联想已投资电子书项目&quot;E人E本&quot;</a><span style="color:gray">(2010-03-22 18:42)</span><br/>· <a href="http://news.cnblogs.com/n/59389/" target="_blank">百度李彦宏回应高管相继离职：未必会找继任者</a><span style="color:gray">(2010-03-22 18:09)</span><br/>· <a href="http://news.cnblogs.com/n/59386/" target="_blank">Firefox 3.6曝高危漏洞 Mozilla月底修复</a><span style="color:gray">(2010-03-22 17:40)</span><br/>· <a href="http://news.cnblogs.com/n/59385/" target="_blank">联想集团宣布任命David Roman为高级副总裁</a><span style="color:gray">(2010-03-22 17:31)</span><br/>· <a href="http://news.cnblogs.com/n/59384/" target="_blank">《纽约时报》：减少网上支付的焦虑</a><span style="color:gray">(2010-03-22 17:21)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/59293/" target="_blank">五个广泛流传的对大龄程序员的误解</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>CSS控制文字长度</title><link>http://www.cnblogs.com/weekzero/archive/2009/02/04/1383628.html</link><dc:creator>星期零</dc:creator><author>星期零</author><pubDate>Wed, 04 Feb 2009 02:14:00 GMT</pubDate><guid>http://www.cnblogs.com/weekzero/archive/2009/02/04/1383628.html</guid><description><![CDATA[<p>阅读: 227 评论: 0 作者: <a href="http://www.cnblogs.com/weekzero/" target="_blank">星期零</a> 发表于 2009-02-04 10:14 <a href="http://www.cnblogs.com/weekzero/archive/2009/02/04/1383628.html" target="_blank">原文链接</a></p><pre class="alt">.title
{
width:200px;
white-space:nowrap;
word-break:keep-all;
overflow:hidden;
text-overflow:ellipsis;
}&nbsp;
</pre>
<pre class="alt"><span class="kwrd">&lt;</span><span class="html">span</span> <span class="attr">class</span>=<span class="attr">title</span><span class="kwrd">&gt;</span>客户端解决标题显示太长省略多余部分并加省略号的样式<span class="kwrd">&lt;/</span><span class="html">span</span><span class="kwrd">&gt;
</span><span class="kwrd">&lt;</span><span class="html">div</span> <span class="attr">class</span>=<span class="attr">title</span><span class="kwrd">&gt;</span>客户端解决标题显示太长省略多余部分并加省略号的样式<span class="kwrd">&lt;/</span><span class="html">div</span><span class="kwrd">&gt;</span></pre>
<img src="http://www.cnblogs.com/weekzero/aggbug/1383628.html?type=1" width="1" height="1" alt=""/><p>评论: 0　<a href="http://www.cnblogs.com/weekzero/archive/2009/02/04/1383628.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/weekzero/archive/2009/02/04/1383628.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/59390/" target="_blank">柳传志:联想已投资电子书项目&quot;E人E本&quot;</a><span style="color:gray">(2010-03-22 18:42)</span><br/>· <a href="http://news.cnblogs.com/n/59389/" target="_blank">百度李彦宏回应高管相继离职：未必会找继任者</a><span style="color:gray">(2010-03-22 18:09)</span><br/>· <a href="http://news.cnblogs.com/n/59386/" target="_blank">Firefox 3.6曝高危漏洞 Mozilla月底修复</a><span style="color:gray">(2010-03-22 17:40)</span><br/>· <a href="http://news.cnblogs.com/n/59385/" target="_blank">联想集团宣布任命David Roman为高级副总裁</a><span style="color:gray">(2010-03-22 17:31)</span><br/>· <a href="http://news.cnblogs.com/n/59384/" target="_blank">《纽约时报》：减少网上支付的焦虑</a><span style="color:gray">(2010-03-22 17:21)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/59293/" target="_blank">五个广泛流传的对大龄程序员的误解</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>Lucene.Net基本用法【摘抄】</title><link>http://www.cnblogs.com/weekzero/archive/2008/06/17/1224072.html</link><dc:creator>星期零</dc:creator><author>星期零</author><pubDate>Tue, 17 Jun 2008 07:56:00 GMT</pubDate><guid>http://www.cnblogs.com/weekzero/archive/2008/06/17/1224072.html</guid><description><![CDATA[<p>阅读: 361 评论: 0 作者: <a href="http://www.cnblogs.com/weekzero/" target="_blank">星期零</a> 发表于 2008-06-17 15:56 <a href="http://www.cnblogs.com/weekzero/archive/2008/06/17/1224072.html" target="_blank">原文链接</a></p>本文仅记录一些简单的使用方法，供初学者参考。<br />
以下例子采用 Lucene.NET 1.9 版本，可取去 <a title="http://incubator.apache.org/lucene.net/" href="http://incubator.apache.org/lucene.net/" target="_blank">Lucene.Net</a> 下载。<br />
<br />
<strong>1. 基本应用</strong><br />
<div class="code">using System;<br />
using System.Collections.Generic;<br />
using System.Text;<br />
using Lucene.Net;<br />
using Lucene.Net.Analysis;<br />
using Lucene.Net.Analysis.Standard;<br />
using Lucene.Net.Documents;<br />
using Lucene.Net.Index;<br />
using Lucene.Net.QueryParsers;<br />
using Lucene.Net.Search;<br />
using Lucene.Net.Store;<br />
using Lucene.Net.Util;<br />
<br />
namespace ConsoleApplication1.Lucene<br />
{<br />
&nbsp;&nbsp;&nbsp; public class LuceneTest<br />
&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private const string FieldName = "name";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private const string FieldValue = "value";<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private Directory directory = new RAMDirectory();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private Analyzer analyzer = new StandardAnalyzer();<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public LuceneTest()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private void Index()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IndexWriter writer = new IndexWriter(directory, analyzer, true);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; writer.maxFieldLength = 1000;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for (int i = 1; i &lt;= 100; i++)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Document document = new Document();<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; document.Add(new Field(FieldName, "name" + i, Field.Store.YES, Field.Index.UN_TOKENIZED));<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; document.Add(new Field(FieldValue, "Hello, World!", Field.Store.YES, Field.Index.TOKENIZED));<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; writer.AddDocument(document);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; writer.Optimize();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; writer.Close();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private void Search()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Query query = QueryParser.Parse("name*", FieldName, analyzer);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IndexSearcher searcher = new IndexSearcher(directory);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hits hits = searcher.Search(query);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.WriteLine("符合条件记录:{0}; 索引库记录总数:{1}", hits.Length(), searcher.Reader.NumDocs());<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for (int i = 0; i &lt; hits.Length(); i++)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int docId = hits.Id(i);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string name = hits.Doc(i).Get(FieldName);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string value = hits.Doc(i).Get(FieldValue);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; float score = hits.Score(i);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.WriteLine("{0}: DocId:{1}; Name:{2}; Value:{3}; Score:{4}", <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i + 1, docId, name, value, score);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; searcher.Close();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />
&nbsp;&nbsp;&nbsp; }<br />
}</div>
<br />
除了 RAMDirectory，还可以使用 FSDirectory。(注意 FSDirectory.GetDirectory 的 create 参数，为 true 时将删除已有索引库文件，可以通过 IndexReader.IndexExists() 方法判断。)<br />
<br />
从指定目录打开已有索引库。
<div class="code">private Directory directory = FSDirectory.GetDirectory("c:\index", false);</div>
<br />
将索引库载入内存，以提高搜索速度。
<div class="code">private Directory directory = new RAMDirectory(FSDirectory.GetDirectory(@"c:\index", false));<br />
//或<br />
//private Directory directory = new RAMDirectory(c:\index");</div>
<br />
<strong>2. 多字段搜索</strong><br />
<br />
使用 MultiFieldQueryParser 可以指定多个搜索字段。<br />
<div class="code">Query query = MultiFieldQueryParser.Parse("name*", new string[] { FieldName, FieldValue }, analyzer);<br />
<br />
IndexReader reader = IndexReader.Open(directory);<br />
IndexSearcher searcher = new IndexSearcher(reader);<br />
Hits hits = searcher.Search(query);</div>
<br />
<strong>3. 多条件搜索</strong><br />
<br />
除了使用 QueryParser.Parse 分解复杂的搜索<a title="http://lucene.apache.org/java/docs/queryparsersyntax.html" href="http://lucene.apache.org/java/docs/queryparsersyntax.html" target="_blank">语法</a>外，还可以通过组合多个 Query 来达到目的。<br />
<div class="code">Query query1 = new TermQuery(new Term(FieldValue, "name1")); // 词语搜索<br />
Query query2 = new WildcardQuery(new Term(FieldName, "name*")); // 通配符 <br />
//Query query3 = new PrefixQuery(new Term(FieldName, "name1")); // 字段搜索 Field:Keyword，自动在结尾添加 *<br />
//Query query4 = new RangeQuery(new Term(FieldNumber, NumberTools.LongToString(11L)), new Term(FieldNumber, NumberTools.LongToString(13L)), true); // 范围搜索<br />
//Query query5 = new FilteredQuery(query, filter); // 带过滤条件的搜索<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
BooleanQuery query = new BooleanQuery();<br />
query.Add(query1, BooleanClause.Occur.MUST);<br />
query.Add(query2, BooleanClause.Occur.MUST);<br />
<br />
IndexSearcher searcher = new IndexSearcher(reader);<br />
Hits hits = searcher.Search(query);</div>
<br />
<strong>4. 设置权重</strong><br />
<br />
可以给 Document 和 Field 增加权重(Boost)，使其在搜索结果排名更加靠前。缺省情况下，搜索结果以 Document.Score 作为排序依据，该数值越大排名越靠前。Boost 缺省值为 1。<br />
<div class="code">Score = Score * Boost</div>
<br />
通过上面的公式，我们就可以设置不同的权重来影响排名。<br />
<br />
如下面的例子中根据 VIP 级别设定不同的权重。
<div class="code">Document document = new Document();<br />
switch (vip)<br />
{<br />
&nbsp;&nbsp;&nbsp; case VIP.Gold: document.SetBoost(2F); break;<br />
&nbsp;&nbsp;&nbsp; case VIP.Argentine: document.SetBoost(1.5F); break;<br />
}</div>
<br />
只要 Boost 足够大，那么就可以让某个命中结果永远排第一位，这就是百度等网站的"收费排名"业务。明显有失公平，鄙视一把。 <img alt="[no]" src="http://www.rainsts.net/styles/default/images/smilies/icon_no.gif" border="0" /> <br />
<br />
<strong>5. 排序</strong><br />
<br />
通过 SortField 的构造参数，我们可以设置排序字段，排序条件，以及倒排。<br />
<div class="code">Sort sort = new Sort(new SortField(FieldName, SortField.DOC, false));<br />
<br />
IndexSearcher searcher = new IndexSearcher(reader);<br />
Hits hits = searcher.Search(query, sort);</div>
<br />
排序对搜索速度影响还是很大的，尽可能不要使用多个排序条件。<br />
<br />
<strong>6. 过滤</strong><br />
<br />
使用 Filter 对搜索结果进行过滤，可以获得更小范围内更精确的结果。<br />
<br />
举个例子，我们搜索上架时间在 2005-10-1 到 2005-10-30 之间的商品。<br />
对于日期时间，我们需要转换一下才能添加到索引库，同时还必须是索引字段。
<div class="code">// index<br />
document.Add(FieldDate, DateField.DateToString(date), Field.Store.YES, Field.Index.UN_TOKENIZED);<br />
<br />
//...<br />
<br />
// search<br />
Filter filter = new DateFilter(FieldDate, DateTime.Parse("2005-10-1"), DateTime.Parse("2005-10-30"));<br />
Hits hits = searcher.Search(query, filter);</div>
<br />
除了日期时间，还可以使用整数。比如搜索价格在 100 ~ 200 之间的商品。<br />
Lucene.Net NumberTools 对于数字进行了补位处理，如果需要使用浮点数可以自己参考源码进行。
<div class="code">// index<br />
document.Add(new Field(FieldNumber, NumberTools.LongToString((long)price), Field.Store.YES, Field.Index.UN_TOKENIZED));<br />
<br />
//...<br />
<br />
// search<br />
Filter filter = new RangeFilter(FieldNumber, NumberTools.LongToString(100L), NumberTools.LongToString(200L), true, true);<br />
Hits hits = searcher.Search(query, filter);</div>
<br />
使用 Query 作为过滤条件。
<div class="code">QueryFilter filter = new QueryFilter(QueryParser.Parse("name2", FieldValue, analyzer));</div>
<br />
我们还可以使用 FilteredQuery 进行多条件过滤。<br />
<div class="code">Filter filter = new DateFilter(FieldDate, DateTime.Parse("2005-10-10"), DateTime.Parse("2005-10-15"));<br />
Filter filter2 = new RangeFilter(FieldNumber, NumberTools.LongToString(11L), NumberTools.LongToString(13L), true, true);<br />
<br />
Query query = QueryParser.Parse("name*", FieldName, analyzer);<br />
query = new FilteredQuery(query, filter);<br />
query = new FilteredQuery(query, filter2);<br />
<br />
IndexSearcher searcher = new IndexSearcher(reader);<br />
Hits hits = searcher.Search(query);</div>
<br />
<strong>7. 分布搜索</strong><br />
<br />
我们可以使用 MultiReader 或 MultiSearcher 搜索多个索引库。<br />
<div class="code">MultiReader reader = new MultiReader(new IndexReader[] { IndexReader.Open(@"c:\index"), IndexReader.Open(@"\\server\index") });<br />
IndexSearcher searcher = new IndexSearcher(reader);<br />
Hits hits = searcher.Search(query);</div>
<br />
或<br />
<div class="code">IndexSearcher searcher1 = new IndexSearcher(reader1);<br />
IndexSearcher searcher2 = new IndexSearcher(reader2);<br />
MultiSearcher searcher = new MultiSearcher(new Searchable[] { searcher1, searcher2 });<br />
Hits hits = searcher.Search(query);</div>
<br />
还可以使用 ParallelMultiSearcher 进行多线程并行搜索。<br />
<br />
<strong>8. 合并索引库</strong><br />
<br />
将 directory1 合并到 directory2 中。
<div class="code">Directory directory1 = FSDirectory.GetDirectory("index1", false);<br />
Directory directory2 = FSDirectory.GetDirectory("index2", false);<br />
<br />
IndexWriter writer = new IndexWriter(directory2, analyzer, false);<br />
writer.AddIndexes(new Directory[] { directory });<br />
Console.WriteLine(writer.DocCount());<br />
writer.Close();</div>
<br />
<strong>9. 显示搜索语法字符串</strong><br />
<br />
我们组合了很多种搜索条件，或许想看看与其对等的搜索语法串是什么样的。
<div class="code">BooleanQuery query = new BooleanQuery();<br />
query.Add(query1, true, false);<br />
query.Add(query2, true, false);<br />
//...<br />
<br />
Console.WriteLine("Syntax: {0}", query.ToString());</div>
<br />
输出：<br />
Syntax: +(name:name* value:name*) +number:[0000000000000000b TO 0000000000000000d]<br />
<br />
呵呵，就这么简单。<br />
<br />
<strong>10. 操作索引库</strong><br />
<br />
删除 (软删除，仅添加了删除标记。调用 IndexWriter.Optimize() 后真正删除。)
<div class="code">IndexReader reader = IndexReader.Open(directory);<br />
<br />
// 删除指定序号(DocId)的 Document。<br />
reader.Delete(123);<br />
<br />
// 删除包含指定 Term 的 Document。<br />
reader.Delete(new Term(FieldValue, "Hello"));<br />
<br />
// 恢复软删除。<br />
reader.UndeleteAll();<br />
<br />
reader.Close();</div>
<br />
增量更新 (只需将 create 参数设为 false，即可往现有索引库添加新数据。)
<div class="code">Directory directory = FSDirectory.GetDirectory("index", false);<br />
IndexWriter writer = new IndexWriter(directory, analyzer, false);<br />
writer.AddDocument(doc1);<br />
writer.AddDocument(doc2);<br />
writer.Optimize();<br />
writer.Close();</div>
<br />
<strong>11. 优化</strong><br />
<br />
批量向 FSDirectory 增加索引时，增大合并因子(mergeFactor )和最小文档合并数(minMergeDocs)有助于提高性能，减少索引时间。<br />
<div class="code">IndexWriter writer = new IndexWriter(directory, analyzer, true);<br />
<br />
writer.maxFieldLength = 1000; // 字段最大长度<br />
writer.mergeFactor = 1000;<br />
writer.minMergeDocs = 1000;<br />
<br />
for (int i = 0; i &lt; 10000; i++)<br />
{<br />
&nbsp;&nbsp;&nbsp; // Add Documentes...<br />
}<br />
<br />
writer.Optimize();<br />
</div>
<img src="http://www.cnblogs.com/weekzero/aggbug/1224072.html?type=1" width="1" height="1" alt=""/><p>评论: 0　<a href="http://www.cnblogs.com/weekzero/archive/2008/06/17/1224072.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/weekzero/archive/2008/06/17/1224072.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/59390/" target="_blank">柳传志:联想已投资电子书项目&quot;E人E本&quot;</a><span style="color:gray">(2010-03-22 18:42)</span><br/>· <a href="http://news.cnblogs.com/n/59389/" target="_blank">百度李彦宏回应高管相继离职：未必会找继任者</a><span style="color:gray">(2010-03-22 18:09)</span><br/>· <a href="http://news.cnblogs.com/n/59386/" target="_blank">Firefox 3.6曝高危漏洞 Mozilla月底修复</a><span style="color:gray">(2010-03-22 17:40)</span><br/>· <a href="http://news.cnblogs.com/n/59385/" target="_blank">联想集团宣布任命David Roman为高级副总裁</a><span style="color:gray">(2010-03-22 17:31)</span><br/>· <a href="http://news.cnblogs.com/n/59384/" target="_blank">《纽约时报》：减少网上支付的焦虑</a><span style="color:gray">(2010-03-22 17:21)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/59293/" target="_blank">五个广泛流传的对大龄程序员的误解</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item></channel></rss>