<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Junstyle&#039;s Blog</title>
	<atom:link href="http://www.junstyle.com.cn/feed" rel="self" type="application/rss+xml" />
	<link>http://www.junstyle.com.cn</link>
	<description>一年一年的过去了，记录些什么</description>
	<lastBuildDate>Mon, 08 Mar 2010 11:58:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>C#读取Word的内容</title>
		<link>http://www.junstyle.com.cn/dotnet/csharp-get-word-content.html</link>
		<comments>http://www.junstyle.com.cn/dotnet/csharp-get-word-content.html#comments</comments>
		<pubDate>Thu, 04 Mar 2010 14:23:20 +0000</pubDate>
		<dc:creator>junstyle</dc:creator>
				<category><![CDATA[DOTNET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Word]]></category>

		<guid isPermaLink="false">http://www.junstyle.com.cn/?p=492</guid>
		<description><![CDATA[下了一个电子书，里面居然全部都是word格式的文件，一点都不便于阅读，连个目录都不好翻，只好把它读出来，弄成html格式的。下面是读取word内容的代码，比较简单了。

using System;
using System.IO;
using System.Reflection;
using Word;   

//----------------------------------------------------------------------
static string WordReader( string path )
{
	string WordContent = &#34;&#34;;

	Word.Application app = new ApplicationClass();

	object fileName = path;
	object optional = Missing.Value;
	object visible = true;
	if( File.Exists( fileName.ToString() ) )
	{
		Word.Document doc = app.Documents.Open(
		 ref fileName,
		 ref optional,
		 ref optional,
		 ref optional,
		 ref optional,
		 ref optional,
		 ref optional,
		 ref optional,
		 ref optional,
		 ref [...]]]></description>
			<content:encoded><![CDATA[<p>下了一个电子书，里面居然全部都是word格式的文件，一点都不便于阅读，连个目录都不好翻，只好把它读出来，弄成html格式的。下面是读取word内容的代码，比较简单了。</p>
<pre class="brush: csharp;">
using System;
using System.IO;
using System.Reflection;
using Word;   

//----------------------------------------------------------------------
static string WordReader( string path )
{
	string WordContent = &quot;&quot;;

	Word.Application app = new ApplicationClass();

	object fileName = path;
	object optional = Missing.Value;
	object visible = true;
	if( File.Exists( fileName.ToString() ) )
	{
		Word.Document doc = app.Documents.Open(
		 ref fileName,
		 ref optional,
		 ref optional,
		 ref optional,
		 ref optional,
		 ref optional,
		 ref optional,
		 ref optional,
		 ref optional,
		 ref optional,
		 ref optional,
		 ref visible,
		 ref optional,
		 ref optional,
		 ref optional,
		 ref optional );

		WordContent = doc.Content.Text;

		object saveChanges = WdSaveOptions.wdDoNotSaveChanges;
		object originalFormat = Missing.Value;
		object routeDocument = Missing.Value;
		app.Quit( ref saveChanges, ref originalFormat, ref routeDocument );
	}
	else
	{
		return string.Empty;
	}

	return WordContent;

}
</pre>
<p>工程中引用“Microsoft Word 11.0 object library”的Microsoft COM组件。该组件提供的类和方法来读取Word文档</p>
<h3  class="related_post_title">相关日志</h3><ul class="related_post"><li>2009年12月22日 -- <a href="http://www.junstyle.com.cn/dotnet/two-date-weather-in-a-week.html" title="C#判断两个日期是否在同一周，某日期是本月的第几周">C#判断两个日期是否在同一周，某日期是本月的第几周</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.junstyle.com.cn/dotnet/csharp-get-word-content.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>貌似百度不惩罚首页了</title>
		<link>http://www.junstyle.com.cn/seo/baidu-site-index-page-first.html</link>
		<comments>http://www.junstyle.com.cn/seo/baidu-site-index-page-first.html#comments</comments>
		<pubDate>Thu, 25 Feb 2010 01:20:16 +0000</pubDate>
		<dc:creator>junstyle</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[百度]]></category>

		<guid isPermaLink="false">http://www.junstyle.com.cn/?p=487</guid>
		<description><![CDATA[以前的小站，首页总是不在site的第一位，但近段时间发现几个站site首页都跑到第一了，心中窃喜，难道是百度改变了规则？但快照更新得慢很是郁闷，得找点高质量的友链了，慢慢弄了。
靠百度来流量还不如弄google，至少google不会随便k你。
新的一年开始了，得找点事情来做了！
相关日志2010年01月11日 -- 百度site首页出现两个不同的结果]]></description>
			<content:encoded><![CDATA[<p>以前的小站，首页总是不在site的第一位，但近段时间发现几个站site首页都跑到第一了，心中窃喜，难道是百度改变了规则？但快照更新得慢很是郁闷，得找点高质量的友链了，慢慢弄了。</p>
<p>靠百度来流量还不如弄google，至少google不会随便k你。</p>
<p>新的一年开始了，得找点事情来做了！</p>
<h3  class="related_post_title">相关日志</h3><ul class="related_post"><li>2010年01月11日 -- <a href="http://www.junstyle.com.cn/seo/baidu-site-two-different-records.html" title="百度site首页出现两个不同的结果">百度site首页出现两个不同的结果</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.junstyle.com.cn/seo/baidu-site-index-page-first.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>代发Flasher招聘的内容</title>
		<link>http://www.junstyle.com.cn/post/flasher-job.html</link>
		<comments>http://www.junstyle.com.cn/post/flasher-job.html#comments</comments>
		<pubDate>Wed, 24 Feb 2010 09:23:03 +0000</pubDate>
		<dc:creator>junstyle</dc:creator>
				<category><![CDATA[UNSORT]]></category>

		<guid isPermaLink="false">http://www.junstyle.com.cn/?p=484</guid>
		<description><![CDATA[代朋友发个招聘信息，喜欢Flash开发的朋友可以看看。 
Flash开发工程师(程序员)
    * 性别、年龄、学历不限；
    * 工作经验2年及以上者；
    * 精通Action Script3语言，熟悉Socket通讯编程，熟悉OOP设计方式；
    * 熟练使用Flex3\Flash CS3等编程工具，掌握SVN等团队协作工作软件；
    * 具备良好的协调沟通能力和团队协作能力；
    * 有网络游戏、商务应用、娱乐多媒体系统开发经验者优先；
Flash开发工程师助理(程序员助理)
    * 性别男，年龄26周岁及以下，大学及以上学历；
    * 工作经验1年及以上者；
    * 熟悉Action Script2.0或者3.0语言，接触或曾经参与过Socket通讯编程;
    * 能使用Flex3\Flash [...]]]></description>
			<content:encoded><![CDATA[<p>代朋友发个招聘信息，喜欢Flash开发的朋友可以看看。 </p>
<p>Flash开发工程师(程序员)</p>
<p>    * 性别、年龄、学历不限；<br />
    * 工作经验2年及以上者；<br />
    * 精通Action Script3语言，熟悉Socket通讯编程，熟悉OOP设计方式；<br />
    * 熟练使用Flex3\Flash CS3等编程工具，掌握SVN等团队协作工作软件；<br />
    * 具备良好的协调沟通能力和团队协作能力；<br />
    * 有网络游戏、商务应用、娱乐多媒体系统开发经验者优先；</p>
<p>Flash开发工程师助理(程序员助理)</p>
<p>    * 性别男，年龄26周岁及以下，大学及以上学历；<br />
    * 工作经验1年及以上者；<br />
    * 熟悉Action Script2.0或者3.0语言，接触或曾经参与过Socket通讯编程;<br />
    * 能使用Flex3\Flash CS3等编程工具；<br />
    * 具备良好的协调沟通能力和团队协作能力；<br />
    * 有网站、多媒体、游戏开发经验者优先；</p>
<p>这个公司是湖北一家比较出名的游戏开发、运营企业，在全国也小有名气。有7年多的互联网业务经验和70多人的团队。企业业务管理与行政管理比较完整规范，薪资待遇和发展机会还是不错的。有兴趣的朋友可以联系我朋友的信箱：dick.yeah[at]gmail.com</p>
<h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2008年08月19日 -- <a href="http://www.junstyle.com.cn/post/11.html" title="C#中调用API获取文件类型的详细信息">C#中调用API获取文件类型的详细信息</a></li><li>2008年12月31日 -- <a href="http://www.junstyle.com.cn/post/19.html" title="点击后直接弹出保存文件的对话框，而不用弹出新窗口">点击后直接弹出保存文件的对话框，而不用弹出新窗口</a></li><li>2010年01月11日 -- <a href="http://www.junstyle.com.cn/seo/baidu-site-two-different-records.html" title="百度site首页出现两个不同的结果">百度site首页出现两个不同的结果</a></li><li>2008年07月28日 -- <a href="http://www.junstyle.com.cn/post/9.html" title="精通javascript电子书，PDF格式下载，Jquery作者">精通javascript电子书，PDF格式下载，Jquery作者</a></li><li>2008年03月31日 -- <a href="http://www.junstyle.com.cn/post/2.html" title="窗体的滚动条问题">窗体的滚动条问题</a></li><li>2008年04月23日 -- <a href="http://www.junstyle.com.cn/post/8.html" title="转载-富文本编辑器的跨站脚本问题参考">转载-富文本编辑器的跨站脚本问题参考</a></li><li>2008年04月11日 -- <a href="http://www.junstyle.com.cn/post/load-javascript-dynamically.html" title="动态加载javascript的两种方法">动态加载javascript的两种方法</a></li><li>2009年07月7日 -- <a href="http://www.junstyle.com.cn/post/dotnet-dll-encryption.html" title=".NET源码加密保护详解|.NET程序加密（转载）">.NET源码加密保护详解|.NET程序加密（转载）</a></li><li>2009年09月21日 -- <a href="http://www.junstyle.com.cn/post/custom-404-with-jquery-and-jquery-ui.html" title="用jQuery和jQuery UI做的自定义404页面">用jQuery和jQuery UI做的自定义404页面</a></li><li>2009年06月4日 -- <a href="http://www.junstyle.com.cn/post/baidu-map-pic-result.html" title="百度搜索结果中出现地图图片">百度搜索结果中出现地图图片</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.junstyle.com.cn/post/flasher-job.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>修改window2003远程连接的默认3389端口</title>
		<link>http://www.junstyle.com.cn/webserver/modify-window2003-remotedesk-3389-port.html</link>
		<comments>http://www.junstyle.com.cn/webserver/modify-window2003-remotedesk-3389-port.html#comments</comments>
		<pubDate>Wed, 24 Feb 2010 06:54:50 +0000</pubDate>
		<dc:creator>junstyle</dc:creator>
				<category><![CDATA[WEBSERVER]]></category>
		<category><![CDATA[远程桌面]]></category>

		<guid isPermaLink="false">http://www.junstyle.com.cn/?p=482</guid>
		<description><![CDATA[3389端口是Windows2003 Server远程桌面的服务端口，可以通过这个端口，用”远程桌面”等连接工具来连接到远程的服务器，如果连接上了，输入系统管理员的用户名和密码后，将变得可以像操作本机一样操作远程的电脑，因此远程服务器一般都将这个端口修改数值者者关闭，修改数值的话需要修改注册表的两个地方：
第一个地方:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TerminalServer\Wds\rdpwd\Tds\tcp] PortNumber值，默认是3389，修改成所希望的端口，比如6123
第二个地方：
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp]
PortNumber值，默认是3389，修改成所希望的端口，比如6123
现在这样就可以了。重启系统就可以了.
注意：如果设置了防火墙的端口过滤，具体是在tcp/ip的属性设置里头有个”高级”按键,然后点里面最后一个”选项”按钮,在tpc/ip筛选里面，请一定允许更改过的远程端口，比如6123，不然远程不上;
随机日志2008年09月9日 -- C# String.Format格式的详细说明，供参考2010年02月4日 -- 用SendMessage在不同程序间发送消息2008年04月8日 -- 基于jquery的所见即所得编辑器JsTextBox2009年04月18日 -- Ajax操作中维持历史记录2010年01月11日 -- 百度site首页出现两个不同的结果2008年12月16日 -- C# 用VB.net 函数库来实现全角与半角转换、简体和繁体转换2009年05月22日 -- javascript判断浏览器是不是IE62009年12月1日 -- 在Wordpress里面给代码高亮插件增加运行代码功能2009年11月15日 -- javascript取窗口的可视高度和页面的内容高度2010年02月24日 -- 代发Flasher招聘的内容]]></description>
			<content:encoded><![CDATA[<p>3389端口是Windows2003 Server远程桌面的服务端口，可以通过这个端口，用”远程桌面”等连接工具来连接到远程的服务器，如果连接上了，输入系统管理员的用户名和密码后，将变得可以像操作本机一样操作远程的电脑，因此远程服务器一般都将这个端口修改数值者者关闭，修改数值的话需要修改注册表的两个地方：</p>
<blockquote><p>第一个地方:<br />
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TerminalServer\Wds\rdpwd\Tds\tcp] PortNumber值，默认是3389，修改成所希望的端口，比如6123<br />
第二个地方：<br />
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp]<br />
PortNumber值，默认是3389，修改成所希望的端口，比如6123</p></blockquote>
<p>现在这样就可以了。重启系统就可以了.<br />
注意：如果设置了防火墙的端口过滤，具体是在tcp/ip的属性设置里头有个”高级”按键,然后点里面最后一个”选项”按钮,在tpc/ip筛选里面，请一定允许更改过的远程端口，比如6123，不然远程不上;</p>
<h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2009年10月31日 -- <a href="http://www.junstyle.com.cn/post/jquery-lazyload.html" title="jquery插件实现图片延迟加载">jquery插件实现图片延迟加载</a></li><li>2010年01月31日 -- <a href="http://www.junstyle.com.cn/software/firefox/firefox-extension-check-compatibility.html" title="强迫Firefox安装低版本的扩展，不检查扩展兼容性">强迫Firefox安装低版本的扩展，不检查扩展兼容性</a></li><li>2009年05月26日 -- <a href="http://www.junstyle.com.cn/post/aspnet-page-run-steps.html" title="asp.net页面详细执行流程">asp.net页面详细执行流程</a></li><li>2009年06月4日 -- <a href="http://www.junstyle.com.cn/post/baidu-map-pic-result.html" title="百度搜索结果中出现地图图片">百度搜索结果中出现地图图片</a></li><li>2009年05月27日 -- <a href="http://www.junstyle.com.cn/post/35.html" title="让Window程序只能运行一个实例">让Window程序只能运行一个实例</a></li><li>2009年06月7日 -- <a href="http://www.junstyle.com.cn/post/mvc-iis6-aspx-extension.html" title="IIS6下运行MVC项目，请求链接带扩展名.aspx">IIS6下运行MVC项目，请求链接带扩展名.aspx</a></li><li>2009年04月18日 -- <a href="http://www.junstyle.com.cn/post/25.html" title="Ajax操作中维持历史记录">Ajax操作中维持历史记录</a></li><li>2008年03月31日 -- <a href="http://www.junstyle.com.cn/post/2.html" title="窗体的滚动条问题">窗体的滚动条问题</a></li><li>2009年12月14日 -- <a href="http://www.junstyle.com.cn/dotnet/response-status-statusdescription.html" title="Response.Status和Response.StatusDescription的区别">Response.Status和Response.StatusDescription的区别</a></li><li>2009年09月21日 -- <a href="http://www.junstyle.com.cn/post/custom-404-with-jquery-and-jquery-ui.html" title="用jQuery和jQuery UI做的自定义404页面">用jQuery和jQuery UI做的自定义404页面</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.junstyle.com.cn/webserver/modify-window2003-remotedesk-3389-port.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>二十个SEO经典问答</title>
		<link>http://www.junstyle.com.cn/seo/twenty-seo-faq.html</link>
		<comments>http://www.junstyle.com.cn/seo/twenty-seo-faq.html#comments</comments>
		<pubDate>Wed, 24 Feb 2010 06:23:33 +0000</pubDate>
		<dc:creator>junstyle</dc:creator>
				<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://www.junstyle.com.cn/?p=480</guid>
		<description><![CDATA[1、搜索引擎搜索结果页面，简称 SERP，全称 Search Engine Results Page
2、Inbound Links 指反向链接，又称导入链接，外部链接
3、说法错误的是，搜索引擎对新站排名更好。新站在前100天左右，基本上很难有较高的流量。
4、一个 SEO 良好的网站，其主要流量往往来自内容页面，因为网站的内容数目庞大，长尾关键词会给网站带来大量流量，这远远超出首页带来的流量。
5、新站登录搜索引擎最佳的时间是：把网站架构基本完善后，提交给搜索引擎。网站架构指网站的目录格局，和页面分布。很多人认为“先做一个静态的首页，提交给搜索引擎。这样可以让搜索引擎早一点收录。”但搜索引擎收录之后，你进行大规模的修改，会延迟搜索引擎对站点的信任。
6、关键词密度多少最佳，7%
7、选择热门关键词，一旦成功就会有非常高的流量。这个思路是错误的。因为对于新站，热门的关键词往往需要非常长的时间才能做到，选择中级热门的关键词，在将来再转换到热门关键词。这是过渡策略。
8、目标关键词放在标题标签中效果最佳。
9、重复关键词以增加关键词密度。 这个做法是不可取的，原因请参考第6题。
10、对 PR 值影响比较大的导入链接是：PR 值很高，但无相关性的站点。这里，我们考虑的只是 PR 值的影响。但因为 PR 值对排名的影响非常大，所以当现实中要进行连接时，要在这三个情况中选择一个，还是优先选择 PR 值很高，但无相关性的站点链接。
11、向 PR 值高的站点购买链接。这是Google明确禁止的行为，当然，Google会惩罚的是被多次举报的链接卖家。
12、在百度知道、Google论坛等发表文章，并留有链接。这个行为并没有作弊，也不可能是因为这个原因而被搜索引擎封掉。
13、说法错误的是：SEO服务保证关键词长期排名。
14、对于热门关键词，搜索引擎隔一段时间对排名进行更新和保存。所以，当我们搜索一个热门关键词的时候，搜索引擎提供的 SERP 其实是一个“静态页面”。对于冷门关键词，搜索可能是实时的。
15、目前看来，搜索引擎无法实现：判断被大量转载的文章的原创站点。比如，大量的站点转载了 SEO 十万个为什么的这篇文章 http://www.seowhy.com/27_85_zh.html ，那么搜索引擎能否判断，这篇文章的原载是 http://www.seowhy.com 呢？这表现在排名的时候，是否都是本站排在前面。但目前看来，搜索引擎这个方面还做得不是很好。
16、从 SEO 的角度，网页设计采用 div+css 的主要好处是什么？网页大小大幅缩小，搜索引擎对内容的抓取更方便。
17、竞价排名与SEO的投入收益对比分析。竞价排名价高，见效快。SEO见效慢，长期深度收益。
18、如果每个站都做SEO了，那时怎么办？那时，网站内容是搜索引擎排名的主要规则，所以定位、服务等会使竞争的焦点。
19、举出三个增加导入链接的办法。
	1. 在艾瑞、Donews等IT行业新闻网站发布高质量文章。这些网站的排名很好，除了增加反向链接，还会给你带来高质量的流量。
	2. 向行业网站和论坛提交文章。如SEO的研究性文章，提交给SEO信息资料网站或SEOWHY论坛。
	3. 发送新闻稿。高质量的新闻稿提交给新闻门户网站。
	4. 跟踪发布你文章的站点。给他们提供稿件来源。
	5. 与其他网站交换文章发表。
	6. 把文章发送给RSS网站如抓虾、鲜果等。
	7. 做一个让人觉得自己很重要的调查，比如关于家庭主妇的研究等。如果你让别人觉得自己重要，别人会免费为你宣传。
20、首页采用flash的方式，为什么不利于SEO？Flash上的内容和链接都无法被搜索引擎读取。
随机日志2009年10月6日 -- 把无线路由器当成无线AP使用的两种方法2009年12月1日 -- 在Wordpress里面给代码高亮插件增加运行代码功能2009年09月21日 -- 用jQuery和jQuery UI做的自定义404页面2009年02月18日 -- CSS代码格式化和css在线压缩工具2009年09月20日 -- 10个漂亮的Opera浏览器的快速拨号页背景2009年09月20日 -- 在浏览器上玩NES Games2009年05月27日 [...]]]></description>
			<content:encoded><![CDATA[<p>1、搜索引擎搜索结果页面，简称 SERP，全称 Search Engine Results Page</p>
<p>2、Inbound Links 指反向链接，又称导入链接，外部链接</p>
<p>3、说法错误的是，搜索引擎对新站排名更好。新站在前100天左右，基本上很难有较高的流量。</p>
<p>4、一个 SEO 良好的网站，其主要流量往往来自内容页面，因为网站的内容数目庞大，长尾关键词会给网站带来大量流量，这远远超出首页带来的流量。</p>
<p>5、新站登录搜索引擎最佳的时间是：把网站架构基本完善后，提交给搜索引擎。网站架构指网站的目录格局，和页面分布。很多人认为“先做一个静态的首页，提交给搜索引擎。这样可以让搜索引擎早一点收录。”但搜索引擎收录之后，你进行大规模的修改，会延迟搜索引擎对站点的信任。</p>
<p>6、关键词密度多少最佳，7%</p>
<p>7、选择热门关键词，一旦成功就会有非常高的流量。这个思路是错误的。因为对于新站，热门的关键词往往需要非常长的时间才能做到，选择中级热门的关键词，在将来再转换到热门关键词。这是过渡策略。</p>
<p>8、目标关键词放在标题标签中效果最佳。</p>
<p>9、重复关键词以增加关键词密度。 这个做法是不可取的，原因请参考第6题。</p>
<p>10、对 PR 值影响比较大的导入链接是：PR 值很高，但无相关性的站点。这里，我们考虑的只是 PR 值的影响。但因为 PR 值对排名的影响非常大，所以当现实中要进行连接时，要在这三个情况中选择一个，还是优先选择 PR 值很高，但无相关性的站点链接。</p>
<p>11、向 PR 值高的站点购买链接。这是Google明确禁止的行为，当然，Google会惩罚的是被多次举报的链接卖家。</p>
<p>12、在百度知道、Google论坛等发表文章，并留有链接。这个行为并没有作弊，也不可能是因为这个原因而被搜索引擎封掉。</p>
<p>13、说法错误的是：SEO服务保证关键词长期排名。</p>
<p>14、对于热门关键词，搜索引擎隔一段时间对排名进行更新和保存。所以，当我们搜索一个热门关键词的时候，搜索引擎提供的 SERP 其实是一个“静态页面”。对于冷门关键词，搜索可能是实时的。</p>
<p>15、目前看来，搜索引擎无法实现：判断被大量转载的文章的原创站点。比如，大量的站点转载了 SEO 十万个为什么的这篇文章 http://www.seowhy.com/27_85_zh.html ，那么搜索引擎能否判断，这篇文章的原载是 http://www.seowhy.com 呢？这表现在排名的时候，是否都是本站排在前面。但目前看来，搜索引擎这个方面还做得不是很好。</p>
<p>16、从 SEO 的角度，网页设计采用 div+css 的主要好处是什么？网页大小大幅缩小，搜索引擎对内容的抓取更方便。</p>
<p>17、竞价排名与SEO的投入收益对比分析。竞价排名价高，见效快。SEO见效慢，长期深度收益。</p>
<p>18、如果每个站都做SEO了，那时怎么办？那时，网站内容是搜索引擎排名的主要规则，所以定位、服务等会使竞争的焦点。</p>
<p>19、举出三个增加导入链接的办法。<br />
	1. 在艾瑞、Donews等IT行业新闻网站发布高质量文章。这些网站的排名很好，除了增加反向链接，还会给你带来高质量的流量。<br />
	2. 向行业网站和论坛提交文章。如SEO的研究性文章，提交给SEO信息资料网站或SEOWHY论坛。<br />
	3. 发送新闻稿。高质量的新闻稿提交给新闻门户网站。<br />
	4. 跟踪发布你文章的站点。给他们提供稿件来源。<br />
	5. 与其他网站交换文章发表。<br />
	6. 把文章发送给RSS网站如抓虾、鲜果等。<br />
	7. 做一个让人觉得自己很重要的调查，比如关于家庭主妇的研究等。如果你让别人觉得自己重要，别人会免费为你宣传。</p>
<p>20、首页采用flash的方式，为什么不利于SEO？Flash上的内容和链接都无法被搜索引擎读取。</p>
<h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2010年03月4日 -- <a href="http://www.junstyle.com.cn/dotnet/csharp-get-word-content.html" title="C#读取Word的内容">C#读取Word的内容</a></li><li>2009年10月6日 -- <a href="http://www.junstyle.com.cn/post/51.html" title="把无线路由器当成无线AP使用的两种方法">把无线路由器当成无线AP使用的两种方法</a></li><li>2008年09月9日 -- <a href="http://www.junstyle.com.cn/post/16.html" title="C# String.Format格式的详细说明，供参考">C# String.Format格式的详细说明，供参考</a></li><li>2008年03月31日 -- <a href="http://www.junstyle.com.cn/post/2.html" title="窗体的滚动条问题">窗体的滚动条问题</a></li><li>2010年01月17日 -- <a href="http://www.junstyle.com.cn/software/firefox/firefox-nine-quickkeys.html" title="火狐Firefox里九个非常有用的快捷键">火狐Firefox里九个非常有用的快捷键</a></li><li>2009年07月13日 -- <a href="http://www.junstyle.com.cn/post/google-map-api-example3.html" title="一步步学习调用Google Map Api（三）：自定义地图类型">一步步学习调用Google Map Api（三）：自定义地图类型</a></li><li>2009年05月15日 -- <a href="http://www.junstyle.com.cn/post/29.html" title="zblog的编辑器上的代码高亮让我抓狂">zblog的编辑器上的代码高亮让我抓狂</a></li><li>2009年05月22日 -- <a href="http://www.junstyle.com.cn/post/javascript-check-ie6.html" title="javascript判断浏览器是不是IE6">javascript判断浏览器是不是IE6</a></li><li>2008年04月8日 -- <a href="http://www.junstyle.com.cn/post/jstextbox.html" title="基于jquery的所见即所得编辑器JsTextBox">基于jquery的所见即所得编辑器JsTextBox</a></li><li>2009年12月22日 -- <a href="http://www.junstyle.com.cn/dotnet/two-date-weather-in-a-week.html" title="C#判断两个日期是否在同一周，某日期是本月的第几周">C#判断两个日期是否在同一周，某日期是本月的第几周</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.junstyle.com.cn/seo/twenty-seo-faq.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在WebBrowser中用SendMessage模拟鼠标点击</title>
		<link>http://www.junstyle.com.cn/dotnet/simulate-mouse-click-on-webbrowser-control.html</link>
		<comments>http://www.junstyle.com.cn/dotnet/simulate-mouse-click-on-webbrowser-control.html#comments</comments>
		<pubDate>Thu, 04 Feb 2010 03:28:53 +0000</pubDate>
		<dc:creator>junstyle</dc:creator>
				<category><![CDATA[DOTNET]]></category>
		<category><![CDATA[SendMessage]]></category>
		<category><![CDATA[WebBrowser]]></category>

		<guid isPermaLink="false">http://www.junstyle.com.cn/?p=478</guid>
		<description><![CDATA[
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;

namespace BrowserMouseClick
{
  public partial class Form1 : Form
  {
	  [DllImport(&#34;user32.dll&#34;, CharSet = CharSet.Auto, SetLastError = false)]
	  static extern IntPtr SendMessage(IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam);

	  [DllImport(&#34;user32.dll&#34;, SetLastError = true)]
	  static extern IntPtr GetWindow(IntPtr hWnd, uint uCmd);

	  [DllImport(&#34;user32.dll&#34;, CharSet [...]]]></description>
			<content:encoded><![CDATA[<pre class="brush: csharp;">
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;

namespace BrowserMouseClick
{
  public partial class Form1 : Form
  {
	  [DllImport(&quot;user32.dll&quot;, CharSet = CharSet.Auto, SetLastError = false)]
	  static extern IntPtr SendMessage(IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam);

	  [DllImport(&quot;user32.dll&quot;, SetLastError = true)]
	  static extern IntPtr GetWindow(IntPtr hWnd, uint uCmd);

	  [DllImport(&quot;user32.dll&quot;, CharSet = CharSet.Auto)]
	  static extern int GetClassName(IntPtr hWnd, StringBuilder lpClassName, int nMaxCount);

	  public Form1()
	  {
		  InitializeComponent();
	  }

	  private void Form1_Load(object sender, EventArgs e)
	  {
		  webBrowser1.Navigate(&quot;http://www.devpub.com&quot;);
	  }

	  private void btnMouseClick_Click(object sender, EventArgs e)
	  {
		  int x = 100; // X coordinate of the click
		  int y = 80; // Y coordinate of the click
		  IntPtr handle = webBrowser1.Handle;
		  StringBuilder className = new StringBuilder(100);
		  while (className.ToString() != &quot;Internet Explorer_Server&quot;) // The class control for the browser
		  {
			  handle = GetWindow(handle, 5); // Get a handle to the child window
			  GetClassName(handle, className, className.Capacity);
		  }

		  IntPtr lParam = (IntPtr)((y &lt;&lt; 16) | x); // The coordinates
		  IntPtr wParam = IntPtr.Zero; // Additional parameters for the click (e.g. Ctrl)
		  const uint downCode = 0x201; // Left click down code
		  const uint upCode = 0x202; // Left click up code
		  SendMessage(handle, downCode, wParam, lParam); // Mouse button down
		  SendMessage(handle, upCode, wParam, lParam); // Mouse button up
	  }
  }
}
</pre>
<p>想在WebBrowser控件里面模拟鼠标点击，在百度上找了半天，怎么也找不到，还是google强大，在一个国外网站上找到的，代码比较清楚了，不做说明。</p>
<h3  class="related_post_title">相关日志</h3><ul class="related_post"><li>2010年02月4日 -- <a href="http://www.junstyle.com.cn/dotnet/sendmessage-in-different-program.html" title="用SendMessage在不同程序间发送消息">用SendMessage在不同程序间发送消息</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.junstyle.com.cn/dotnet/simulate-mouse-click-on-webbrowser-control.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>用SendMessage在不同程序间发送消息</title>
		<link>http://www.junstyle.com.cn/dotnet/sendmessage-in-different-program.html</link>
		<comments>http://www.junstyle.com.cn/dotnet/sendmessage-in-different-program.html#comments</comments>
		<pubDate>Thu, 04 Feb 2010 01:51:40 +0000</pubDate>
		<dc:creator>junstyle</dc:creator>
				<category><![CDATA[DOTNET]]></category>
		<category><![CDATA[SendMessage]]></category>

		<guid isPermaLink="false">http://www.junstyle.com.cn/?p=475</guid>
		<description><![CDATA[窗体1中的代码：

	/////////////////////////////////////////
	///file name: Note.cs
	///
	public class Note
	{
		//声明 API 函数
		[DllImport( &#34;User32.dll&#34;, EntryPoint = &#34;SendMessage&#34; )]
		private static extern int SendMessage(
			  int hWnd,     // handle to destination window
			  int Msg,     // message
			  int wParam,   // first message parameter
			  int lParam   // second message parameter
		);
		[DllImport( [...]]]></description>
			<content:encoded><![CDATA[<p>窗体1中的代码：</p>
<pre class="brush: csharp;">
	/////////////////////////////////////////
	///file name: Note.cs
	///
	public class Note
	{
		//声明 API 函数
		[DllImport( &quot;User32.dll&quot;, EntryPoint = &quot;SendMessage&quot; )]
		private static extern int SendMessage(
			  int hWnd,     // handle to destination window
			  int Msg,     // message
			  int wParam,   // first message parameter
			  int lParam   // second message parameter
		);
		[DllImport( &quot;User32.dll&quot;, EntryPoint = &quot;FindWindow&quot; )]
		private static extern int FindWindow( string lpClassName, string lpWindowName );
		//定义消息常数
		public const int USER = 0x500;
		public const int TEST = USER + 1;

		//向窗体发送消息的函数
		private void SendMsgToMainForm( int MSG )
		{
			int WINDOW_HANDLER = FindWindow( null, @&quot;Note Pad&quot; );
			if( WINDOW_HANDLER == 0 )
			{
				throw new Exception( &quot;Could not find Main window!&quot; );
			}
			SendMessage( WINDOW_HANDLER, MSG, 100, 200 );
		}
	}
</pre>
<p><span id="more-475"></span><br />
窗体2中的代码</p>
<pre class="brush: csharp;">
	/////////////////////////////////////////
	/// File name : Form1.cs
	/// 接收消息的窗体
	///
	public class Form1 : System.Windows.Forms.Form
	{
		public Form1()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();
			//
			// TODO: Add any constructor code after InitializeComponent call
			//
		}
		/// 重写窗体的消息处理函数
		protected override void DefWndProc( ref System.Windows.Forms.Message m )
		{
			switch( m.Msg )
			{
				//接收自定义消息 USER，并显示其参数
				case Note.USER:
					string message = string.Format( &quot;Received message! parameters are :{0},{1}&quot;, m.WParam, m.LParam );
					MessageBox.Show( message );
					break;
				default:
					base.DefWndProc( ref m );
					break;
			}
			//Console.WriteLine(m.LParam);
		}
	}
</pre>
<h3  class="related_post_title">相关日志</h3><ul class="related_post"><li>2010年02月4日 -- <a href="http://www.junstyle.com.cn/dotnet/simulate-mouse-click-on-webbrowser-control.html" title="在WebBrowser中用SendMessage模拟鼠标点击">在WebBrowser中用SendMessage模拟鼠标点击</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.junstyle.com.cn/dotnet/sendmessage-in-different-program.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>如何启动Android SDK 1.5版的模拟器</title>
		<link>http://www.junstyle.com.cn/software/android/android-sdk-emulator.html</link>
		<comments>http://www.junstyle.com.cn/software/android/android-sdk-emulator.html#comments</comments>
		<pubDate>Wed, 03 Feb 2010 02:02:58 +0000</pubDate>
		<dc:creator>junstyle</dc:creator>
				<category><![CDATA[ANDROID]]></category>
		<category><![CDATA[android sdk]]></category>
		<category><![CDATA[android模拟器]]></category>

		<guid isPermaLink="false">http://www.junstyle.com.cn/?p=469</guid>
		<description><![CDATA[装完Java JDK后。。。进入CMD&#8230;.

输入路径（这个路径是我存放模拟器的路径、大家要根据自己所存放的路径输入相应的路径）：

继续输入cd  \java\android-sdk-windows-1.5_r1\tools：（cd后有空格）

接着在这命令后面输入android并回车

此时弹出一堆的命令。。无视。。。

在最后的这个命名后面输入android create avd -t 2 -n  g1，并回车。（注意：这个命令中最后一个g1是可以任意取名的，你也可取别的名字如g2,android…）
[一定要切记android与create与avd与-t与2与-n与g1之间都是有空格的]

这时又会弹出个新的命令出来！我们只要输入no并回车就可以了。

结束以上的操作之后，打开存放SDK模拟器的文件，找到模拟器的程序右键点击发送——桌面快 捷方式.
回到桌面后，先不要着急、右键点击属性！
在快捷方式-目标的路径后面加上 -avd  g1(这个-前面是要空格一下的，avd后面跟着的g1则要跟你在上一步黑框中所输入的名字是一致的).

添加完后确定，这样我们就可以在桌面双击直接启动模拟器了.

最后再补充下加载sd卡的方法（谢谢nsnboy）
Android 模拟器能够让我们使用fat32格式的磁盘镜像作为SD卡的模拟，今天尝试了一下，把过程记录下来和大家分享：
1. 进入Android SDK目录下的tools子目录，运行
mksdcard -l sdcard 512M  e:\sdcard.img
这样就创建了一个512M的SD卡镜像文件
在E盘下会生成一个sdcard.img 文件
当然你可以在其他的地方生成
2. 运行模拟器的时候指定路径(注意需要完整路径)：
emulator -sdcard e:\sdcard.img
这样模拟器中就可以使用sdcard这个路径来指向模拟的SD卡了
那么如何拷贝本机文件到SD卡，或者管理 SD卡上的内容呢？
A. 在linux下面我们可以mount成一个loop设备，先创建一个目录，比如叫
android_sdcard，然后执行：
mount -o loop sdcard.img android_sdcard
这样管理这个目录就是管理sdcard内容了
B. 在windows 下面我们可以用mtools来做管理，也可以用android  SDK带的命令(
这个命令在linux下面也可以用)：
adb push local_file sdcardremote_file
不想每次都加-sdcard $sdcard_path, 可以把sdcard.img  复制到~/.android/avd/下对应的AVD目录下。
近期对android有点兴趣，有时间玩玩看！
随机日志2010年01月6日 -- javascript代码优化2009年11月3日 -- 正则表达式之获取匹配、非获取匹配、正向预查、负向预查2009年01月3日 -- [转帖]【个人实战，图文】-xp，vista 32位系统完美使用4G内存2009年10月6日 -- 想交换友情链接的进来看看2009年12月16日 -- wordpress中不同页面调用不同侧边栏的插件：Widget [...]]]></description>
			<content:encoded><![CDATA[<p>装完Java JDK后。。。进入CMD&#8230;.</p>
<p><img title="如何启动Android SDK 1.5模拟器" src="http://www.touch3g.cn/wp-content/uploads/2009/07/4_135_fba0531d2aa18e0.jpg" border="0" alt="如何启动Android SDK 1.5模拟器" /><span id="more-469"></span></p>
<p>输入路径（这个路径是我存放模拟器的路径、大家要根据自己所存放的路径输入相应的路径）：</p>
<p><img title="如何启动Android SDK 1.5模拟器" src="http://www.touch3g.cn/wp-content/uploads/2009/07/4_135_fad299d82e3f7a7.jpg" border="0" alt="如何启动Android SDK 1.5模拟器" /></p>
<p>继续输入cd  \java\android-sdk-windows-1.5_r1\tools：（cd后有空格）</p>
<p><img title="如何启动Android SDK 1.5模拟器" src="http://www.touch3g.cn/wp-content/uploads/2009/07/4_135_ca3d2b0a9c7c27b.jpg" border="0" alt="如何启动Android SDK 1.5模拟器" /></p>
<p>接着在这命令后面输入android并回车</p>
<p><img title="如何启动Android SDK 1.5模拟器" src="http://www.touch3g.cn/wp-content/uploads/2009/07/4_135_584e395cab3ec87.jpg" border="0" alt="如何启动Android SDK 1.5模拟器" /></p>
<p>此时弹出一堆的命令。。无视。。。</p>
<p><img title="如何启动Android SDK 1.5模拟器" src="http://www.touch3g.cn/wp-content/uploads/2009/07/4_135_66f895fdf50245d.jpg" border="0" alt="如何启动Android SDK 1.5模拟器" /></p>
<p>在最后的这个命名后面输入android create avd -t 2 -n  g1，并回车。（注意：这个命令中最后一个g1是可以任意取名的，你也可取别的名字如g2,android…）</p>
<p>[一定要切记android与create与avd与-t与2与-n与g1之间都是有空格的]</p>
<p><img title="如何启动Android SDK 1.5模拟器" src="http://www.touch3g.cn/wp-content/uploads/2009/07/4_135_d99d9131091bf62.jpg" border="0" alt="如何启动Android SDK 1.5模拟器" /></p>
<p>这时又会弹出个新的命令出来！我们只要输入no并回车就可以了。</p>
<p><img title="如何启动Android SDK 1.5模拟器" src="http://www.touch3g.cn/wp-content/uploads/2009/07/4_135_0abff5abbd7ecb3.jpg" border="0" alt="如何启动Android SDK 1.5模拟器" /></p>
<p>结束以上的操作之后，打开存放SDK模拟器的文件，找到模拟器的程序右键点击发送——桌面快 捷方式.</p>
<p>回到桌面后，先不要着急、右键点击属性！</p>
<p>在快捷方式-目标的路径后面加上 -avd  g1(这个-前面是要空格一下的，avd后面跟着的g1则要跟你在上一步黑框中所输入的名字是一致的).</p>
<p><img title="如何启动Android SDK 1.5模拟器" src="http://www.touch3g.cn/wp-content/uploads/2009/07/4_135_6a18d30db0b3ef0.jpg" border="0" alt="如何启动Android SDK 1.5模拟器" /></p>
<p>添加完后确定，这样我们就可以在桌面双击直接启动模拟器了.</p>
<p><img title="如何启动Android SDK 1.5模拟器" src="http://www.touch3g.cn/wp-content/uploads/2009/07/4_135_73d24f2e88fb5f2.jpg" border="0" alt="如何启动Android SDK 1.5模拟器" /></p>
<p>最后再补充下加载sd卡的方法（谢谢nsnboy）</p>
<p>Android 模拟器能够让我们使用fat32格式的磁盘镜像作为SD卡的模拟，今天尝试了一下，把过程记录下来和大家分享：</p>
<p>1. 进入Android SDK目录下的tools子目录，运行</p>
<p>mksdcard -l sdcard 512M  e:\sdcard.img</p>
<p>这样就创建了一个512M的SD卡镜像文件</p>
<p>在E盘下会生成一个sdcard.img 文件</p>
<p>当然你可以在其他的地方生成</p>
<p>2. 运行模拟器的时候指定路径(注意需要完整路径)：</p>
<p>emulator -sdcard e:\sdcard.img</p>
<p>这样模拟器中就可以使用sdcard这个路径来指向模拟的SD卡了</p>
<p>那么如何拷贝本机文件到SD卡，或者管理 SD卡上的内容呢？</p>
<p>A. 在linux下面我们可以mount成一个loop设备，先创建一个目录，比如叫</p>
<p>android_sdcard，然后执行：</p>
<p>mount -o loop sdcard.img android_sdcard</p>
<p>这样管理这个目录就是管理sdcard内容了</p>
<p>B. 在windows 下面我们可以用mtools来做管理，也可以用android  SDK带的命令(</p>
<p>这个命令在linux下面也可以用)：</p>
<p>adb push local_file sdcardremote_file</p>
<p>不想每次都加-sdcard $sdcard_path, 可以把sdcard.img  复制到~/.android/avd/下对应的AVD目录下。</p>
<p>近期对android有点兴趣，有时间玩玩看！</p>
<h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2009年05月27日 -- <a href="http://www.junstyle.com.cn/post/35.html" title="让Window程序只能运行一个实例">让Window程序只能运行一个实例</a></li><li>2009年11月3日 -- <a href="http://www.junstyle.com.cn/post/55.html" title="正则表达式之获取匹配、非获取匹配、正向预查、负向预查">正则表达式之获取匹配、非获取匹配、正向预查、负向预查</a></li><li>2009年05月26日 -- <a href="http://www.junstyle.com.cn/post/aspnet-page-run-steps.html" title="asp.net页面详细执行流程">asp.net页面详细执行流程</a></li><li>2009年11月18日 -- <a href="http://www.junstyle.com.cn/post/google-wave-invitationinvitation.html" title="不小心申请开通了google wave，可以发邀请">不小心申请开通了google wave，可以发邀请</a></li><li>2010年02月24日 -- <a href="http://www.junstyle.com.cn/seo/twenty-seo-faq.html" title="二十个SEO经典问答">二十个SEO经典问答</a></li><li>2009年07月13日 -- <a href="http://www.junstyle.com.cn/post/google-map-api-example3.html" title="一步步学习调用Google Map Api（三）：自定义地图类型">一步步学习调用Google Map Api（三）：自定义地图类型</a></li><li>2009年12月14日 -- <a href="http://www.junstyle.com.cn/dotnet/response-status-statusdescription.html" title="Response.Status和Response.StatusDescription的区别">Response.Status和Response.StatusDescription的区别</a></li><li>2008年08月19日 -- <a href="http://www.junstyle.com.cn/post/11.html" title="C#中调用API获取文件类型的详细信息">C#中调用API获取文件类型的详细信息</a></li><li>2008年12月16日 -- <a href="http://www.junstyle.com.cn/post/18.html" title="C# 用VB.net 函数库来实现全角与半角转换、简体和繁体转换">C# 用VB.net 函数库来实现全角与半角转换、简体和繁体转换</a></li><li>2009年05月15日 -- <a href="http://www.junstyle.com.cn/post/29.html" title="zblog的编辑器上的代码高亮让我抓狂">zblog的编辑器上的代码高亮让我抓狂</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.junstyle.com.cn/software/android/android-sdk-emulator.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>javascript里面的小数计算出现近似值的解决办法</title>
		<link>http://www.junstyle.com.cn/javascript/number-caculate-in-javascript.html</link>
		<comments>http://www.junstyle.com.cn/javascript/number-caculate-in-javascript.html#comments</comments>
		<pubDate>Tue, 02 Feb 2010 14:50:52 +0000</pubDate>
		<dc:creator>junstyle</dc:creator>
				<category><![CDATA[JAVASCRIPT]]></category>

		<guid isPermaLink="false">http://www.junstyle.com.cn/?p=463</guid>
		<description><![CDATA[在javascript里面，小数只能进行相似计算，例如：5.06+1.30，你得到的结果会是6.359999999999999，但有的小数计算又是正确的，如果计算出现了近似值，你可以用如下的方法计算：

var number1 = 5.06;
var number2 = 1.30;
var sum = (number1 * 100 + number2 * 100) / 100; //sum=6.36，不是一个近似值

这样计算可以得到一个准确的结果。
随机日志2009年06月7日 -- IIS6下运行MVC项目，请求链接带扩展名.aspx2009年12月23日 -- Google Closure Compiler Javascript脚本压缩工具2010年03月4日 -- C#读取Word的内容2008年03月31日 -- 【转】编程实现QQ表情文件CFC格式2010年01月6日 -- CSS技巧：使每个规则只出现一次2009年05月26日 -- asp.net页面详细执行流程2009年12月25日 -- chrome扩展出来了，你还会用chrome吗2009年05月27日 -- 让Window程序只能运行一个实例2009年11月23日 -- 在SQL SERVER数据库中获取自增长ID的三种方法的比较2009年08月27日 -- GreaseMonkey脚本：显示每个网站的收录数和外链数及PR、Alexa]]></description>
			<content:encoded><![CDATA[<p>在javascript里面，小数只能进行相似计算，例如：5.06+1.30，你得到的结果会是6.359999999999999，但有的小数计算又是正确的，如果计算出现了近似值，你可以用如下的方法计算：</p>
<pre class="brush: jscript;">
var number1 = 5.06;
var number2 = 1.30;
var sum = (number1 * 100 + number2 * 100) / 100; //sum=6.36，不是一个近似值
</pre>
<p>这样计算可以得到一个准确的结果。</p>
<h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2010年02月25日 -- <a href="http://www.junstyle.com.cn/seo/baidu-site-index-page-first.html" title="貌似百度不惩罚首页了">貌似百度不惩罚首页了</a></li><li>2009年10月6日 -- <a href="http://www.junstyle.com.cn/post/get-friendlinks.html" title="想交换友情链接的进来看看">想交换友情链接的进来看看</a></li><li>2009年12月23日 -- <a href="http://www.junstyle.com.cn/javascript/google-closure-compiler.html" title="Google Closure Compiler Javascript脚本压缩工具">Google Closure Compiler Javascript脚本压缩工具</a></li><li>2009年05月7日 -- <a href="http://www.junstyle.com.cn/post/27.html" title="动态加载javascript文件">动态加载javascript文件</a></li><li>2009年05月15日 -- <a href="http://www.junstyle.com.cn/post/29.html" title="zblog的编辑器上的代码高亮让我抓狂">zblog的编辑器上的代码高亮让我抓狂</a></li><li>2010年01月6日 -- <a href="http://www.junstyle.com.cn/post/vista-sp2-hibernate-consume-power.html" title="完美解决笔记本Vista休眠耗电的问题">完美解决笔记本Vista休眠耗电的问题</a></li><li>2008年09月9日 -- <a href="http://www.junstyle.com.cn/post/16.html" title="C# String.Format格式的详细说明，供参考">C# String.Format格式的详细说明，供参考</a></li><li>2009年07月7日 -- <a href="http://www.junstyle.com.cn/post/dotnet-dll-encryption.html" title=".NET源码加密保护详解|.NET程序加密（转载）">.NET源码加密保护详解|.NET程序加密（转载）</a></li><li>2010年01月6日 -- <a href="http://www.junstyle.com.cn/htmlcss/css-tip-group-selector.html" title="CSS技巧：使每个规则只出现一次">CSS技巧：使每个规则只出现一次</a></li><li>2010年03月4日 -- <a href="http://www.junstyle.com.cn/dotnet/csharp-get-word-content.html" title="C#读取Word的内容">C#读取Word的内容</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.junstyle.com.cn/javascript/number-caculate-in-javascript.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>强迫Firefox安装低版本的扩展，不检查扩展兼容性</title>
		<link>http://www.junstyle.com.cn/software/firefox/firefox-extension-check-compatibility.html</link>
		<comments>http://www.junstyle.com.cn/software/firefox/firefox-extension-check-compatibility.html#comments</comments>
		<pubDate>Sun, 31 Jan 2010 03:35:40 +0000</pubDate>
		<dc:creator>junstyle</dc:creator>
				<category><![CDATA[FIREFOX]]></category>
		<category><![CDATA[扩展兼容性]]></category>

		<guid isPermaLink="false">http://www.junstyle.com.cn/?p=461</guid>
		<description><![CDATA[Firefox升级后，很多时候一些扩展都用不了了，有什么办法能让Firefox不检查扩展的兼容性呢？在config里面添加或者修改布尔值extensions.checkCompatibility，设置为false，这样可以避开Firefox的兼容性检查，但也存在一个风险，可能会导致Firefox不能启动，如果真的不能启动Firefox了，那只能把扩展都删掉了。
相关日志2010年01月27日 -- IETab居然下架了，Coral IETab代替2010年01月17日 -- 火狐Firefox里九个非常有用的快捷键]]></description>
			<content:encoded><![CDATA[<p>Firefox升级后，很多时候一些扩展都用不了了，有什么办法能让Firefox不检查扩展的兼容性呢？在config里面添加或者修改布尔值extensions.checkCompatibility，设置为false，这样可以避开Firefox的兼容性检查，但也存在一个风险，可能会导致Firefox不能启动，如果真的不能启动Firefox了，那只能把扩展都删掉了。</p>
<h3  class="related_post_title">相关日志</h3><ul class="related_post"><li>2010年01月27日 -- <a href="http://www.junstyle.com.cn/software/firefox/ietab.html" title="IETab居然下架了，Coral IETab代替">IETab居然下架了，Coral IETab代替</a></li><li>2010年01月17日 -- <a href="http://www.junstyle.com.cn/software/firefox/firefox-nine-quickkeys.html" title="火狐Firefox里九个非常有用的快捷键">火狐Firefox里九个非常有用的快捷键</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.junstyle.com.cn/software/firefox/firefox-extension-check-compatibility.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
