<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>SOTHINK</title>
    <link rel="alternate" type="text/html" href="http://www.sothink.cn/" />
    <link rel="self" type="application/atom+xml" href="http://www.sothink.cn/atom.xml" />
    <id>tag:www.sothink.cn,2009-12-03://1</id>
    <updated>2011-04-24T12:11:30Z</updated>
    <subtitle>The internet should be public, open and accessible ?</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type Pro 4.36</generator>

<entry>
    <title>愤怒的小鸟：DirectSoundCreate8 failed Error </title>
    <link rel="alternate" type="text/html" href="http://www.sothink.cn/archives/2011/04/angry-birds-error-directsoundcreate8-failed.html" />
    <id>tag:www.sothink.cn,2011://1.76</id>

    <published>2011-04-23T06:33:13Z</published>
    <updated>2011-04-24T12:11:30Z</updated>

    <summary><![CDATA[　　Angry Birds(中文译名：愤怒的小鸟)是一款首发于iOS，而后跨平台的触摸类游戏，当然也有PC版的了。　　我还是比较喜欢这款游戏的，无论是画面还是音效做得都很不错。今天我把它复制到Windows Server 2003下，运行游戏的时候却发生了错误。提示 &rdquo;DirectSoundCreate8 failed&rdquo;，之后游戏就自动退出了。我检查了一下声卡驱动，没有问题的。试着安装了几个VC++组件包，问题依旧。...]]></summary>
    <author>
        <name>SOTHINK</name>
        <uri>http://www.sothink.cn/</uri>
    </author>
    
        <category term="Journal" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Notes" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.sothink.cn/">
        <![CDATA[<p><img alt="AngryBirds" style="margin: 0px 0px 20px 20px; float: right" src="http://lh4.googleusercontent.com/_XHC8aCTMuvY/TbJ3Azz6qoI/AAAAAAAAAm4/WvmVS7wy8nw/s240/AngryBirds.gif" /></p><p>　　Angry Birds(中文译名：<a target="_blank" href="http://bit.ly/eYCuFR">愤怒的小鸟</a>)是一款首发于iOS，而后跨平台的触摸类游戏，当然也有PC版的了。</p><p>　　我还是比较喜欢这款游戏的，无论是画面还是音效做得都很不错。今天我把它复制到Windows Server 2003下，运行游戏的时候却发生了错误。提示 &rdquo;DirectSoundCreate8 failed&rdquo;，之后游戏就自动退出了。我检查了一下声卡驱动，没有问题的。试着安装了几个VC++组件包，问题依旧。</p>]]>
        <![CDATA[<p style="text-align: center"><input alt="AngryBirds Error" src="http://lh6.googleusercontent.com/_XHC8aCTMuvY/TbJycS5qoFI/AAAAAAAAAm0/cGk5Z-9e7ck/s800/angrybirdserror.gif.jpg" type="image" /></p><p>　　不只是<a target="_blank" href="http://bit.ly/eYCuFR">愤怒的小鸟</a>，运行黏黏世界的时候画面一闪而过，程序就崩溃了。后来某人的一句玩笑话&ldquo;得插上喇叭，让游戏出声才行&rdquo;提醒了我。2003下默认声音服务是关闭的呀，马上运行Windows Audio服务，再开始游戏，一切正常了。</p><p>　　如果你也遇到了类似的问题，不妨先检查一下，系统能不能正常发出声音，如果没有声音，就检查一下声卡驱动有没有安装好，对应的Windows Audio服务有没有启动。</p><p style="text-align: right"><strong>本文结束。</strong></p>]]>
    </content>
</entry>

<entry>
    <title>已解决：Windows 安装程序出现错误 1606。功能ID未注册</title>
    <link rel="alternate" type="text/html" href="http://www.sothink.cn/archives/2011/04/windows-installer-error-1606-feature-id-not-registered.html" />
    <id>tag:www.sothink.cn,2011://1.75</id>

    <published>2011-04-13T00:12:30Z</published>
    <updated>2011-04-24T12:12:13Z</updated>

    <summary><![CDATA[　　这是一年前遇到的问题了，截图之后就一直仍在一边，没有发出来。单位同事的电脑在打开 .doc文件的时候出现&ldquo;Windows 安装程序出现错误 1606。功能ID未注册&rdquo;的错误提示。尝试修复或覆盖安装Office 2003问题依旧。后来在网上找到了一个Office 2003的&ldquo;卸载工具&rdquo;。...]]></summary>
    <author>
        <name>SOTHINK</name>
        <uri>http://www.sothink.cn/</uri>
    </author>
    
        <category term="Notes" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Windows" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="windows" label="Windows" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.sothink.cn/">
        <![CDATA[<p>　　这是一年前遇到的问题了，截图之后就一直仍在一边，没有发出来。单位同事的电脑在打开 .doc文件的时候出现&ldquo;Windows 安装程序出现<a href="http://www.sothink.cn/archives/2011/04/windows-installer-error-1606-feature-id-not-registered.html">错误 1606</a>。功能ID未注册&rdquo;的错误提示。尝试修复或覆盖安装Office 2003问题依旧。后来在网上找到了一个Office 2003的&ldquo;卸载工具&rdquo;。</p><p style="text-align: center"><img alt="Office 2003 错误1606" src="https://lh6.googleusercontent.com/_XHC8aCTMuvY/TaTyFo7P3UI/AAAAAAAAAmY/1wMTDMM8vZY/s400/office-2003-error-1606.gif.jpg" /></p>]]>
        <![CDATA[<p style="text-align: center"><script type="text/javascript"><!--
google_ad_client = "pub-8701586848722989";
/* 468x60, 横幅 */
google_ad_slot = "2056113718";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> 
</script></p><p>　　这个<a href="http://www.sothink.cn/archives/2011/04/windows-installer-error-1606-feature-id-not-registered.html">Office 2003卸载工具</a>可以用于：<br /><br />　　1.无法完成 Office 2003 的重新安装<br />　　2.无法使用 Office 2003 的修复安装功能<br />　　3.无法使用安装参数实现某些安装<br />　　4.无法完成 Office 2003 的卸载<br />　　5.其他 Office 2003 的安装相关故障<br /><br />　　很实用，如果你遇到了相同的问题，并不防也试试这个小工具 :P</p><p>　　下载地址：<a href="http://movabletype-plugins.googlecode.com/files/officexiezai.rar">Office 2003卸载工具</a></p><p style="text-align: right"><strong>本文结束。</strong></p>]]>
    </content>
</entry>

<entry>
    <title>丧心病狂的广告推广员请你自重！</title>
    <link rel="alternate" type="text/html" href="http://www.sothink.cn/archives/2011/03/the-fuking-spammer.html" />
    <id>tag:www.sothink.cn,2011://1.74</id>

    <published>2011-03-04T11:40:19Z</published>
    <updated>2011-03-04T11:57:03Z</updated>

    <summary>　　最近两天不知道是怎么了，我的这个博客出现了一大堆的Spam。reCaptcha可以帮助我抵御不少Bot Spam，而对于这类人肉Spam就无能为力了。　　希望你们这些人肉Spam自重些，在我这里发Spam，你们赚不到钱，浪费生命，小心我人肉你们。　　下面是人肉Spam中的一员，你不要脸，我也不会对你客气：...</summary>
    <author>
        <name>SOTHINK</name>
        <uri>http://www.sothink.cn/</uri>
    </author>
    
        <category term="Journal" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.sothink.cn/">
        <![CDATA[<p>　　最近两天不知道是怎么了，我的这个博客出现了一大堆的Spam。reCaptcha可以帮助我抵御不少Bot Spam，而对于这类人肉Spam就无能为力了。</p><p>　　希望你们这些人肉Spam自重些，在我这里发Spam，你们赚不到钱，浪费生命，小心我人肉你们。</p><p>　　下面是人肉Spam中的一员，你不要脸，我也不会对你客气：</p>]]>
        <![CDATA[<p>　　陶先生，江苏苏州人，手机1505016**** 其他的我就不说了，请你自重。</p><p style="text-align: right"><strong>本文结束。</strong></p>]]>
    </content>
