<?xml version="1.0" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="css/rss.xslt"?>
<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.xujunhua.com/</link><description>徐俊华：网站优化|搜索引擎优化SEO|搜索引擎营销 - </description><generator>RainbowSoft Studio Z-Blog 1.8 Arwen Build 81206</generator><language>zh-CN</language><copyright>Copyright 老徐_徐俊华的博客 </copyright><pubDate>Wed, 08 Sep 2010 05:07:58 +0800</pubDate><item><title>重要提示：修改七彩天空正则表达式</title><author>a@b.com (fishytear)</author><link>http://www.xujunhua.com/post/71.html</link><pubDate>Tue, 27 Jul 2010 11:00:19 +0800</pubDate><guid>http://www.xujunhua.com/post/71.html</guid><description><![CDATA[<p>由于百度搜索页列表变化，现更新正则表达式：</p><p>将原来的：reg.Pattern = &quot;\&lt;table border=\&quot;&amp;chr(34)&amp;&quot;0\&quot;&amp;chr(34)&amp;&quot; cellpadding=\&quot;&amp;chr(34)&amp;&quot;0\&quot;&amp;chr(34)&amp;&quot; cellspacing=\&quot;&amp;chr(34)&amp;&quot;0\&quot;&amp;chr(34)&amp;&quot; id=\&quot;&amp;chr(34)&amp;&quot;\d{1,2}\&quot;&amp;chr(34)&amp;&quot;(.*)\&lt;\/table\&gt;&quot;</p><p>修改成：reg.Pattern = &quot;\&lt;table cellpadding=\&quot;&amp;chr(34)&amp;&quot;0\&quot;&amp;chr(34)&amp;&quot; cellspacing=\&quot;&amp;chr(34)&amp;&quot;0\&quot;&amp;chr(34)&amp;&quot; class=\&quot;&amp;chr(34)&amp;&quot;result\&quot;&amp;chr(34)&amp;&quot; id=\&quot;&amp;chr(34)&amp;&quot;\d{1,2}\&quot;&amp;chr(34)&amp;&quot;(.*)\&lt;\/table\&gt;&quot;</p><p>&nbsp;</p>]]></description><category>专业知识</category><comments>http://www.xujunhua.com/post/71.html#comment</comments><wfw:comment>http://www.xujunhua.com/</wfw:comment><wfw:commentRss>http://www.xujunhua.com/feed.asp?cmt=71</wfw:commentRss><trackback:ping>http://www.xujunhua.com/cmd.asp?act=tb&amp;id=71&amp;key=ba68b245</trackback:ping></item><item><title>搜索</title><author>a@b.com (fishytear)</author><link>http://www.xujunhua.com/post/70.html</link><pubDate>Wed, 21 Jul 2010 15:06:28 +0800</pubDate><guid>http://www.xujunhua.com/post/70.html</guid><description><![CDATA[<p>每天从搜索框开始:</p><p><form action="http://www.google.cn/cse" id="cse-search-box" target="_blank">  <div>    <input type="hidden" name="cx" value="partner-pub-7391975309700568:49f0at-3wo4" />    <input type="hidden" name="ie" value="utf-8" />    <input type="text" name="q" size="31" />    <input type="submit" name="sa" value="&#x641c;&#x7d22;" />  </div></form><script type="text/javascript" src="http://www.google.cn/cse/brand?form=cse-search-box&amp;lang=zh-Hans"></script> </p>]]></description><category>专业知识</category><comments>http://www.xujunhua.com/post/70.html#comment</comments><wfw:comment>http://www.xujunhua.com/</wfw:comment><wfw:commentRss>http://www.xujunhua.com/feed.asp?cmt=70</wfw:commentRss><trackback:ping>http://www.xujunhua.com/cmd.asp?act=tb&amp;id=70&amp;key=70f8fcbf</trackback:ping></item><item><title>腾讯工程师盗卖Q币被判有期徒刑六个月</title><author>a@b.com (fishytear)</author><link>http://www.xujunhua.com/post/68.html</link><pubDate>Fri, 18 Jun 2010 09:58:19 +0800</pubDate><guid>http://www.xujunhua.com/post/68.html</guid><description><![CDATA[<p>轻点一下鼠标，修改几个数据，或许就能得到荣华富贵，腾讯的电脑工程师蔡某最终难以控制自己伸出犯罪的手。近日，南山区人民法院对南山区人民检察院起诉的蔡某职务侵占案作出了一审判决，判处蔡某有期徒刑六个月，缓刑一年。</p><p>案情显示，蔡某是深圳市腾讯计算机信息系统有限公司数据平台部工程师，主要负责声讯、发行系统的维护，同时也是QQ数据卡系统备份的负责人。2009年11月底，蔡某利用自己能登录QQ卡数据系统并进行操作的职务便利，使用自己的操作权限更改过期的QQ卡的使用期限及余额，然后将QQ卡按其所含Q币的价值以7.8或8折的价格在淘宝网进行销售，共售出Q币约4万元，非法获利人民币35234.23元。</p><p>这个故事告诉我们：慎用update语句！</p>]]></description><category>专业知识</category><comments>http://www.xujunhua.com/post/68.html#comment</comments><wfw:comment>http://www.xujunhua.com/</wfw:comment><wfw:commentRss>http://www.xujunhua.com/feed.asp?cmt=68</wfw:commentRss><trackback:ping>http://www.xujunhua.com/cmd.asp?act=tb&amp;id=68&amp;key=4721a661</trackback:ping></item><item><title>手机号正则表达式</title><author>a@b.com (fishytear)</author><link>http://www.xujunhua.com/post/58.html</link><pubDate>Thu, 13 May 2010 08:34:24 +0800</pubDate><guid>http://www.xujunhua.com/post/58.html</guid><description><![CDATA[<p>手机号规则：11位数</p><p><strong>中国移动号段</strong>  <span>1340-1348</span> <span>135</span> <span>136</span> <span>137</span> <span>138</span> <span>139</span> <span>150</span> <span>151</span> <span>152</span> <span>157</span> <span>158</span> <span>159</span> <span>187</span> <span>188</span> <span>147</span> <br /><strong>中国联通号段 </strong> <span>130</span> <span>131</span> <span>132</span> <span>155</span> <span>156</span> <span>185</span> <span>186</span> <span>145</span> <br /><strong>中国电信号段</strong> <span>133</span> <span>1349</span> <span>153</span> <span>180</span> <span>189</span></p><p>&nbsp;</p><p><span>手机号正则表达式：^1(30|31|32|33|34|35|36|37|38|39|45|47|50|51|52|55|56|57|58|59|80|85|86|87|88|89|31|31|31|31|31)\d{8}$</span></p><p>网站集成短信功能的时候需严格控制，避免不必要的浪费&middot;</p>]]></description><category>专业知识</category><comments>http://www.xujunhua.com/post/58.html#comment</comments><wfw:comment>http://www.xujunhua.com/</wfw:comment><wfw:commentRss>http://www.xujunhua.com/feed.asp?cmt=58</wfw:commentRss><trackback:ping>http://www.xujunhua.com/cmd.asp?act=tb&amp;id=58&amp;key=70149a70</trackback:ping></item><item><title>关于网页中JPG图片不显示的问题</title><author>a@b.com (fishytear)</author><link>http://www.xujunhua.com/post/56.html</link><pubDate>Fri, 30 Apr 2010 09:18:21 +0800</pubDate><guid>http://www.xujunhua.com/post/56.html</guid><description><![CDATA[<p>经常会有朋友问到为什么有的时候有些图片明明上传到空间里去了，可是在网页中就是不能正常显示。而且代码中图片路径都没有问题。</p><p>其实这个问题在两年前我也遇到过，当时也是找了很多地方都不知道是怎么回事，后来我拿能正常显示的图片和不能正常显示的图片进行对比，用PS打开后，发现两种图片除了公共区别外。有一点很特别：能正常显示的图片的JPG图片模式是RGB，而不能正常显示的图片的图片模式是CMYK，这样问题就很明朗了，CMYK是印刷模式，部分浏览器不支持，好比IE系列。</p><p>接着通过PS转变一下图片的模式，然后重新上传，OK！可以显示了&middot;<br />&nbsp;</p><p><img onload="ResizeImage(this,520)" src="http://www.xujunhua.com/upload/2010/4/Tu_RGB.jpg" alt="" title="" />RGB模式图片</p><p>&nbsp;</p><p><img onload="ResizeImage(this,520)" src="http://www.xujunhua.com/upload/2010/4/Tu_CMYK.jpg" alt="" title="" />CMYK模式图片（在IE下会显示红叉，其实这张图片是存在的，路径是http://www.xujunhua.com/upload/2010/4/Tu_CMYK.jpg&nbsp; ，可以用迅雷下载&middot;）</p>]]></description><category>专业知识</category><comments>http://www.xujunhua.com/post/56.html#comment</comments><wfw:comment>http://www.xujunhua.com/</wfw:comment><wfw:commentRss>http://www.xujunhua.com/feed.asp?cmt=56</wfw:commentRss><trackback:ping>http://www.xujunhua.com/cmd.asp?act=tb&amp;id=56&amp;key=83c171d2</trackback:ping></item><item><title>时间戳换算规则（暂时忽略闰秒）</title><author>a@b.com (fishytear)</author><link>http://www.xujunhua.com/post/48.html</link><pubDate>Fri, 09 Apr 2010 09:31:53 +0800</pubDate><guid>http://www.xujunhua.com/post/48.html</guid><description><![CDATA[<p>1 分=60 秒 1小时=3600 秒 1天=86400 秒 1周=604800 秒 1月=(30.44 天)2629743 秒 1年=(365.24 天)31556926 秒</p>]]></description><category>专业知识</category><comments>http://www.xujunhua.com/post/48.html#comment</comments><wfw:comment>http://www.xujunhua.com/</wfw:comment><wfw:commentRss>http://www.xujunhua.com/feed.asp?cmt=48</wfw:commentRss><trackback:ping>http://www.xujunhua.com/cmd.asp?act=tb&amp;id=48&amp;key=2db78adc</trackback:ping></item><item><title>解决Prototype ajax中文乱码问题</title><author>a@b.com (fishytear)</author><link>http://www.xujunhua.com/post/40.html</link><pubDate>Sat, 13 Mar 2010 09:57:37 +0800</pubDate><guid>http://www.xujunhua.com/post/40.html</guid><description><![CDATA[<p>在JavaScript里ajax中文乱码主要有两种情况：</p><p>一、获取的结果乱码</p><p>示例：</p><p>josn.asp页面代码：</p><p>&lt;script src=&quot;prototype.js&quot;&gt;&lt;/script&gt;</p><p>&lt;script language=&quot;javascript&quot;&gt;<br /><br />function GetMessage(){<br />&nbsp;&nbsp;&nbsp; var jurl=&quot;t.asp&quot;;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; new Ajax.Request(jurl, { <br />&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; method: &quot;get&quot;, <br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; onSuccess: function(transport) { <br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; var json = transport.responseText.evalJSON();<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ResultCode=json.result;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; message=json.message;<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; alert(message);<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; });<br /><br />}<br />&lt;/script&gt;<br />&lt;input type=&quot;button&quot; name=&quot;button&quot; id=&quot;foo&quot; value=&quot;按钮&quot; onclick=&quot;GetMessage();&quot;&nbsp; /&gt;</p><p>t.asp页面代码：</p><p>{&quot;result&quot;:&quot;1&quot;,&quot;message&quot;:&quot;成行成功&quot;}</p><p>-----------------------------------------------------------------------------<br />点击按钮回弹出返回json对象的消息。<br />&nbsp;</p><p><img title="" alt="" src="http://www.xujunhua.com/upload/2010/3/201003131003373250.jpg" onload="ResizeImage(this,520)" />（出现乱码）</p><p>解决办法：其实这种情况的乱码主要是结果页面没有指定编码格式，以ASP为例，在t.asp页面加上&lt;%response.Charset=&quot;GB2312&quot;%&gt;即可解决问题。<br />新的t.asp页面代码：<br />&lt;%response.Charset=&quot;GB2312&quot;%&gt;<br />{&quot;result&quot;:&quot;1&quot;,&quot;message&quot;:&quot;成行成功&quot;}</p><p><img title="" alt="" src="http://www.xujunhua.com/upload/2010/3/201003131007061102.jpg" onload="ResizeImage(this,520)" />（正常显示）</p>]]></description><category>专业知识</category><comments>http://www.xujunhua.com/post/40.html#comment</comments><wfw:comment>http://www.xujunhua.com/</wfw:comment><wfw:commentRss>http://www.xujunhua.com/feed.asp?cmt=40</wfw:commentRss><trackback:ping>http://www.xujunhua.com/cmd.asp?act=tb&amp;id=40&amp;key=84e2c64e</trackback:ping></item><item><title>教你彻底删除www.qq5.com这流氓网站</title><author>a@b.com (fishytear)</author><link>http://www.xujunhua.com/post/27.html</link><pubDate>Sun, 25 Oct 2009 11:53:49 +0800</pubDate><guid>http://www.xujunhua.com/post/27.html</guid><description><![CDATA[<p>之前我发过一篇博客文章是<a target="_blank" href="http://www.xujunhua.com/post/23.html">删除www.yule918.cn 这个流氓网站</a>的。</p><p>昨天我在网上下载一个游戏的时候，安装完毕后发现打开浏览器就直接进了www.qq5.com 这个鬼网站。开始以为是简单的改了下浏览器初始页。接着进入Internet 选项里删除了，结果发现打开IE仍然是进入了www.qq5.com 这个网站。</p><p>根据上次的经验，想必又是注册表里被修改了。接着是打开注册表（在&ldquo;运行&rdquo;里输入regedit&nbsp; 即可），按Ctrl+F搜索&lsquo;qq5.com&rsquo;（如下图）：</p><p>&nbsp;</p><p><img title="" alt="" src="http://www.xujunhua.com/upload/2009/10/qq5.com.jpg" onload="ResizeImage(this,520)" /></p><p>查找后会找到一个键值，双击删除里面的&lsquo;www.qq5.com&rsquo;:</p><p>&nbsp;</p><p><img title="" alt="" src="http://www.xujunhua.com/upload/2009/10/200910251201146026.jpg" onload="ResizeImage(this,520)" /></p><p>关闭注册表，重新打开IE，发现OK了。</p>]]></description><category>专业知识</category><comments>http://www.xujunhua.com/post/27.html#comment</comments><wfw:comment>http://www.xujunhua.com/</wfw:comment><wfw:commentRss>http://www.xujunhua.com/feed.asp?cmt=27</wfw:commentRss><trackback:ping>http://www.xujunhua.com/cmd.asp?act=tb&amp;id=27&amp;key=0f67b240</trackback:ping></item><item><title>去掉该死的www.yule918.cn</title><author>fishytear@126.com (徐俊华)</author><link>http://www.xujunhua.com/post/23.html</link><pubDate>Tue, 04 Aug 2009 07:06:09 +0800</pubDate><guid>http://www.xujunhua.com/post/23.html</guid><description><![CDATA[<p>该死的混蛋www.yule918.cn&nbsp;&nbsp;&nbsp; 真是垃圾中的极品，很多朋友的IE都受这个困扰，无论怎么改首页都清除不了，杀毒也杀不出来。</p><p>经过小试，总结了两个基本解决办法。</p><p>方法一：修改hosts文件，hosts位于C:\WINDOWS\system32\drivers\etc&nbsp; 右键用记事本打开，在里面添加一行:<br />&nbsp;</p><p><img title="" alt="" onload="ResizeImage(this,520)" src="http://www.xujunhua.com/upload/2009/8/host.jpg" /><br />&nbsp;</p><p>前面的IP可以自己选择。这种方法是采用浏览器劫持的一种。缺点就是治标不治本，其实那个该死的yule918.cn&nbsp;&nbsp;&nbsp;&nbsp; 还在你的电脑里。</p><p>接下来方法二：修改注册表，修改home.cmd文件<br />第一步：打开注册表（方法是&ldquo;开始&rdquo;-&ldquo;运行&rdquo;-&ldquo;输入regedit&rdquo;）,选择根目录（就是点一下&ldquo;我的电脑&rdquo;），然后点击&ldquo;编辑&rdquo;-&ldquo;查找&rdquo;（也可以直接CTRL+F）,输入&ldquo;yule918&rdquo;，接着会出来一条记录。<br />&nbsp;</p><p><img title="" alt="" onload="ResizeImage(this,520)" src="http://www.xujunhua.com/upload/2009/8/re.jpg" /><br />&nbsp;</p><p>删掉这混蛋！！！！&ldquo;确定&rdquo;，退出注册表！</p><p>第二步，打开home.cmd文件，此文件位于：C:\WINDOWS下面。</p><p>&nbsp;</p><p><img title="" alt="" onload="ResizeImage(this,520)" src="http://www.xujunhua.com/upload/2009/8/200908040722191263.jpg" /></p><p>继续删掉这混蛋。</p><p>此外，可能有的朋友的系统根目录下还有一个homepage.cmd文件，就在home.cmd文件旁边，如果有的话，继续打开：</p><p>&nbsp;</p><p>&nbsp;</p><p><img title="" alt="" onload="ResizeImage(this,520)" src="http://www.xujunhua.com/upload/2009/8/200908040724298340.jpg" /></p><p>继续删掉这混蛋，其实删掉这个文件也可以。保存后退出。</p><p>备注：如果系统目录下有run1.vbs这个文件，也可以删除&middot;~</p><p>有必要可以重启下，看看这下干净了吧&middot;~</p><p>哈哈&middot;~~~</p>]]></description><category>专业知识</category><comments>http://www.xujunhua.com/post/23.html#comment</comments><wfw:comment>http://www.xujunhua.com/</wfw:comment><wfw:commentRss>http://www.xujunhua.com/feed.asp?cmt=23</wfw:commentRss><trackback:ping>http://www.xujunhua.com/cmd.asp?act=tb&amp;id=23&amp;key=a584a947</trackback:ping></item><item><title>有道的难题和答案</title><author>fishytear@126.com (徐俊华)</author><link>http://www.xujunhua.com/post/10.html</link><pubDate>Wed, 13 May 2009 09:11:45 +0800</pubDate><guid>http://www.xujunhua.com/post/10.html</guid><description><![CDATA[<div class="tit">有道难题所有答案</div><div class="date">&nbsp;</div><p><table style="table-layout: fixed">    <tbody>        <tr>            <td>            <div class="cnt" id="blog_text">有道最近搞了个测试题，地址是：<a href="http://www.youdao.com/nanti/mi/" target="_blank">http://www.youdao.com/nanti/mi/</a><br />            <strong><br />            下面就是有道难题所有答案 </strong><br />            1、 一样的人物 answer=&quot;o&quot;&nbsp;&nbsp; <br />            2、湖边的回忆 answer=&quot;bomb&quot; <br />            3、 危险之地 answer=&quot;0441&quot; <br />            4、 火星文 answer=&quot;@($&quot; <br />            5、 博客中的线索 answer=&quot;也可能&quot; <br />            6、 IT码农的留言 answer=&quot;本机地址&quot; <br />            7、&nbsp;&nbsp; 曲径通幽 answer=&quot;search engine&quot; <br />            8、手机词典的帮助 answer=&quot;为&quot; <br />            9、 古诗中的数字 answer=&quot;3624087915&quot; <br />            10、 彩铃包月 answer=&quot;12355331&quot; <br />            11、 和智玲的聊天 answer=&quot;2月18日&quot; <br />            12、黑客是怎样炼成的 answer=&quot;cctv&quot; <br />            13、 Morse的登录 answer=&quot;圆周率&quot; <br />            14、错误的号码 answer=&quot;0731-95310163&quot; <br />            15、 数学之美 answer=&quot;LOVE&quot; <br />            16、 残破的画卷 answer=&quot;ONLMK&quot;</div>            </td>        </tr>    </tbody></table></p>]]></description><category>专业知识</category><comments>http://www.xujunhua.com/post/10.html#comment</comments><wfw:comment>http://www.xujunhua.com/</wfw:comment><wfw:commentRss>http://www.xujunhua.com/feed.asp?cmt=10</wfw:commentRss><trackback:ping>http://www.xujunhua.com/cmd.asp?act=tb&amp;id=10&amp;key=a161a786</trackback:ping></item></channel></rss>