</entry>

<entry>
    <title>自动跳转到http://url.tf.wo116.com/tz/33.htm</title>
    <link rel="alternate" type="text/html" href="http://www.sothink.cn/archives/2011/02/http-url-tf-wo116-com-tz-33-htm.html" />
    <id>tag:www.sothink.cn,2011://1.73</id>

    <published>2011-02-22T17:02:57Z</published>
    <updated>2011-02-22T18:13:42Z</updated>

    <summary><![CDATA[　　还是上网这点破事。　　刚关闭个IE选项卡，紧接着就弹出个淘宝页面。开始的时候，没太在意，后来又出现了几次。看到网上很多人都说是中毒了，我告诉你，你没中毒，是你刚刚关闭的页面的问题。不相信大家可以试试看，先清理掉IE临时文件和cookies，然后打开 lndns3.cncmax.cn:8080 ，新建一个选项卡，关闭第一个选项卡或者在第一个选项卡的地址栏里面输入一个网址打开。看，淘宝出现了！　　查看 http://lndns3.cncmax.cn:8080/&nbsp;源码，有一段使用加密的JS代码：...]]></summary>
    <author>
        <name>SOTHINK</name>
        <uri>http://www.sothink.cn/</uri>
    </author>
    
        <category term="Journal" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.sothink.cn/">
        <![CDATA[<p>　　还是上网这点破事。</p><p>　　刚关闭个IE选项卡，紧接着就弹出个淘宝页面。开始的时候，没太在意，后来又出现了几次。看到网上很多人都说是中毒了，我告诉你，你没中毒，是你刚刚关闭的页面的问题。不相信大家可以试试看，先清理掉IE临时文件和cookies，然后打开 lndns3.cncmax.cn:8080 ，新建一个选项卡，关闭第一个选项卡或者在第一个选项卡的地址栏里面输入一个网址打开。看，淘宝出现了！</p><p>　　查看 http://lndns3.cncmax.cn:8080/&nbsp;源码，有一段使用加密的JS代码：</p>]]>
        <![CDATA[<script type="text/javascript" src="http://www.sothink.cn/scripts/shCore.js"></script><script type="text/javascript" src="http://www.sothink.cn/scripts/shBrushJScript.js"></script>
<p>
<link rel="stylesheet" type="text/css" href="http://www.sothink.cn/styles/shCore.css" />
<link rel="stylesheet" type="text/css" href="http://www.sothink.cn/styles/shThemeDefault.css" /><script type="text/javascript"> 
	SyntaxHighlighter.config.clipboardSwf = 'http://www.sothink.cn/scripts/clipboard.swf';
	SyntaxHighlighter.all();
</script></p>
<pre class="brush:js">
&lt;body onmousedown='stat(event)'&gt;
&lt;script language=&quot;javascript&quot;&gt;
&lt; !--document.write(unescape(&quot;%3Cscript%20language%3D%22javascript%22%3E%0D%0Avar%20val_pop_day%20%3D%201%3B%0D%0Avar%20val_pop_num%20%3D%201%3B%0D%0A%0D%0Afunction%20ext%28%29%20%0D%0A%7B%20%0D%0Aiie.launchURL%28popURL%29%3B%20%0D%0A%7D%20%0D%0A%0D%0Avar%20popURL%20%3D%20%27%68%74%74%70%3A%2F%2F%75%72%6c%2e%74%66%2e%77%6F%31%31%36%2e%63%6F%6D%2f%74%7a%2f%33%33%2e%68%74%6d%27%3B%0D%0A%0D%0Afunction%20SetCookie%28name%2C%20value%2C%20day%29%0D%0A%7B%0D%0A%20var%20exp%20%3D%20new%20Date%28%29%3B%20%0D%0A%20exp.setTime%28exp.getTime%28%29%20+%20day%20*%2060%20*%2060%20*%201000%29%3B%20%0D%0A%20document.cookie%20%3D%20name%20+%20%22%3D%22%20+%20escape%28value%29%20+%20%22%3Bexpires%3D%22%20+%20exp.toGMTString%28%29%3B%0D%0A%7D%0D%0Afunction%20getCookie%28name%29%0D%0A%7B%0D%0A%20var%20arr%20%3D%20document.cookie.match%28new%20RegExp%28%22%28%5E%7C%20%29%22%20+%20name%20+%20%22%3D%28%5B%5E%3B%5D*%29%28%3B%7C%24%29%22%29%29%3B%0D%0A%20if%20%28arr%20%21%3D%20null%29%0D%0A%20return%20unescape%28arr%5B2%5D%29%3B%0D%0A%7D%0D%0Afunction%20delCookie%28name%29%0D%0A%7B%0D%0A%20%20var%20exp%20%3D%20new%20Date%28%29%3B%20%0D%0A%20exp.setTime%28exp.getTime%28%29%20-%201%29%3B%0D%0A%20var%20cval%20%3D%20getCookie%28name%29%3B%0D%0A%20if%20%28cval%20%21%3D%20null%29%0D%0A%20document.cookie%20%3D%20name%20+%20%22%3D%22%20+%20cval%20+%20%22%3Bexpires%3D%22%20+%20exp.toGMTString%28%29%3B%0D%0A%7D%0D%0A%0D%0Afunction%20chkpopad%28n%2C%20d%29%7B%0D%0A%20var%20i%20%3D%201%3B%0D%0A%20if%20%28getCookie%28%27popnum%27%29%20%3D%3D%20null%29%7B%0D%0A%20eval%28%22window.attachEvent%28%27onbeforeunload%27%2Cext%29%3B%22%29%3B%20%0D%0A%20SetCookie%28%22popnum%22%2C%20i%2C%20d%29%3B%0D%0A%20%7D%0D%0A%0D%0A%20else%20if%20%28getCookie%28%27popnum%27%29%3Cn%29%7B%0D%0A%20eval%28%22window.attachEvent%28%27onbeforeunload%27%2Cext%29%3B%22%29%3B%20%0D%0A%20SetCookie%28%22popnum%22%2C%20parseInt%28getCookie%28%27popnum%27%29%29%20+%201%2C%20d%29%3B%0D%0A%20%7D%0D%0A%7D%0D%0Achkpopad%28val_pop_num%2Cval_pop_day%29%3B%0D%0A%3C/script%3E&quot;));
//--&gt;

&lt;/script&gt;
</pre>
<p>　　将JS部分解密之后是这样的：</p>
<pre class="brush:js">
&lt;script language=&quot;javascript&quot;&gt;
  var val_pop_day = 1;
  var val_pop_num = 1;
 function ext() {
  iie.launchURL(popURL);
  }
 var popURL = 'http://url.tf.wo116.com/tz/33.htm';
 function SetCookie(name, value, day) {
  var exp = new Date();
  exp.setTime(exp.getTime() + day * 60 * 60 * 1000);
  document.cookie = name + &quot;=&quot; + escape(value) + &quot;;expires=&quot; + exp.toGMTString();
  }
  function getCookie(name) {
  var arr = document.cookie.match(new RegExp(&quot;(^| )&quot; + name + &quot;=([^;]*)(;|$)&quot;));
  if (arr != null) return unescape(arr[2]);
  }
  function delCookie(name) {
  var exp = new Date();
  exp.setTime(exp.getTime() - 1);
  var cval = getCookie(name);
  if (cval != null) document.cookie = name + &quot;=&quot; + cval + &quot;;expires=&quot; + exp.toGMTString();
  }
 function chkpopad(n, d) {
  var i = 1;
  if (getCookie('popnum') == null) {
  eval(&quot;window.attachEvent('onbeforeunload',ext);&quot;);
  SetCookie(&quot;popnum&quot;, i, d);
  }
 else if (getCookie('popnum') &lt; n) {
  eval(&quot;window.attachEvent('onbeforeunload',ext);&quot;);
  SetCookie(&quot;popnum&quot;, parseInt(getCookie('popnum')) + 1, d);
  }
  }
  chkpopad(val_pop_num, val_pop_day);
  &lt;/script&gt;
</pre>
<p>　　直接打开 url.tf.wo116.com/tz/33.htm 就是那个淘宝页面了。有图为证：</p>
<p style="text-align: center"><a onclick="window.open(this.href,'','resizable=yes,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,fullscreen=no,dependent=yes,width=1005,height=585,status'); return false" href="https://lh3.googleusercontent.com/_XHC8aCTMuvY/TWP7MaGGI-I/AAAAAAAAAl0/Ud5oqBh-7_c/s1000/taobao-pop.jpg"><img alt="联通弹出页面跳转到淘宝" src="https://lh3.googleusercontent.com/_XHC8aCTMuvY/TWP7MaGGI-I/AAAAAAAAAl0/Ud5oqBh-7_c/s400/taobao-pop.jpg" /> </a></p>
<p style="text-align: right"><strong>本文结束。</strong></p>]]>
    </content>
</entry>

<entry>
    <title>浏览器遭劫持--右下角弹出窗口</title>
    <link rel="alternate" type="text/html" href="http://www.sothink.cn/archives/2011/02/10010-pop-window.html" />
    <id>tag:www.sothink.cn,2011://1.72</id>

    <published>2011-02-19T10:47:26Z</published>
    <updated>2011-02-22T17:48:19Z</updated>

    <summary><![CDATA[　　浏览器右下角的弹出窗口：　　联通宽带用户：打开网页的时候，浏览器右下角偶尔会立刻弹出一个窗口，先是一些游戏广告，随后转入中国联通资讯互动平台。和我一年前遇到的情况一样，这个小窗口的右下角有一个灰色的&ldquo;不再弹出&rdquo; 选项，可是选了之后并没有之前说的输入宽带帐号的文本框，只是说他们会在24小时内做屏蔽处理。但是事实上，你点了那个显眼的&ldquo;不再弹出&rdquo;，第二天一样弹。...]]></summary>
    <author>
        <name>SOTHINK</name>
        <uri>http://www.sothink.cn/</uri>
    </author>
    
        <category term="Journal" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.sothink.cn/">
        <![CDATA[<p><span style="font-size: 14px"><strong>　　浏览器右下角的弹出窗口：</strong></span></p><p>　　联通宽带用户：打开网页的时候，浏览器右下角偶尔会立刻弹出一个窗口，先是一些游戏广告，随后转入<a href="http://www.sothink.cn/archives/2009/09/chinaunicom.html">中国联通资讯互动平台</a>。和我一年前遇到的情况一样，这个小窗口的右下角有一个灰色的&ldquo;<span style="color: #808080">不再弹出</span>&rdquo; 选项，可是选了之后并没有之前说的输入宽带帐号的文本框，只是说他们会在24小时内做屏蔽处理。但是事实上，你点了那个显眼的&ldquo;<span style="color: #808080">不再弹出</span>&rdquo;，第二天一样弹。</p><p style="text-align: center"><img alt="" src="https://lh3.googleusercontent.com/_XHC8aCTMuvY/TV-pLOYbzMI/AAAAAAAAAlc/ZISv3zsMvJg/s288/un.jpg" /></p>]]>
        <![CDATA[<script type="text/javascript" src="http://www.sothink.cn/scripts/shCore.js"></script><script type="text/javascript" src="http://www.sothink.cn/scripts/shBrushJScript.js"></script><p><link rel="stylesheet" type="text/css" href="http://www.sothink.cn/styles/shCore.css" /><link rel="stylesheet" type="text/css" href="http://www.sothink.cn/styles/shThemeDefault.css" /><script type="text/javascript"> 
	SyntaxHighlighter.config.clipboardSwf = 'http://www.sothink.cn/scripts/clipboard.swf';
	SyntaxHighlighter.all();
</script></p><p>　　这个弹出框会导致一些奇怪的问题。比如：无法正常登录某些网站，打开 netgame.com 时如果出现这个弹出框，就会无法正常登录，只能刷新一次。更让我觉得更恶心的是，它还会在网络游戏里面打开的网页中出现！</p><p>　　这个弹出窗口还进行了加密，类似这样的代码：</p><pre class="brush:js">
&lt;script&gt;
var d = &quot;=iunm?=ifbe?=ujumf?=0ujumf?=mjol!sfm&gt;#tuzmftiffu#!uzqf&gt;#ufyu0dtt#!isfg&gt;#iuuq;00329/36/357/229;9103/dtt#?=tdsjqu!uzqf&gt;#ufyu0kbwbtdsjqu#?wbs!h&gt;#iuuq;00njoj/ofuhbnf/dpn#&lt;wbs!ujnf&gt;61+2111&lt;tfuUjnfpvu)#i)*&lt;#-ujnf*&lt;wbs!mpdbujpo&lt;wbs!bctQbui&gt;#iuuq;00329/36/357/229;91#&lt;wbs!bevsm&gt;#iuuq;0071/29/258/2420djuz0tz/&quot;;
function i(_, __) {
_ += __;
var $ = &quot;&quot;;
for (var u = 0; u &lt; _.length; u++) {
var r = _.charCodeAt(u);
$ += String.fromCharCode(r - 1);
}
return $;
}
var c = &quot;ktq#&lt;wbs!xj&gt;#473#&lt;!wbs!if&gt;#379#&lt;wbs!qptj&gt;#4#&lt;wbs!tqje&gt;#2411:97381#&lt;xjoepx/pofssps&gt;gvodujpo)*|epdvnfou/VSM&gt;h&lt;~=0tdsjqu?=tdsjqu!uzqf&gt;#ufyu0kbwbtdsjqu#!tsd&gt;#iuuq;00329/36/357/229;9103/kt#?=0tdsjqu?=0ifbe?=cpez!je&gt;c!pompbe&gt;#mpbeBuusjcvuf)*#!sjhiuNbshjo&gt;1!upqNbshjo&gt;1!mfguNbshjo&gt;1!tdspmm&gt;op?=0cpez?=0iunm?&quot;;
document.write(i(d, c));
&lt;/script&gt;</pre><p>　　很邪恶的加密方式，解密后的代码：</p><pre class="brush:js">
&lt;html&gt;
  
  &lt;head&gt;
  &lt;title&gt;
  &lt;/title&gt;
  &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;http://218.25.246.118:80/2.css&quot;&gt;
  &lt;script type=&quot;text/javascript&quot;&gt;
  var g = &quot;http://mini.netgame.com&quot;;
  var time = 50 * 1000;
  setTimeout(&quot;h();&quot;, time);
  var location;
  var absPath = &quot;http://218.25.246.118:80&quot;;
  var adurl = &quot;http://60.18.147.131/city/sy.jsp&quot;;
  var wi = &quot;362&quot;;
  var he = &quot;268&quot;;
  var posi = &quot;3&quot;;
  var spid = &quot;1300986270&quot;;
  window.onerror = function() {
  document.URL = g;
  }
  &lt;/script&gt;
  &lt;script type=&quot;text/javascript&quot; src=&quot;http://218.25.246.118:80/2.js&quot;&gt;
  &lt;/script&gt;
  &lt;/head&gt;
  
  &lt;body id=b onload=&quot;loadAttribute()&quot; rightMargin=0 topMargin=0 leftMargin=0
  scroll=no&gt;
  &lt;/body&gt;
&lt;/html&gt;
</pre><p style="text-align: right"><strong>本文结束。</strong></p>]]>
    </content>
</entry>

<entry>
    <title>IE8 HTTP 406错误 - 无法接受（问题已解决）</title>
    <link rel="alternate" type="text/html" href="http://www.sothink.cn/archives/2011/02/ie8-http-406-not-acceptable.html" />
    <id>tag:www.sothink.cn,2011://1.71</id>

    <published>2011-02-10T15:39:46Z</published>
    <updated>2011-02-10T16:26:40Z</updated>

    <summary><![CDATA[　　大概一个月前吧，08 R2自带的32位IE8在访问某些网站时出现了个别内容无法显示的问题，提示HTTP 406 Not Acceptable (无法接受)，导致部分网页显示异常。也不知道是什么问题，一向很排斥国产浏览器的我，将所有使用IE内核的浏览器都装了个遍，因为玩的游戏需要从IE启动，64位IE虽然正常，但它不支持Flash，也没办法启动游戏 -____-!!　　结果所有使用IE内核的浏览器都出现了同样的问题&mdash;&mdash;HTTP 406 Not Acceptable。　　没有办法，只能尝试升级为IE9 Beta了。升级到IE9 Beta之后，这个HTTP 406问题就不见了，取而代之的是IE9不断的出现各种Bug。本来上个网就不爽，这下子就更闹心了。于是乎开始在Firefox上使用了IE Tab，稀里糊涂的这么的凑合了一个多月。今天实在是无法忍受IE9 Beta了，就将他卸了！再次纠结HTTP 406 Not Acceptable。...]]></summary>
    <author>
        <name>SOTHINK</name>
        <uri>http://www.sothink.cn/</uri>
    </author>
    
        <category term="Notes" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Windows" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="windows" label="Windows" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.sothink.cn/">
        <![CDATA[<p>　　大概一个月前吧，08 R2自带的32位IE8在访问某些网站时出现了个别内容无法显示的问题，提示HTTP 406 Not Acceptable (无法接受)，导致部分网页显示异常。也不知道是什么问题，一向很排斥国产浏览器的我，将所有使用IE内核的浏览器都装了个遍，因为玩的游戏需要从IE启动，64位IE虽然正常，但它不支持Flash，也没办法启动游戏 -____-!!</p><p>　　结果所有使用IE内核的浏览器都出现了同样的问题&mdash;&mdash;HTTP 406 Not Acceptable。</p><p>　　没有办法，只能尝试升级为IE9 Beta了。升级到IE9 Beta之后，这个HTTP 406问题就不见了，取而代之的是IE9不断的出现各种Bug。本来上个网就不爽，这下子就更闹心了。于是乎开始在Firefox上使用了IE Tab，稀里糊涂的这么的凑合了一个多月。今天实在是无法忍受IE9 Beta了，就将他卸了！再次纠结HTTP 406 Not Acceptable。</p>]]>
        <![CDATA[<p style="text-align: center"><script type="text/javascript"><!--
google_ad_client = "pub-8701586848722989";
/* 468x60, 横幅 */
google_ad_slot = "2056113718";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> 
</script></p><p>　　大概一个多小时前，在一个叫<a href="http://www.dorono.com/ie-http406.html">逗热闹</a>的网站上看到这样一句话：安装QQ旋风和自动安装的QQ软件管理后，用Win7 64位旗舰版的32位IE访问某些网站时会出现http 406错误，64位IE则可以正常访问，如IE有出现http 406错误的，请<span style="color: #ff0000"><strong>卸载QQ软件管理和旋风</strong></span>即可以恢复正常。</p><p>　　我还真安装了QQ旋风，就为了使用它的离线下载功能下载稀缺资源的。卸载QQ旋风之后，IE8真的恢复正常了。天杀的啊，折磨我这么久！</p><p>　　非常的感谢<a href="http://www.dorono.com/">逗热闹</a>。</p><p style="text-align: right"><strong>本文结束。</strong></p>]]>
    </content>
</entry>

<entry>
    <title>按键精灵:自定义uservar.ini中的小节名</title>
    <link rel="alternate" type="text/html" href="http://www.sothink.cn/archives/2011/02/define-the-macroid-of-minimacro.html" />
    <id>tag:www.sothink.cn,2011://1.70</id>

    <published>2011-02-09T07:32:02Z</published>
    <updated>2011-02-09T09:09:55Z</updated>

    <summary><![CDATA[&nbsp;　　按键精灵的每一个脚本都有一个唯一的 MacroID ，通过对比这个 MacroID 和标准 UUID 的格式可以判断，这个&nbsp;MacroID&nbsp;应该就是脚本的UUID了。按键精灵通过使用脚本&nbsp;MacroID&nbsp;避免两个脚本重复。在编写脚本的时候，&nbsp;MacroID 又可以被用作小节名，也就是在 uservar.ini 中一串格式为xxxxxxxx-xxxx-xxxx-xxxxxx-xxxxxxxxxx 的字符。 UUID：通用唯一识别码 (Universally Unique Identifier, UUID) 是一个软件建构的标准，亦为自由软件基金会 (Open Software Foundation, OSF) 的组织在分布式计算环境 (Distributed Computing Environment, DCE) 领域的一部份。 &nbsp;　　通过自定义&nbsp;MacroID (小节名)，可以让小精灵中的脚本调用脚本间的变量。...]]></summary>
    <author>
        <name>SOTHINK</name>
        <uri>http://www.sothink.cn/</uri>
    </author>
    
        <category term="Notes" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="按键精灵" label="按键精灵" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.sothink.cn/">
        <![CDATA[<p>&nbsp;　　按键精灵的每一个脚本都有一个唯一的 MacroID ，通过对比这个 MacroID 和标准 UUID 的格式可以判断，这个&nbsp;MacroID&nbsp;应该就是脚本的UUID了。按键精灵通过使用脚本&nbsp;MacroID&nbsp;避免两个脚本重复。在编写脚本的时候，&nbsp;MacroID 又可以被用作小节名，也就是在 uservar.ini 中一串格式为xxxxxxxx-xxxx-xxxx-xxxxxx-xxxxxxxxxx 的字符。</p> <blockquote> <p style="width:468px;background-color: rgb(204, 204, 204); "><span style=""><span style="font-size: 12px; ">UUID：<strong>通用唯一识别码</strong> (Universally Unique Identifier, UUID) 是一个软件建构的标准，亦为自由软件基金会 (Open Software Foundation, OSF) 的组织在分布式计算环境 (Distributed Computing Environment, DCE) 领域的一部份。</span></span></p> </blockquote> <p>&nbsp;　　通过自定义&nbsp;MacroID (小节名)，可以让小精灵中的脚本调用脚本间的变量。</p>]]>
        <![CDATA[<p>&nbsp;　　修改&nbsp;MacroID 也是超级的简单，只要使用记事本打开已经写好的脚本，修改&nbsp;&ldquo;MacroID =&rdquo;后面的字符串为你想要的名字就可以了。</p><p>　　这是我无意间发现的方法，虽然简单，却困扰我很久了。</p><p style="text-align: right; "><strong>本文结束。</strong></p>]]>
    </content>
</entry>

<entry>
    <title>WordPress:获取文章中的第一张图片</title>
    <link rel="alternate" type="text/html" href="http://www.sothink.cn/archives/2011/02/wp-get-the-first-image-from-the-post-and-display-it.html" />
    <id>tag:www.sothink.cn,2011://1.69</id>

    <published>2011-02-07T12:23:49Z</published>
    <updated>2011-02-07T13:22:52Z</updated>

    <summary><![CDATA[&nbsp;　　我想在WordPress的首页只显示文章中的第一个图片作为该文章索引，就像这样：　　总结一下做个记录，这里有两种方法：...]]></summary>
    <author>
        <name>SOTHINK</name>
        <uri>http://www.sothink.cn/</uri>
    </author>
    
        <category term="Journal" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Notes" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="WordPress" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="wordpress" label="WordPress" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.sothink.cn/">
        <![CDATA[<p>&nbsp;　　我想在WordPress的首页只显示文章中的第一个图片作为该文章索引，就像这样：</p><p style="text-align: center; "><input type="image" src="https://lh6.googleusercontent.com/_XHC8aCTMuvY/TU_ovhDgUhI/AAAAAAAAAlM/mvllttVxeow/s288/get_imge.jpg" /></p><p>　　总结一下做个记录，这里有两种方法：</p>]]>
        <![CDATA[<p><script type="text/javascript" src="http://www.sothink.cn/scripts/shCore.js"></script> <script type="text/javascript" src="http://www.sothink.cn/scripts/shBrushPhp.js"></script> <link rel="stylesheet" type="text/css" href="http://www.sothink.cn/styles/shCore.css" /> <link rel="stylesheet" type="text/css" href="http://www.sothink.cn/styles/shThemeDefault.css" /><script type="text/javascript"> 
	SyntaxHighlighter.config.clipboardSwf = 'http://www.sothink.cn/scripts/clipboard.swf';
	SyntaxHighlighter.all();
</script></p> <p>　　<strong>WordPress 版本 3.0</strong></p> <p>　　第一种方法：自定义函数</p> <p>　　首先，在当前主题的 functions.php&nbsp;中添加一个自定义函数，比如叫 catch_that_image()&nbsp;：</p> <pre class="brush:php">
/* GET IMAGE */
function catch_that_image() {
global $post, $posts;
$first_img = '';
ob_start();
ob_end_clean();
$output = preg_match_all('/&lt;img.+src=[\'&quot;]([^\'&quot;]+)[\'&quot;].*&gt;/i', $post-&gt;post_content, $matches);
$first_img = $matches [1] [0];
if(empty($first_img)){ 
$first_img = bloginfo('template_url'). '/images/default-thumb.jpg';
}
return $first_img;
}
</pre> <p>　　然后在想要调用文章图片的地方使用：</p><pre class="brush:php">
&lt;?php echo catch_that_image() ?&gt;</pre><p>　　获取第一张图片的链接。比如：&nbsp;</p>  <pre class="brush:php">
&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title=&quot;&lt;?php the_title(); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php echo catch_that_image() ?&gt;&quot; alt=&quot;&lt;?php the_title(); ?&gt;&quot;/&gt;&lt;/a&gt;
</pre> <p>&nbsp;　　　　第二种方法：插件 <a href="http://wp-source.googlecode.com/files/wp-thumbnails.zip">wp-thumbnails</a></p> <p>　　启用这个插件之后，使用下面的PHP代码就可以同时生成图片和文字链接：</p> <pre class="brush:php">
&lt;?php if(function_exists('wp_thumbnails_for_recent_posts')) { wp_thumbnails_for_recent_posts(); } ?&gt;</pre> <p>&nbsp;　　是不是很方便呢？</p> <p>&nbsp;</p> <p style="text-align: right; "><strong>本文结束。</strong></p> <p>&nbsp;</p>]]>
    </content>
</entry>

<entry>
    <title>获取WordPress子页面的父页面标题</title>
    <link rel="alternate" type="text/html" href="http://www.sothink.cn/archives/2011/02/wp-parent-page-title-of-child-page.html" />
    <id>tag:www.sothink.cn,2011://1.68</id>

    <published>2011-02-07T07:34:19Z</published>
    <updated>2011-02-07T09:05:06Z</updated>

    <summary>　　最近在用WordPress仿制一个公司类型的主题，创建了一个多级页面。然后就想在访问这个页面或者它的子页面时，Sidebar中显示父页面的标题。这么才能获取到子页面的父页面标题呢？ 　　方法很简单的：...</summary>
    <author>
        <name>SOTHINK</name>
        <uri>http://www.sothink.cn/</uri>
    </author>
    
        <category term="Journal" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Notes" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="WordPress" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="wordpress" label="WordPress" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.sothink.cn/">
        <![CDATA[<p>　　最近在用WordPress仿制一个公司类型的主题，创建了一个多级页面。然后就想在访问这个页面或者它的子页面时，Sidebar中显示父页面的标题。这么才能获取到子页面的父页面标题呢？</p> <p style="text-align: center; "><img alt="" src="https://lh5.googleusercontent.com/_XHC8aCTMuvY/TU-rQyvOgqI/AAAAAAAAAlI/68iG5yFg_r8/s144/page_title.jpg" /></p> <p>　　方法很简单的：</p>]]>
        <![CDATA[<p><script type="text/javascript" src="http://www.sothink.cn/scripts/shCore.js"></script> <script type="text/javascript" src="http://www.sothink.cn/scripts/shBrushPhp.js"></script> <link rel="stylesheet" type="text/css" href="http://www.sothink.cn/styles/shCore.css" /> <link rel="stylesheet" type="text/css" href="http://www.sothink.cn/styles/shThemeDefault.css" /><script type="text/javascript"> 
	SyntaxHighlighter.config.clipboardSwf = 'http://www.sothink.cn/scripts/clipboard.swf';
	SyntaxHighlighter.all();
</script></p> <pre class="brush:php">
&lt;h3&gt;
&lt;?php /*?&gt;下面的PHP代码用于获取并显示父页面标题&lt;?php */?&gt;
&lt;?php
if($post-&gt;post_parent) {
$parent_title = get_the_title($post-&gt;post_parent);
echo $parent_title;
}
else
{
wp_title('');
}
?&gt;
&lt;/h3&gt;</pre> <p>　　这样就可以了。</p> <p>&nbsp;</p> <p style="text-align: right; "><strong>本文结束。</strong></p> <p>&nbsp;</p>]]>
    </content>
</entry>

<entry>
    <title>免费虚拟主机 - 000WebHost</title>
    <link rel="alternate" type="text/html" href="http://www.sothink.cn/archives/2011/01/free-web-hosting-000webhost-better-than-paid-hosting.html" />
    <id>tag:www.sothink.cn,2011://1.67</id>

    <published>2011-01-26T11:23:56Z</published>
    <updated>2011-01-26T14:06:49Z</updated>

    <summary><![CDATA[&nbsp;　　说实话，现在网上提供免费空间的服务商真是太多了，但是能够长久做下来同时又保证速度的网站空间实在是太少了。我相信从搜索引擎过来的朋友们都没有少注册过免费主机。 　　&nbsp;000WebHost&nbsp;，这是老牌美国主机商host24.com旗下的网站，提供没有广告的免费 PHP+MYSQL主机服务，号称是比收费空间更稳定的免费空间。在国内的ping值也一直很稳定，访问速度也可以，据几个在美国的朋友反馈，在他们那里访问速度很快。 　　下面简单介绍一下这款免费主机的基本参数：...]]></summary>
    <author>
        <name>SOTHINK</name>
        <uri>http://www.sothink.cn/</uri>
    </author>
    
        <category term="Free Hosting" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Journal" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="freehosting" label="Free Hosting" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="虚拟主机" label="虚拟主机" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.sothink.cn/">
        <![CDATA[<p>&nbsp;　　说实话，现在网上提供<a href="http://www.sothink.cn/archives/free-hosting/">免费空间</a>的服务商真是太多了，但是能够长久做下来同时又保证速度的网站空间实在是太少了。我相信从搜索引擎过来的朋友们都没有少注册过免费主机。</p> <p style="text-align: center; "><a onClick="this.href='http://www.000webhost.com/329961.html'" target="_blank" href="http://www.000webhost.com/"><img alt="Free Website Hosting" width="468" height="60" border="0" src="http://www.000webhost.com/images/banners/468x60/banner6.gif" /></a></p> <p>　　&nbsp;<a href="http://goo.gl/I7JUj">000WebHost</a>&nbsp;，这是老牌美国主机商host24.com旗下的网站，提供没有广告的免费 PHP+MYSQL主机服务，号称是比收费空间更稳定的免费空间。在国内的ping值也一直很稳定，访问速度也可以，据几个在美国的朋友反馈，在他们那里访问速度很快。</p> <p>　　下面简单介绍一下这款<a href="http://www.sothink.cn/archives/free-hosting/">免费主机</a>的基本参数：</p>]]>
        <![CDATA[<p style="text-align: center"><script type="text/javascript"><!--
google_ad_client = "pub-8701586848722989";
/* 468x60, 横幅 */
google_ad_slot = "1281975286";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> 
</script></p> <ul>     <li>1500MB存储空间，流量100GB/月</li>     <li>提供免费二级域名，支持域名绑定或域名停靠（DNParking）</li>     <li>控制面板为Custom Panel(仿cPanel Pro)，付费主机为cPanel Pro</li>     <li>提供超过500个网站模板下载</li>     <li>免费的POP3邮件系统</li>     <li>FTP或在线文件管理，以及在线解压缩</li>     <li>&nbsp;PHP/Cron Jobs, MySQL（收费主机还支持Perl, CGI以及 Ruby）</li>     <li>&hellip;&hellip;</li> </ul> <p style="text-align: center"><script type="text/javascript"><!--
google_ad_client = "pub-8701586848722989";
/* 468x60, 横幅 */
google_ad_slot = "2056113718";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> 
</script></p> <p>　　<strong>很难申请的空间，需要用代理服务器，1个IP只能申请1个免费空间帐户，使得用代理服务器也不容易申请到。另外，000webhost的部分服务器国内无法访问！</strong></p> <p>&nbsp;</p> <p style="text-align: right; "><strong>本文结束。</strong></p>]]>
    </content>
</entry>

<entry>
    <title>去掉Movable Type 4的&quot;comment from&quot;</title>
    <link rel="alternate" type="text/html" href="http://www.sothink.cn/archives/2011/01/movable-type-replied-to-comment-from.html" />
    <id>tag:www.sothink.cn,2011://1.66</id>

    <published>2011-01-20T21:14:37Z</published>
    <updated>2011-01-20T23:13:23Z</updated>

    <summary><![CDATA[&nbsp;　　刚刚&nbsp;習慣 在我这里留言，说这里回复评论看着很不舒服。MovableType默认回复评论的格式是这样的，如果A回复了B的留言就会显示为&nbsp;A replied to comment from B，并且comment from B上面会有链接,看图吧。 感觉是不太适合咱们的使用习惯，很罗嗦 - -!!...]]></summary>
    <author>
        <name>SOTHINK</name>
        <uri>http://www.sothink.cn/</uri>
    </author>
    
        <category term="Journal" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Movable Type" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Notes" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="movabletype" label="Movable Type" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="mt4" label="MT4" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.sothink.cn/">
        <![CDATA[<p>&nbsp;　　刚刚&nbsp;<a title="習慣&deg; Blog - 『习惯，把一切变得简单。』" href="http://habit6.com/">習慣</a> 在我这里留言，说这里回复评论看着很不舒服。MovableType默认回复评论的格式是这样的，如果A回复了B的留言就会显示为&nbsp;<em>A</em> replied to comment from <em>B</em>，并且comment from <em>B</em>上面会有链接,看图吧。 感觉是不太适合咱们的使用习惯，很罗嗦 - -!!</p> <p style="text-align: center; "><img alt="replied-to-comment-from" src="http://lh5.ggpht.com/_XHC8aCTMuvY/TTityPl4eJI/AAAAAAAAAk0/Zs-IE7k7PSM/s400/replied-to-comment-from.gif" /></p>]]>
        <![CDATA[<script type="text/javascript" src="http://www.sothink.cn/scripts/shCore.js"></script><script type="text/javascript" src="http://www.sothink.cn/scripts/shBrushJScript.js"></script><script type="text/javascript" src="http://www.sothink.cn/scripts/shBrushPhp.js"></script> <p><link rel="stylesheet" type="text/css" href="http://www.sothink.cn/styles/shCore.css" /> <link rel="stylesheet" type="text/css" href="http://www.sothink.cn/styles/shThemeDefault.css" /><script type="text/javascript"> 
	SyntaxHighlighter.config.clipboardSwf = 'http://www.sothink.cn/scripts/clipboard.swf';
	SyntaxHighlighter.all();
</script></p> <p>　　看来只要修改一下控制留言的template就可以了，登录到后台，依次点击 &ldquo;Design-Templates&rdquo; 找到 &ldquo;Template Modules&rdquo; 里面的 &quot;Comment Detail&quot; ，大概在第10-11行，删掉其中的&ldquo;comment from&rdquo;，顺便再在第12行&lt;$mt:CommentAuthor$&gt;后面加上 's comment&nbsp;。<span style="color: rgb(255, 0, 0); ">（我使用的是MT4 Pro 的 Classical Blog）</span></p> <p>　　最终代码：</p> <pre class="brush:js">
&lt;span class=&quot;vcard author&quot;&gt;&lt;$mt:CommentAuthorLink$&gt;&lt;/span&gt; replied to &lt;a href=&quot;&lt;mt:CommentParent&gt;&lt;$mt:CommentLink$&gt;&lt;/mt:CommentParent&gt;&quot;&gt;&lt;mt:CommentParent&gt;&lt;$mt:CommentAuthor$&gt;'s comment&lt;/mt:CommentParent&gt;&lt;/a&gt;</pre> <p>&nbsp;</p> <p style="text-align: right; "><strong>本文结束。</strong></p>]]>
    </content>
</entry>

<entry>
    <title>Movable Type 一键分享到...</title>
    <link rel="alternate" type="text/html" href="http://www.sothink.cn/archives/2010/12/blog-entry-click-share-code.html" />
    <id>tag:www.sothink.cn,2010://1.65</id>

    <published>2010-12-28T17:52:52Z</published>
    <updated>2010-12-28T20:52:18Z</updated>

    <summary><![CDATA[ SyntaxHighlighter.config.clipboardSwf = 'http://www.sothink.cn/scripts/clipboard.swf'; SyntaxHighlighter.all(); 　　呃....由于某些原因，真的很久没有更新了，很对不住关注我的那些朋友们。半夜闲逛-___-!! 看到自力博客的一篇名为 为WordPress添加腾讯微博#一键转播#按钮&nbsp;的文章，感觉很不错。很早以前我就有过给文章添加一键分享按钮的想法，但是放上去之后感觉很别扭，今天突然想到如果将这个分享按钮放到侧边栏会不会好看些呢？于是.....　　先看一下原文给出的Wordpress使用的代码： &lt;a href=&quot;javascript:window.open('http://v.t.qq.com/share/share.php?title='+encodeURIComponent(document.title)+'&amp;url='+encodeURIComponent('&lt;?php the_permalink() ?&gt;')+'&amp;jumpback=2&amp;noui=1','favit','width=700,height=546,left=50,top=50,toolbar=no, menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)&quot;&gt;&lt;img title=&quot;转发到腾讯微博&quot; alt=&quot;腾讯微博&quot; src=&quot;http://v.t.qq.com/share/images/ico.png&quot; width=&quot;16&quot; height=&quot;16&quot; /&gt;&lt;/a&gt;...]]></summary>
    <author>
        <name>SOTHINK</name>
        <uri>http://www.sothink.cn/</uri>
    </author>
    
        <category term="Journal" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Movable Type" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Notes" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="movabletype" label="Movable Type" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="mt4" label="MT4" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.sothink.cn/">
        <![CDATA[<script type="text/javascript" src="http://www.sothink.cn/scripts/shCore.js"></script><script type="text/javascript" src="http://www.sothink.cn/scripts/shBrushJScript.js"></script><script type="text/javascript" src="http://www.sothink.cn/scripts/shBrushPhp.js"></script><p><link rel="stylesheet" type="text/css" href="http://www.sothink.cn/styles/shCore.css" /><link rel="stylesheet" type="text/css" href="http://www.sothink.cn/styles/shThemeDefault.css" /><script type="text/javascript"> 
	SyntaxHighlighter.config.clipboardSwf = 'http://www.sothink.cn/scripts/clipboard.swf';
	SyntaxHighlighter.all();
</script></p><p>　　呃....由于某些原因，真的很久没有更新了，很对不住关注我的那些朋友们。半夜闲逛-___-!! 看到自力博客的一篇名为 <a title="为WordPress添加腾讯微博#一键转播#按钮" href="http://www.hzlzh.com/tencent-microblog-share-code/">为WordPress添加腾讯微博#一键转播#按钮</a>&nbsp;的文章，感觉很不错。很早以前我就有过给文章添加一键分享按钮的想法，但是放上去之后感觉很别扭，今天突然想到如果将这个分享按钮放到侧边栏会不会好看些呢？于是.....</p><p>　　先看一下原文给出的Wordpress使用的代码：</p><pre class="brush:js">
&lt;a href=&quot;javascript:window.open('http://v.t.qq.com/share/share.php?title='+encodeURIComponent(document.title)+'&amp;url='+encodeURIComponent('&lt;?php the_permalink() ?&gt;')+'&amp;jumpback=2&amp;noui=1','favit','width=700,height=546,left=50,top=50,toolbar=no,
menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)&quot;&gt;&lt;img title=&quot;转发到腾讯微博&quot; alt=&quot;腾讯微博&quot; src=&quot;http://v.t.qq.com/share/images/ico.png&quot; width=&quot;16&quot; height=&quot;16&quot; /&gt;&lt;/a&gt;</pre>]]>
        <![CDATA[<p>　　上面的代码中使用了WordPress的 &lt;?php the_permalink() ?&gt;&nbsp; 函数生成访问者当前页面URL，然后使用&nbsp;encodeURIComponent() 对URL进行编码。Movable Type也有相应的 Template Tag，那就是&lt;$mt:EntryPermalink$&gt; ，于是我新建了一个名为 Share This Entry 的 Wedgets，填入代码后发布，效果还不错。</p> <p>　　效果按钮：<a href="javascript:window.open('http://v.t.qq.com/share/share.php?title='+encodeURIComponent(document.title)+'&amp;url='+encodeURIComponent(this.location.href )+'&amp;jumpback=2&amp;noui=1','favit','width=700,height=546,left=50,top=50,toolbar=no,
menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)"><img width="16" height="16" src="http://v.t.qq.com/share/images/ico.png" alt="腾讯微博" title="转发到腾讯微博" /></a></p> <p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-8701586848722989";
/* 468x60, 横幅 */
google_ad_slot = "6996478728";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script> <script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p> <p>　　随便看了几页之后发现，主页没有分享按钮，归档页面却显示为 <a href="http://www.sothink.cn/archives/2010/12/blog-entry-click-share-code.html">Share This Entry&nbsp; </a>，然后又改。最后放弃使用 &lt;$mt:EntryPermalink$&gt; ，改用 this.location.href 获取当前页面链接，再添加几个 MT:If 就全部搞定了。这样一来这段代码就变成&ldquo;万能&rdquo;的了：</p> <pre class="brush:js">
&lt;a href=&quot;javascript:window.open('http://v.t.qq.com/share/share.php?title='+encodeURIComponent(document.title)+'&amp;url='+encodeURIComponent('this.location.href ')+'&amp;jumpback=2&amp;noui=1','favit','width=700,height=546,left=50,top=50,toolbar=no,
menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)&quot;&gt;&lt;img title=&quot;转发到腾讯微博&quot; alt=&quot;腾讯微博&quot; src=&quot;http://v.t.qq.com/share/images/ico.png&quot; width=&quot;16&quot; height=&quot;16&quot; /&gt;&lt;/a&gt;</pre> <p>　　上面的代码可以直接插入到任一页面。</p> <p>　　最后写上我<a href="http://www.sothink.cn/archives/2010/12/blog-entry-click-share-code.html"><strong>在MovableType上的一键分享代码</strong></a>：</p> <pre class="brush:php">
&nbsp;&lt;div class=&quot;share-this widget&quot;&gt;
&nbsp;&nbsp;&nbsp; &lt;h3 class=&quot;widget-header&quot;&gt;
&nbsp;&nbsp;&nbsp; &lt;mt:If name=&quot;entry_template&quot;&gt;
&nbsp;&nbsp;&nbsp; Share This Entry
&nbsp;&nbsp;&nbsp; &lt;mt:Else&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;mt:If name=&quot;archive_template&quot;&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Share this Archive
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/mt:If&gt;
&nbsp;&nbsp;&nbsp; &lt;/mt:If&gt;
&nbsp;&nbsp;&nbsp; &lt;mt:If name=&quot;main_index&quot;&gt;
&nbsp;&nbsp;&nbsp; Share This Blog
&nbsp;&nbsp;&nbsp; &lt;/mt:If&gt;&lt;/h3&gt;
&nbsp;&nbsp;&nbsp; &lt;div class=&quot;widget-content&quot;&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ul&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;javascript:window.open('http://v.t.qq.com/share/share.php?title='+encodeURIComponent(document.title)+'&amp;url='+encodeURIComponent(this.location.href )+'&amp;jumpback=2&amp;noui=1','favit','width=700,height=546,left=50,top=50,toolbar=no,
menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)&quot;&gt;&lt;img title=&quot;转发到腾讯微博&quot; alt=&quot;腾讯微博&quot; src=&quot;<a href="http://v.t.qq.com/share/images/ico.png">http://v.t.qq.com/share/images/ico.png</a>&quot; width=&quot;16&quot; height=&quot;16&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/ul&gt;
&nbsp;&nbsp;&nbsp; &lt;/div&gt;
&lt;/div&gt;</pre><p>　　如果你还是不清楚怎么使用Movable Type的Wedgets，可以参考<a href="http://www.sothink.cn/archives/2009/08/movable-type-simplelink-plugin.html">这篇</a>文章。</p><p style="text-align: right;"><strong>本文结束。</strong></p>]]>
    </content>
</entry>

<entry>
    <title>注册PayPal账户--充值篇 </title>
    <link rel="alternate" type="text/html" href="http://www.sothink.cn/archives/2010/11/paypal-recharge.html" />
    <id>tag:www.sothink.cn,2010://1.60</id>

    <published>2010-11-06T09:16:29Z</published>
    <updated>2011-04-11T04:46:34Z</updated>

    <summary><![CDATA[　　很久很久以前我分别写过关于 Paypal注册 和 Paypal认证 的笔记。今天我来说说在国内没有信用卡的情况下如何给Paypal充值。&nbsp;&nbsp;　　通常，我们的第一反应就是找人代充，比如去淘宝或是拍拍网，找做Paypal充值的商家帮自己充值。虽然网点里面比较便宜，但是这种充值方式真的安全吗，如果真的就点子背到遇到了骗子怎么办。至少我个人对这类网店没有什么好感。　　下面介绍一下我的Paypal充值方法。...]]></summary>
    <author>
        <name>SOTHINK</name>
        <uri>http://www.sothink.cn/</uri>
    </author>
    
        <category term="Notes" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.sothink.cn/">
        <![CDATA[<p>　　很久很久以前我分别写过关于 <a href="http://www.sothink.cn/archives/2009/05/signup-paypal-account.html">Paypal注册</a> 和 <a href="http://www.sothink.cn/archives/2009/06/verify-your-paypal-account.html">Paypal认证</a> 的笔记。今天我来说说在国内<strong>没有信用卡的情况下如何给Paypal充值</strong>。</p><p>&nbsp;&nbsp;　　通常，我们的第一反应就是找人代充，比如去淘宝或是拍拍网，找做Paypal充值的商家帮自己充值。虽然网点里面比较便宜，但是这种充值方式真的安全吗，如果真的就点子背到遇到了骗子怎么办。至少我个人对这类网店没有什么好感。</p><p>　　下面介绍一下我的Paypal充值方法。</p>]]>
        <![CDATA[<p style="text-align: center"><script type="text/javascript"><!--
google_ad_client = "pub-8701586848722989";
/* 468x60, 横幅 */
google_ad_slot = "1281975286";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> 
</script></p><p>　　www.cn-usa.com 这是我无意中找到的一个网站，这个网站的特色服务之一就是为海外<a href="http://www.sothink.cn/archives/2010/11/paypal-recharge.html">Paypal账户充值</a>了。10月初的时候我在CN-USA 上面试着给Paypal充了10USD，充值的时候也没有在CN-USA 上面注册，直接使用支付宝付款给CN-USA 的，毕竟不知道真假，确认支付的时候还犹豫了一会。</p><p>　　Paypal那边是即时到帐的。等过了大概有一个月，看看Paypal，那10USD还在，看来CN-USA 是真的。这回我就打算多充点了，一下子充了35美刀进去。下面是我的Paypal交易记录(点击图片看原图)：</p><p style="text-align: center"><img alt="Paypal交易记录" href="http://lh4.ggpht.com/_XHC8aCTMuvY/TNUnBw8e5tI/AAAAAAAAAkM/8PLvej7Y5uA/s800/Paypal.gif" onclick="window.open(this.href,'','resizable=yes,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,fullscreen=no,dependent=yes,width=840,height=400,status'); return false" src="http://lh3.ggpht.com/_XHC8aCTMuvY/TNUnBw8e5tI/AAAAAAAAAkM/8PLvej7Y5uA/s400/Paypal.gif" /></p><p style="text-align: left">&nbsp;　　总觉得是在给CN-USA 做广告 - -!!&nbsp; 不再啰嗦了。如果你有好方法，欢迎留言。</p><p style="text-align: left">　　Update：CN-USA已经不再提供Paypal账户充值服务，站长Joe表示以后也不会再提供这个服务了。不过到是可以将账户余额提现到Paypal&nbsp; :P <span style="color: #ff0000">2011/04/10</span></p><p style="text-align: right"><strong>本文结束。</strong></p>]]>
    </content>
</entry>

<entry>
    <title>C:\Windows\System32\cmd.exe 不支持此接口</title>
    <link rel="alternate" type="text/html" href="http://www.sothink.cn/archives/2010/08/windows-7-no-such-interface-supported.html" />
    <id>tag:www.sothink.cn,2010://1.58</id>

    <published>2010-08-31T05:04:22Z</published>
    <updated>2010-10-29T07:08:40Z</updated>

    <summary><![CDATA[　　前一段时间，在一台新机器上使用 Restorator 2007 的时候出现了下面的问题：双击exe可执行文件没有任何反应。在应用程序上面点击右键一看，好家伙，那个&ldquo;打开&rdquo;又没了。我的第一反应就是修复文件关联错误。都但是运行命令提示符的时候遇到了这个错误：C:\Windows\System32\cmd.exe 不支持此接口，其他的exe可执行程序也一样。...]]></summary>
    <author>
        <name>SOTHINK</name>
        <uri>http://www.sothink.cn/</uri>
    </author>
    
        <category term="Windows" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="windows" label="Windows" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.sothink.cn/">
        <![CDATA[<p>　　前一段时间，在一台新机器上使用 Restorator 2007 的时候出现了下面的问题：<br />双击exe可执行文件没有任何反应。在应用程序上面点击右键一看，好家伙，那个&ldquo;打开&rdquo;又没了。我的第一反应就是<a href="http://www.sothink.cn/archives/2009/02/fix-the-error-of-file-association.html">修复文件关联错误</a>。都但是运行命令提示符的时候遇到了这个错误：C:\Windows\System32\cmd.exe 不支持此接口，其他的exe可执行程序也一样。</p><p style="text-align: center"><img alt="不支持此接口" src="http://lh5.ggpht.com/_XHC8aCTMuvY/TK1V7JRH5pI/AAAAAAAAAjk/u5DA2qPZMko/s288/no-such-interface-supported.gif" /></p>]]>
        <![CDATA[<p>　　下面是我的解决方法：</p><p style="text-align: center"><script type="text/javascript"><!--
google_ad_client = "pub-8701586848722989";
/* 468x60, 横幅 */
google_ad_slot = "2056113718";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> 
</script></p><p>　　新建一个批处理文件，内容为 <span style="color: #ff0000">cmd /k </span>。 然后<strong>以管理员身份运行</strong>该批处理就可以调出命令提示符了，然后按照<a href="http://www.sothink.cn/archives/2009/02/fix-the-error-of-file-association.html">修复文件关联错误</a>中的方法是用System Repair Engineer进行修复。<strong><span style="color: #ff0000">注意：</span></strong>如果以受限用户运行该批处理会出现&ldquo;系统无法在消息文件中为 System 找到消息号为 0x5 的消息文本。&rdquo;的错误提示。</p><p>　　关于cmd /k ：/k&nbsp;&nbsp;&nbsp;&nbsp; Carries out the command specified by string but remains.</p><p style="text-align: right"><strong>本文结束。</strong></p>]]>
    </content>
</entry>

<entry>
    <title>Adobe CS5 激活方法</title>
    <link rel="alternate" type="text/html" href="http://www.sothink.cn/archives/2010/08/adobe-cs5.html" />
    <id>tag:www.sothink.cn,2010://1.57</id>

    <published>2010-08-21T11:25:05Z</published>
    <updated>2010-08-21T12:04:59Z</updated>

    <summary><![CDATA[　　去年6月份我发过一篇 Adobe CS4 激活方法&nbsp;，只需要替换掉安装目录下的 amtlib.dll 就不需要输入序列号了，并且可以随意更新。　　现在Adobe又推出了CS5，对我来说还想使用 Adobe CS4 激活方法&nbsp;中提到的 amtlib.dll ，但是这个文件就不好找了。Google一下 Adobe CS5 激活方法，能找到4个以上版本的 amtlib.dll ，一个是500多KB的，一个是800多KB的，还有一个有3.7MB左右，虽然都写着是 Adobe CS5 激活文件 但对于CS5都是无效的。...]]></summary>
    <author>
        <name>SOTHINK</name>
        <uri>http://www.sothink.cn/</uri>
    </author>
    
        <category term="Notes" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.sothink.cn/">
        <![CDATA[<p>　　去年6月份我发过一篇 <a href="http://www.sothink.cn/archives/2009/06/adobe-cs4.html">Adobe CS4 激活方法</a>&nbsp;，只需要替换掉安装目录下的 amtlib.dll 就不需要输入序列号了，并且可以随意更新。</p><p>　　现在Adobe又推出了CS5，对我来说还想使用 <a href="http://www.sothink.cn/archives/2009/06/adobe-cs4.html">Adobe CS4 激活方法</a>&nbsp;中提到的 amtlib.dll ，但是这个文件就不好找了。Google一下 Adobe CS5 激活方法，能找到4个以上版本的 amtlib.dll ，一个是500多KB的，一个是800多KB的，还有一个有3.7MB左右，虽然都写着是 <a href="http://www.sothink.cn/archives/2010/08/adobe-cs5.html">Adobe CS5 激活文件</a> 但对于CS5都是无效的。</p>]]>
        <![CDATA[<p>　　下面才是真正的 <a href="http://www.sothink.cn/archives/2010/08/adobe-cs5.html">Adobe CS5激活文件</a> amtlib.dll 。</p><p style="text-align: center"><script type="text/javascript"><!--
google_ad_client = "pub-8701586848722989";
/* 468x60, 横幅 */
google_ad_slot = "1281975286";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> 
</script></p><p>　　Adobe CS5&nbsp;x86版激活文件下载地址：<a href="http://movabletype-plugins.googlecode.com/files/adobecs5x86amtlib.zip">amtlib.dll</a> 891KB&nbsp; <br />　　解压后MD5：ebd785e602eb03ead4e27f9e2e0105e5。</p><p>　　Adobe CS5&nbsp;x64版激活文件下载地址：<a href="http://movabletype-plugins.googlecode.com/files/adobecs5x64amtlib.zip">amtlib.dll</a> 1215KB <br />　　解压后MD5：3b203f01c1ff09fb3a3afff5a6de8d57。</p><p>　　使用方法我就不再多说了，不会使用的朋友请看我之前写的 <a href="http://www.sothink.cn/archives/2009/06/adobe-cs4.html">Adobe CS4 激活方法</a> 。</p>]]>
    </content>
</entry>

</feed>

