<?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>走点路&#187; WordPress</title> <atom:link href="http://zou.lu/category/wordpress/feed/" rel="self" type="application/rss+xml" /><link>http://zou.lu</link> <description>走点路，走自己牛逼的路，让那些个傻逼去说吧！</description> <lastBuildDate>Sun, 25 Jul 2010 19:09:27 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0</generator> <item><title>提高 WordPress 速度之独立域名图床</title><link>http://zou.lu/use-cook-free-domain-for-your-wordpress/</link> <comments>http://zou.lu/use-cook-free-domain-for-your-wordpress/#comments</comments> <pubDate>Fri, 22 Jan 2010 12:05:56 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[图床]]></category> <category><![CDATA[域名]]></category><guid isPermaLink="false">http://zou.lu/%e6%8f%90%e9%ab%98-wordpress-%e9%80%9f%e5%ba%a6%e4%b9%8b%e7%8b%ac%e7%ab%8b%e5%9f%9f%e5%90%8d%e5%9b%be%e5%ba%8a/</guid> <description><![CDATA[Yslow 提高网站加载速度里有这么一条：Used Cookie Free Domains ， 大意是浏览器会对作用域内每个加载的对象传递 Cookie，在加载图像或者JS、CSS的时候最好用 Cookie-free 域名。如果没有多余的域名可以用一个子域实现，但是要设置 Cookie 的作用域才可以。（来自 Kangzj 的 《html代码层次加速 WordPress》）。 之前我都是用二级域名的形式来存储图片、JS 和 CSS ，前些天在推特上的一位程序员 yoursunny 告诉我，光用二级域名是不够的，用一个单独的没有 cookie 的独立域名才是最好的方法。恰好我也有此意为几个朋友提供单独的图床服务，于是，经过简单的一系列研究，把 WordPress 里的所有图片和脚本全部放在了一个单独的域名。 一、图片用单独域名储存 图片用单独的域名储存很简单，懒人可以在 WordPress 后台的杂项设置上传目录，然后在空间控制面板里绑定域名即可，如图： 然后后台上传图片，前台展示的图片都是你自己的域名了。 像我这样习惯用 Windows Live Writer 写作的，可以在 账户设置 里，选择用 FTP 上传图片（如图）： 图片用单独域名的好处就是，可以装酷，然后避免传递cookie，还可以利用手头闲余的空间做图床，很帅吧~ &#160; 二、CSS 和 JS 脚本用单独的域名 脚本用单独的域名储存，可以直接修改主题和插件，把css和js上传到你绑定域名的空间，然后直接用地址调用即可。 这样的好处和图片一样，坏处是要修改css的时候，每次都要手工FTP修改了。 &#160; 三、相关插件、表情的图片用单独的域名 对于 Comment Info Detector 插件里的国旗和浏览器图标，可以直接在插件设置里修改（如图）： [...]]]></description> <content:encoded><![CDATA[<p>Yslow 提高网站加载速度里有这么一条：<strong>Used Cookie Free Domains</strong> ， 大意是浏览器会对作用域内每个加载的对象传递 Cookie，在加载图像或者JS、CSS的时候最好用 Cookie-free 域名。如果没有多余的域名可以用一个子域实现，但是要设置 Cookie 的作用域才可以。（来自 Kangzj 的 《<a title="html代码层次加速 WordPress" href="http://kangzj.net/to-accelerate-wordpress-on-html-level/" target="_blank">html代码层次加速 WordPress</a>》）。</p><p>之前我都是用二级域名的形式来存储图片、JS 和 CSS ，前些天在推特上的一位程序员 <a href="http://yoursunny.com/" target="_blank">yoursunny</a> 告诉我，光用二级域名是不够的，用一个单独的没有 cookie 的独立域名才是最好的方法。恰好我也有此意为几个朋友提供单独的图床服务，于是，经过简单的一系列研究，把 WordPress 里的所有图片和脚本全部放在了一个单独的域名。</p><p> <span id="more-142"></span><br /><h2>一、图片用单独域名储存</h2><p>图片用单独的域名储存很简单，懒人可以在 WordPress 后台的杂项设置上传目录，然后在空间控制面板里绑定域名即可，如图：</p><p><a href="//showfom.imgbed.com/files/WordPress_11A44/image.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="WordPress 图片单独用域名" border="0" alt="WordPress 图片单独用域名" src="//showfom.imgbed.com/files/WordPress_11A44/image_thumb.png" width="644" height="185" /></a></p><p>然后后台上传图片，前台展示的图片都是你自己的域名了。</p><p>像我这样习惯用 Windows Live Writer 写作的，可以在 账户设置 里，选择用 FTP 上传图片（如图）：</p><p><a href="//showfom.imgbed.com/files/WordPress_11A44/image_3.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Windows Live Writer 下用FTP传图" border="0" alt="Windows Live Writer 下用FTP传图" src="//showfom.imgbed.com/files/WordPress_11A44/image_thumb_3.png" width="479" height="484" /></a></p><p>图片用单独域名的好处就是，可以装酷，然后避免传递cookie，还可以利用手头闲余的空间做图床，很帅吧~</p><p>&#160;</p><h2>二、CSS 和 JS 脚本用单独的域名</h2><p>脚本用单独的域名储存，可以直接修改主题和插件，把css和js上传到你绑定域名的空间，然后直接用地址调用即可。</p><p>这样的好处和图片一样，坏处是要修改css的时候，每次都要手工FTP修改了。</p><p>&#160;</p><h2>三、相关插件、表情的图片用单独的域名</h2><p>对于 <b>Comment Info Detector</b> 插件里的国旗和浏览器图标，可以直接在插件设置里修改（如图）：</p><p><a href="//showfom.imgbed.com/files/WordPress_11A44/image_4.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Comment Info Detector 插件单独用图片域名" border="0" alt="Comment Info Detector 插件单独用图片域名" src="//showfom.imgbed.com/files/WordPress_11A44/image_thumb_4.png" width="644" height="373" /></a></p><p>这里主要讲一下如何修改 WordPress 表情文件的URL地址：</p><p><font color="#ff0000">（以下方法只针对 WordPress 2.9.1）</font></p><p>默认情况下，WordPress 表情图片的地址是<strong> http://你的域名/wp-includes/images/smilies/表情文件.gif</strong></p><p>经过修改，我们可以把表情图片也放到单独的域名里。</p><p>首先，不用我多说，把你的表情文件用FTP等上传到你绑定域名的空间，比如我的<strong> //showfom.imgbed.com/style/img/smilies/表情文件.gif </strong></p><p>然后，用非记事本打开 <strong>wp-includes/formatting.php</strong> 找到 1425 行</p><div style="background-color: rgb(0,0,0); font-family: &quot;[object HTMLOptionElement]&quot;,&quot;monospace&quot;; color: rgb(192,192,192)" class="source"><span style="color: rgb(192,192,192)">$srcurl = apply_filters('smilies_src', &quot;$siteurl/wp-includes/images/smilies/$img&quot;, $img, $siteurl);</span></div><p>修改为：</p><div style="background-color: rgb(0,0,0); font-family: &quot;[object HTMLOptionElement]&quot;,&quot;monospace&quot;; color: rgb(192,192,192)" class="source"><span style="color: rgb(192,192,192)">$srcurl = apply_filters('smilies_src', &quot;http://表情图片所在目录/$img&quot;, $img, $siteurl);</span></div><p>&#160;</p><p>至于 Custom Smilies 插件，直接修改<strong> custom-smilies-se/common.inc.php</strong> 查找<strong> function cs_all_smilies()</strong> ，然后把 $url = 修改为你表情文件所在目录即可（<font color="#ff0000">有两处，切记最后不能有斜杠！</font>）：</p><div style="background-color: rgb(0,0,0); font-family: &quot;[object HTMLOptionElement]&quot;,&quot;monospace&quot;; color: rgb(192,192,192)" class="source"><span style="color: rgb(192,192,192)">$url = 'http://表情图片所在目录';</span></div><p>&#160;</p><p>OK，大功告成，基本上所有的 WordPress 前台的图片都是你自己独立的域名了，是不是很酷？而且还能加快速度，何乐而不为呢？</p><p>如果你没有其他的域名，可以在空间绑定一个二级域名，然后在 wp-config.php 里写入：</p><div style="background-color: rgb(0,0,0); font-family: &quot;[object HTMLOptionElement]&quot;,&quot;monospace&quot;; color: rgb(192,192,192)" class="source"><span style="color: rgb(192,192,192)">define('COOKIE_DOMAIN', 'zou.lu');</span></div><p> 这一行，就能让你的 WordPress 的 cookie 不传递给二级域名。<p>==========</p><p><strong>PS 1：</strong>本人最近闲的蛋疼的时候开了个论坛，欢迎来灌水：<a title="歮谈" href="http://bbs.se.com/">http://bbs.se.com/</a> 关于域名，详见 <a title="购买独立域名" href="http://shoushou.de/">http://shoushou.de/</a> 要是再来问我域名怎么来的，我就回答比尔盖茨送给我的，信不？</p><p><strong>PS 2：</strong>本人的图床服务只给认识的朋友使用，有单独的 FTP ，如果你需要并且真的认识我，请和我联系，如果只是临时使用，请移步 <a title="免费图床" href="http://zoulu.org/">http://zoulu.org/</a> <font color="#ff0000">（No IE Supports！）</font></p><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/change-domain/" title="走自己牛逼的路，让那些傻逼去说吧">走自己牛逼的路，让那些傻逼去说吧</a> (158)</li><li><a href="http://zou.lu/some-ideas/" title="近期的一些计划和想法">近期的一些计划和想法</a> (83)</li><li><a href="http://zou.lu/invest_in_dot_co_domain_name-2/" title="域名投资：.co域名7月21日开放注册">域名投资：.co域名7月21日开放注册</a> (74)</li><li><a href="http://zou.lu/domain-hacks/" title="如何挑选适合自己的个性创意域名">如何挑选适合自己的个性创意域名</a> (162)</li><li><a href="http://zou.lu/domains/" title="个性后缀域名注册+价格列表">个性后缀域名注册+价格列表</a> (243)</li><li><a href="http://zou.lu/how-to-choose-hosting-and-domains/" title="如何挑选合适的国外域名和空间">如何挑选合适的国外域名和空间</a> (160)</li><li><a href="http://zou.lu/change-and-change/" title="这些心神不宁的事">这些心神不宁的事</a> (205)</li><li><a href="http://zou.lu/wpjam/" title="WordPress Jam &#8211; WP 建站服务一条龙">WordPress Jam &#8211; WP 建站服务一条龙</a> (62)</li><li><a href="http://zou.lu/mobilepress-themes-fixed/" title="MobilePress 主题汉化并修改">MobilePress 主题汉化并修改</a> (72)</li><li><a href="http://zou.lu/private-themes/" title="换上私人主题 + 清理友链">换上私人主题 + 清理友链</a> (186)</li></ul><hr /><div style="padding: 5px 10px; background: rgb(243, 245, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><p>© from <a href="//zou.lu/?from=feed">走点路博客</a>, 2010/01/22. | <a href="http://zou.lu/use-cook-free-domain-for-your-wordpress/">提高 WordPress 速度之独立域名图床</a> | <a href="http://zou.lu/use-cook-free-domain-for-your-wordpress/#comments">155 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/wordpress/" rel="tag">WordPress</a>, <a href="http://zou.lu/tags/%e5%9b%be%e5%ba%8a/" rel="tag">图床</a>, <a href="http://zou.lu/tags/%e5%9f%9f%e5%90%8d/" rel="tag">域名</a> | <a href="//zou.lu/?p=142">Link</a> | <a href="http://zi.mu/domain"><font color="red">.me 域名全国最低价，首年仅需40元，续费130元促销中！</font></a></p></div>]]></content:encoded> <wfw:commentRss>http://zou.lu/use-cook-free-domain-for-your-wordpress/feed/</wfw:commentRss> <slash:comments>155</slash:comments> </item> <item><title>Nginx 配置 SSL 证书 + HTTPS 站点小记</title><link>http://zou.lu/nginx-https-ssl-module/</link> <comments>http://zou.lu/nginx-https-ssl-module/#comments</comments> <pubDate>Wed, 06 Jan 2010 13:04:11 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[FireFox]]></category> <category><![CDATA[Web 2.0]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[HTTPS]]></category> <category><![CDATA[Nginx]]></category> <category><![CDATA[SSL]]></category><guid isPermaLink="false">http://zou.lu/nginx-https-ssl-module/</guid> <description><![CDATA[今天给几个站点配置了认证的 ssl 证书，但是苦于自己技术不过关，或是知识不足，导致还有那么一小点 Bug 的出现，这里就我配置 HTTPS 站点的经验来总结一下吧。 一、什么是 SSL 证书，什么是 HTTPS 网站？ SSL证书是数字证书的一种，类似于驾驶证、护照和营业执照的电子副本。SSL证书通过在客户端浏览器和Web服务器之间建立一条SSL安全通道（Secure socket layer(SSL)安全协议是由Netscape Communication公司设计开发。该安全协议主要用来提供对用户和服务器的认证；对传送的数据进行加密和隐藏；确保数据在传送中不被改变，即数据的完整性，现已成为该领域中全球化的标准。由于SSL技术已建立到所有主要的浏览器和WEB服务器程序中，因此，仅需安装服务器证书就可以激活该功能了）。即通过它可以激活SSL协议，实现数据信息在客户端和服务器之间的加密传输，可以防止数据信息的泄露。保证了双方传递信息的安全性，而且用户可以通过服务器证书验证他所访问的网站是否是真实可靠。（来源） 二、什么网站需要 SSL 证书？ 就我遇到过的网站，配置了认证的证书的，大概有这么几类： 1、购物交易类网站 这个就不用说了，支付宝、Paypal等肯定会加密以保护你的密码安全。 2、注册类站点 有些大站点，注册会员或者登陆的时候，会专门通过SSL通道，来保护你的密码安全，比如：https://www.name.com/account/login.php 3、在线代理类站点 这个，为了防止天朝某个部分嗅探出没加密的内容，嗯哼，就不说了。 4、耍酷类 比如我…… 三、Nginx 下如何配置证书 之前，我介绍过如何购买并且配置 Godaddy 的证书：《Godaddy SSL证书以及 Nginx 配置HTTPS方法》，后来因为一个小失误，每次修改 Nginx 配置，重启 Nginx 的时候都会输入密码，所以之后买了 Comodo 的证书，并且让 @Paveo 帮我全部配置好，哈哈。 但是总请别人来配置总不太好意思，所以我得自己研究一下，然后，就当作记录和总结吧。 1、Nginx 配置 ssl 模块 默认 Nginx 是没有 ssl 模块的，而我的 VPS [...]]]></description> <content:encoded><![CDATA[<p>今天给几个站点配置了认证的 ssl 证书，但是苦于自己技术不过关，或是知识不足，导致还有那么一小点 Bug 的出现，这里就我配置 HTTPS 站点的经验来总结一下吧。</p><p><span id="more-140"></span></p><h2>一、什么是 SSL 证书，什么是 HTTPS 网站？</h2><p>SSL证书是数字证书的一种，类似于驾驶证、护照和营业执照的电子副本。SSL证书通过在客户端浏览器和Web服务器之间建立一条SSL安全通道（Secure socket layer(SSL)安全协议是由Netscape Communication公司设计开发。该安全协议主要用来提供对用户和服务器的认证；对传送的数据进行加密和隐藏；确保数据在传送中不被改变，即数据的完整性，现已成为该领域中全球化的标准。由于SSL技术已建立到所有主要的浏览器和WEB服务器程序中，因此，仅需安装服务器证书就可以激活该功能了）。即通过它可以激活SSL协议，实现数据信息在客户端和服务器之间的加密传输，可以防止数据信息的泄露。保证了双方传递信息的安全性，而且用户可以通过服务器证书验证他所访问的网站是否是真实可靠。（<a href="http://baike.baidu.com/view/1009264.htm" target="_blank">来源</a>）</p><h2>二、什么网站需要 SSL 证书？</h2><p>就我遇到过的网站，配置了认证的证书的，大概有这么几类：</p><p><strong>1、购物交易类网站</strong></p><p>这个就不用说了，支付宝、Paypal等肯定会加密以保护你的密码安全。</p><p><strong>2、注册类站点</strong></p><p>有些大站点，注册会员或者登陆的时候，会专门通过SSL通道，来保护你的密码安全，比如：<a title="https://www.name.com/account/login.php" href="https://www.name.com/account/login.php">https://www.name.com/account/login.php</a></p><p><strong>3、在线代理类站点</strong></p><p>这个，为了防止天朝某个部分嗅探出没加密的内容，嗯哼，就不说了。</p><p><strong>4、耍酷类</strong></p><p>比如我……</p><h2>三、Nginx 下如何配置证书</h2><p>之前，我介绍过如何购买并且配置 Godaddy 的证书：《<a href="http://zou.lu/install-godaddy-ssl-https-on-nginx/">Godaddy SSL证书以及 Nginx 配置HTTPS方法</a>》，后来因为一个小失误，每次修改 Nginx 配置，重启 Nginx 的时候都会输入密码，所以之后买了 Comodo 的证书，并且让 @Paveo 帮我全部配置好，哈哈。</p><p>但是总请别人来配置总不太好意思，所以我得自己研究一下，然后，就当作记录和总结吧。</p><p><strong>1、Nginx 配置 ssl 模块</strong></p><p>默认 Nginx 是没有 ssl 模块的，而我的 VPS 默认装的是 Nginx 0.7.63 ，顺带把 Nginx 升级到 0.7.64 并且 配置 ssl 模块方法如下：</p><p>下载 Nginx 0.7.64 版本，解压 进入解压目录：</p><div class="source" style="background-color: #000000; font-family: &amp;amp;quot; color: #c0c0c0;"><span style="color: #c0c0c0;">wget http://sysoev.ru/nginx/nginx-0.7.64.tar.gz </span><br /> <span style="color: #c0c0c0;">tar zxvf nginx-0.7.64.tar.gz </span><br /> <span style="color: #c0c0c0;">cd nginx-0.7.64</span></div><p>如果要更改header信息的话，</p><div class="source" style="background-color: #000000; font-family: &amp;amp;quot; color: #c0c0c0;"><span style="color: #c0c0c0;">vi src/core/nginx.h </span><br /> <span style="color: #c0c0c0;"> #define NGINX_VERSION      "0.7.62" </span><br /> <span style="color: #c0c0c0;"> #define NGINX_VER          "nginx/" NGINX_VERSION</span></div><p>上面的版本号和nginx自己修改</p><p>编译</p><div class="source" style="background-color: #000000; font-family: &amp;amp;quot; color: #c0c0c0;"><span style="color: #c0c0c0;">./configure --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module </span><br /> <span style="color: #c0c0c0;">make</span></div><p>make</p><p><strong>切记不要 make install</strong></p><p>（来源：<a title="http://www.hostloc.com/thread-4871-1-1.html" href="http://www.hostloc.com/thread-4871-1-1.html">http://www.hostloc.com/thread-4871-1-1.html</a>）</p><p>因为是小网站，用不着平滑升级，直接 killall -HUP nginx 重启 nginx 即可。</p><p>OK，升级并且安装好 ssl 模块完毕，这里我把 Nginx 修改成了 zoulu，于是乎：</p><p><a href="//showfom.imgbed.com/NginxSSLHTTPS_12839/image.png" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline; border-width: 0px;" title="image" src="//showfom.imgbed.com/NginxSSLHTTPS_12839/image_thumb.png" border="0" alt="image" width="244" height="127" /></a></p><p>怎么样，很有个性吧！</p><p><strong>2、使用 OpenSSL 生成证书</strong></p><p><strong>①、生成RSA密钥的方法</strong></p><div class="source" style="background-color: #000000; font-family: &amp;amp;quot; color: #c0c0c0;"><span style="color: #c0c0c0;">openssl genrsa -out privkey.pem 2048</span></div><p>有的证书要 1024 的，所以得：</p><div class="source" style="background-color: #000000; font-family: &amp;amp;quot; color: #c0c0c0;"><span style="color: #c0c0c0;">openssl genrsa -out privkey.pem 1024</span></div><p><strong>②、生成一个证书请求</strong></p><div class="source" style="background-color: #000000; font-family: &amp;amp;quot; color: #c0c0c0;"><span style="color: #c0c0c0;">openssl req -new -key privkey.pem -out cert.csr</span></div><p>会提示输入省份、城市、域名信息等，重要的是，email 一定要是你的域名后缀的，比如 <a href="mailto:webmaster@zou.lu">webmaster@zou.lu</a> 并且能接受邮件！</p><p>这样就有一个 csr 文件了，提交给 ssl 提供商的时候就是这个 csr 文件</p><p>（来源：<a title="http://www.lsproc.com/blog/nginx_ssl_config/" href="http://www.lsproc.com/blog/nginx_ssl_config/">http://www.lsproc.com/blog/nginx_ssl_config/</a>）</p><p>直接 cat cert.csr</p><p>得到一大串字符，比如这样：</p><div class="source" style="background-color: #000000; font-family: &amp;amp;quot; color: #c0c0c0;"><span style="color: #c0c0c0;">-----BEGIN CERTIFICATE REQUEST----- </span><br /> <span style="color: #c0c0c0;">MIIBsTCCARoCAQAwcTELMAkGA1UEBhMCQ04xCzAJBgNVBAgTAkhCMQwwCgYDVQQH </span><br /> <span style="color: #c0c0c0;">EwNTSloxDzANBgNVBAoTBkZhbmZvdTESMBAGA1UEAxMJZzFuZm91LmRlMSIwIAYJ </span><br /> <span style="color: #c0c0c0;">KoZIhvcNAQkBFhN3ZWJtYXN0ZXJAZmFuZm91LmRlMIGfMA0GCSqGSIb3DQEBAQUA </span><br /> <span style="color: #c0c0c0;">A4GNADCBiQKBgQC5l4PmZg6TCIpduefxq5gsLXN1JeQdBmUs+pEApeHmNoxE+R4k </span><br /> <span style="color: #c0c0c0;">VkQUJzLj5o3ltQGJzYrcIfru8NryQSxaT/5IjeFwS7nIMsx8KPkQQ71BJazsiZj+ </span><br /> <span style="color: #c0c0c0;">CdLDRJj1m/SrjTsNrfYj4rFFS1FXq7uEDyreUx7fyAljx70jPSsGBOGwRQIDAQAB </span><br /> <span style="color: #c0c0c0;">oAAwDQYJKoZIhvcNAQEFBQADgYEACKCBQcnCq5yE3GFyN3NyxCQEvnspkIv9AqI4 </span><br /> <span style="color: #c0c0c0;">FcwqyHPZWkupp3wfubHY80IwtfjlGlTSynzE7FZLVpcbNfKLnAYlYEwDY7NukJNy </span><br /> <span style="color: #c0c0c0;">pCbyqpJJXdAl3Jcun0NlLtSxTQpR+abO8va/BAO5Hp9h1rpSRtTdSJd2fC/owRV1 </span><br /> <span style="color: #c0c0c0;">BfRuJnA= </span><br /> <span style="color: #c0c0c0;">-----END CERTIFICATE REQUEST-----</span></div><p>提交给你的 ssl 提供商即可，一般半个钟头到一天时间就会发给你证书，如图：</p><p><a href="//showfom.imgbed.com/NginxSSLHTTPS_12839/image_3.png" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline; border-width: 0px;" title="image" src="//showfom.imgbed.com/NginxSSLHTTPS_12839/image_thumb_3.png" border="0" alt="image" width="227" height="190" /></a></p><p>把所有文件全部上传到一个特定的目录，比如我是上传到 /root/zoulu/</p><p>这里，zoulukey.pem 和 zoulucert.csr 是自己在 VPS 生成的，剩下的都是证书签发机构颁发的。</p><p>一般情况下，直接用证书签发机构颁发的 crt 文件即可，比如 zou_lu.crt ，但是有很多证书签发机构默认在 Firefox 中文版下是不会信任的，经过仔细研究，终于发现，原来得把证书签发机构办法给你的 crt 文件也放入才行。</p><p>方法如下：</p><p>合并 PositiveSSLCA.crt （证书签发机构的 crt） 和 zou_lu.crt (自己域名的 crt)</p><p>cat  zou_lu.crt &gt;&gt; PositiveSSLCA.crt</p><p>mv PositiveSSLCA.crt  zou_lu.crt</p><p>或者直接用记事本打开，然后复制 PositiveSSLCA.crt 里面所有的内容到 zou_lu.crt 最<span style="color: #ff0000;"><strong>下方</strong></span>即可。</p><p>（来源：<a title="http://www.lsproc.com/blog/nginx_ssl_config/" href="http://www.lsproc.com/blog/nginx_ssl_config/">http://www.lsproc.com/blog/nginx_ssl_config/</a>）</p><p><strong>③、修改 Nginx 配置</strong></p><div class="source" style="background-color: #000000; font-family: &amp;amp;quot; color: #c0c0c0;"><p><span style="color: #c0c0c0;">listen  443; </span><br /> <span style="color: #c0c0c0;">server_name zou.lu; </span><br /> <span style="color: #c0c0c0;">index index.html index.htm index.php; </span><br /> <span style="color: #c0c0c0;">root  /home/zoulu; </span><br /> <span style="color: #c0c0c0;">error_page 404 403 http://zou.lu;</span></p><p><span style="color: #c0c0c0;">ssl on; </span><br /> <span style="color: #c0c0c0;">ssl_certificate /root/zoulu/zou_lu.crt; </span><br /> <span style="color: #c0c0c0;">ssl_certificate_key /root/zoulu/zoulukey.pem;</span></p></div><p>其他的配置信息和一般站点的一样，不再重复。</p><h2>四、访问测试结果</h2><p>在 Firefox 英文版 / Chrome / Opera / Safari / IE 6、7、8 下均没问题， <a href="https://zou.lu/">https://zou.lu/</a> 在 Firefox 3.5.7 中文版下没问题，遇到问题的童鞋，检查你的系统时间，要是还不信任，那我也不是很清楚了，抱歉能力有限。</p><h2>五、如何获得免费的证书</h2><p><a href="https://zou.lu/">https://zou.lu/</a> 的证书是 PositiveSSL 签发的，这是一家 Comodo 的 Reseller ，目前可以通过如下途径获得：</p><p>去 <a href="http://www.namecheap.com/" target="_blank">NameCheap.com</a> 注册、转移一个域名或者购买一款空间就能获得，而且是免费一年的哦！</p><p>需要注意的是，NameCheap 注册后颁发的证书没有证书签发机构的 PositiveSSLCA.crt ，这里我就放一个，为了大家安装方便：</p><div class="source" style="background-color: #000000; font-family: &amp;amp;quot; color: #c0c0c0;"><span style="color: #c0c0c0;">-----BEGIN CERTIFICATE----- </span><br /> <span style="color: #c0c0c0;">MIIFAzCCA+ugAwIBAgIQTM1KmltFEyGMz5AviytRcTANBgkqhkiG9w0BAQUFADCB </span><br /> <span style="color: #c0c0c0;">lzELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2Ug </span><br /> <span style="color: #c0c0c0;">Q2l0eTEeMBwGA1UEChMVVGhlIFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExho </span><br /> <span style="color: #c0c0c0;">dHRwOi8vd3d3LnVzZXJ0cnVzdC5jb20xHzAdBgNVBAMTFlVUTi1VU0VSRmlyc3Qt </span><br /> <span style="color: #c0c0c0;">SGFyZHdhcmUwHhcNMDYwOTE4MDAwMDAwWhcNMjAwNTMwMTA0ODM4WjBxMQswCQYD </span><br /> <span style="color: #c0c0c0;">VQQGEwJHQjEbMBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdT </span><br /> <span style="color: #c0c0c0;">YWxmb3JkMRowGAYDVQQKExFDb21vZG8gQ0EgTGltaXRlZDEXMBUGA1UEAxMOUG9z </span><br /> <span style="color: #c0c0c0;">aXRpdmVTU0wgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC9T3lY </span><br /> <span style="color: #c0c0c0;">IpPJKD5SEQAvwKkgitctVR4Q57h/4oYqpOxe6eSSWJZUDfMXukGeFZFV78LuACAY </span><br /> <span style="color: #c0c0c0;">RYMm3yDMPbOhEzEKIVx5g3mrJBVcVvC0lZih2tIb6ha1y7ewwVP5pEba8C4kuGKe </span><br /> <span style="color: #c0c0c0;">joteK1qWoOpQ6Yj7KCpNmpxIT4O2h65Pxci12f2+P9GnncYsEw3AAcezcPOPabuw </span><br /> <span style="color: #c0c0c0;">PBDf6wkAhD9u7/zjLbTHXRHM9/Lx9uLjAH4SDt6NfQDKOj32cuh5JaYIFveriP9W </span><br /> <span style="color: #c0c0c0;">XgkXwFqCBWI0KyhIMpfQhAysExjbnmbHqhSLEWlN8QnTul2piDdi2L8Dm53X5gV+ </span><br /> <span style="color: #c0c0c0;">wmpSqo0HgOqODvMdAgMBAAGjggFuMIIBajAfBgNVHSMEGDAWgBShcl8mGyiYQ5Vd </span><br /> <span style="color: #c0c0c0;">BzfVhZadS9LDRTAdBgNVHQ4EFgQUuMoR6QYxedvDlMboGSq8uzUWMaQwDgYDVR0P </span><br /> <span style="color: #c0c0c0;">AQH/BAQDAgEGMBIGA1UdEwEB/wQIMAYBAf8CAQEwewYDVR0fBHQwcjA4oDagNIYy </span><br /> <span style="color: #c0c0c0;">aHR0cDovL2NybC5jb21vZG9jYS5jb20vVVROLVVTRVJGaXJzdC1IYXJkd2FyZS5j </span><br /> <span style="color: #c0c0c0;">cmwwNqA0oDKGMGh0dHA6Ly9jcmwuY29tb2RvLm5ldC9VVE4tVVNFUkZpcnN0LUhh </span><br /> <span style="color: #c0c0c0;">cmR3YXJlLmNybDCBhgYIKwYBBQUHAQEEejB4MDsGCCsGAQUFBzAChi9odHRwOi8v </span><br /> <span style="color: #c0c0c0;">Y3J0LmNvbW9kb2NhLmNvbS9VVE5BZGRUcnVzdFNlcnZlckNBLmNydDA5BggrBgEF </span><br /> <span style="color: #c0c0c0;">BQcwAoYtaHR0cDovL2NydC5jb21vZG8ubmV0L1VUTkFkZFRydXN0U2VydmVyQ0Eu </span><br /> <span style="color: #c0c0c0;">Y3J0MA0GCSqGSIb3DQEBBQUAA4IBAQAdtOf5GEhd7fpawx3jt++GFclsE0kWDTGM </span><br /> <span style="color: #c0c0c0;">MVzn2odkjq8SFqRaLZIaOz4hZaoXw5V+QBz9FGkGGM2sMexq8RaeiSY9WyGN6Oj5 </span><br /> <span style="color: #c0c0c0;">qz2qPMuZ8oZfiFMVBRflqNKFp05Jfdbdx4/OiL9lBeAUtTF37r0qhujop2ot2mUZ </span><br /> <span style="color: #c0c0c0;">jGfibfZKhWaDtjJNn0IjF9dFQWp2BNStuY9u3MI+6VHyntjzf/tQKvCL/W8NIjYu </span><br /> <span style="color: #c0c0c0;">zg5G8t6P2jt9HpOs/PQyKw+rAR+lQI/jJJkfXbKqDLnioeeSDJBLU30fKO5WPa8Y </span><br /> <span style="color: #c0c0c0;">Z0nf1R7CqJgrTEeDgUwuRMLvyGPui3tbMfYmYb95HLCpTqnJUHvi </span><br /> <span style="color: #c0c0c0;">-----END CERTIFICATE-----</span></div><p>你也可以试试 Startssl 的证书，缺点是在旧电脑，没有更新的情况下，IE 6是绝对不信任他的，详见：<a title="http://blog.s135.com/startssl/" href="http://blog.s135.com/startssl/">http://blog.s135.com/startssl/</a></p><p>最后声明一点，受信任的 ssl 证书必须有独立IP，或者说，一个IP只能对应一个域名的证书，爱玩的朋友可以弄一个玩玩。</p><p><strong>PS：忙考试了，一直到我生日（1.19），博客暂停更新，见谅。</strong></p><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/install-godaddy-ssl-https-on-nginx/" title="Godaddy SSL证书以及 Nginx 配置HTTPS方法">Godaddy SSL证书以及 Nginx 配置HTTPS方法</a> (69)</li><li><a href="http://zou.lu/linux-nginx-mysql-php-for-vps/" title="VPS 快速安装 Linux+Nginx+MySQL+PHP 环境">VPS 快速安装 Linux+Nginx+MySQL+PHP 环境</a> (61)</li><li><a href="http://zou.lu/move-to-vps/" title="博客顺利搬家至 VPS">博客顺利搬家至 VPS</a> (53)</li></ul><hr /><div style="padding: 5px 10px; background: rgb(243, 245, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><p>© from <a href="//zou.lu/?from=feed">走点路博客</a>, 2010/01/06. | <a href="http://zou.lu/nginx-https-ssl-module/">Nginx 配置 SSL 证书 + HTTPS 站点小记</a> | <a href="http://zou.lu/nginx-https-ssl-module/#comments">67 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/https/" rel="tag">HTTPS</a>, <a href="http://zou.lu/tags/nginx/" rel="tag">Nginx</a>, <a href="http://zou.lu/tags/ssl/" rel="tag">SSL</a> | <a href="//zou.lu/?p=140">Link</a> | <a href="http://zi.mu/domain"><font color="red">.me 域名全国最低价，首年仅需40元，续费130元促销中！</font></a></p></div>]]></content:encoded> <wfw:commentRss>http://zou.lu/nginx-https-ssl-module/feed/</wfw:commentRss> <slash:comments>67</slash:comments> </item> <item><title>如何挑选合适的国外域名和空间</title><link>http://zou.lu/how-to-choose-hosting-and-domains/</link> <comments>http://zou.lu/how-to-choose-hosting-and-domains/#comments</comments> <pubDate>Wed, 30 Dec 2009 14:15:56 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[Web 2.0]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[域名]]></category> <category><![CDATA[空间]]></category><guid isPermaLink="false">http://zou.lu/?p=139</guid> <description><![CDATA[越来越多的朋友为了避风，纷纷更换CN域名或搬家至国外空间，那么，我就以自己的经验来说说如何挑选合适的国外域名和空间。 一、域名篇 之前我的建议是域名尽量挑选国际域名，如今我的意见是，一定要用国际域名，假如你还想被某个相关部门折磨的话，CN域名已经不是个人能拥有的东西了，随时面临着风险，而国际域名是ICANN管理的，CNNIC 最多只能对国内的注册商进行管制，丫以为自己是国际刑警呢，况且不少好的国外注册商都能进行域名隐私保护（Private Whois ），这是全世界公民应有的隐私权，别听一些新闻吓人去，真的 CNNIC 要管制域名，最多对国内的注册商进行管制，至于国外么？那个白名单制度我真的很期待，Google 那么大的公司在中国的公关都如此失败，Godaddy、Name？老天保佑吧。 国外的域名注册商我推荐的是 Name.com ，每个周五（最近是每天）都会有一个后缀的优惠活动，而且控制面板比 Godaddy 的简洁，付款也方便（只要一个 Paypal 账号即可，不用认证），当然，在 Name.com 注册的域名，一定要绑定一个泛解析（*.domains.com），不然会跳转到一个恶心的广告页面，详见这里。当然，为了保护自己的流量不损失，我推荐要有一个独立IP，泛解析到独立IP，无论输入什么二级域名，都会到你自己的页面，不信？输入 caonima.zou.lu 试试？ Godaddy 也不错，毕竟是全球号称最大的域名注册商，最近又支持支付宝交易，但是我担心的是，天朝某个神秘的部门？再加上 CNNIC 一直本着肥水不流外人田的原则，他们会善罢甘休吗？对 Godaddy 的前景，我提几条意见： 一、尽快搞好公关，申明凡是中国人注册的域名，必须填写真实的whois等等措施来防止某个部门突然施压导致无数站长不能访问； 二、赶紧和国内的一些大的注册商搞好关系，毕竟都是同一行的，Godaddy 最近抢了不少风头； 三、我看还是成立 Godaddy 中文网好了，名字就叫：去你爹的！ 所以我的意见是，假如要去国外注册域名，首选 Name.com ， Godaddy、 Namecheap 等次之，目前来看，这样比较保险。 最后提醒一下，别去 Name.com 、 Godaddy 这些大网站买小国家后缀，很黑的，一个 cn 域名之前卖25美元一年，就更别说别的国家的小后缀了，可以找我代购，但是这个月我比较忙，1月份关店，要找我的话2月以后吧，详见 http://shoushou.de/ 。 二、空间篇 服务器空间这块是很黑暗的，假如找不到一个合适的空间商来托管自己的博客网站，那么倒霉的就是自己。如今国内IDC行业一片混乱，个人预测1月份以后会来一次大严打，不少博主纷纷选择境外的空间，这里，就我几年的经验来谈谈如何选择一个较好的国外空间。 因为地理原因，你不可能要求国外的空间能达到天朝大局域网的速度，尤其是上传这块，FTP上传文件切换文件夹的时候，没有一个美国的空间会是神速的（2M ADSL环境）。 在选择空间之前，应该首先阅读这篇文章：《选择美国主机的机房地理位置与网络分析》 在国内代购或者购买国外空间大致有以下两种大的模式： 1、通过自己或者代购国外的 Shared [...]]]></description> <content:encoded><![CDATA[<p>越来越多的朋友为了避风，纷纷更换CN域名或搬家至国外空间，那么，我就以自己的经验来说说如何挑选合适的国外域名和空间。</p><p><span id="more-139"></span></p><h2>一、域名篇</h2><p>之前我的建议是域名尽量挑选国际域名，如今我的意见是，一定要用国际域名，假如你还想被某个相关部门折磨的话，CN域名已经不是个人能拥有的东西了，随时面临着风险，而国际域名是ICANN管理的，CNNIC 最多只能对国内的注册商进行管制，丫以为自己是国际刑警呢，况且不少好的国外注册商都能进行域名隐私保护（<strong>Private Whois </strong>），这是全世界公民应有的隐私权，别听一些新闻吓人去，真的 CNNIC 要管制域名，最多对国内的注册商进行管制，至于国外么？那个白名单制度我真的很期待，Google 那么大的公司在中国的公关都如此失败，Godaddy、Name？老天保佑吧。</p><p>国外的域名注册商我推荐的是 Name.com ，每个周五（最近是每天）都会有一个后缀的优惠活动，而且控制面板比 Godaddy 的简洁，付款也方便（只要一个 Paypal 账号即可，不用认证），当然，在 Name.com 注册的域名，一定要绑定一个泛解析（*.domains.com），不然会跳转到一个恶心的广告页面，详见<a href="http://sivan.in/blog/name-com-sucks/">这里</a>。当然，为了保护自己的流量不损失，我推荐要有一个独立IP，泛解析到<a href="http://zou.lu/dedicated-ip/">独立IP</a>，无论输入什么二级域名，都会到你自己的页面，不信？输入 caonima.zou.lu 试试？</p><p>Godaddy 也不错，毕竟是全球号称最大的域名注册商，最近又支持支付宝交易，但是我担心的是，天朝某个神秘的部门？再加上 CNNIC 一直本着肥水不流外人田的原则，他们会善罢甘休吗？对 Godaddy 的前景，我提几条意见：</p><blockquote><p>一、尽快搞好公关，申明凡是中国人注册的域名，必须填写真实的whois等等措施来防止某个部门突然施压导致无数站长不能访问；</p><p>二、赶紧和国内的一些大的注册商搞好关系，毕竟都是同一行的，Godaddy 最近抢了不少风头；</p><p>三、我看还是成立 Godaddy 中文网好了，名字就叫：去你爹的！</p></blockquote><p>所以我的意见是，假如要去国外注册域名，首选 Name.com ， Godaddy、 Namecheap 等次之，目前来看，这样比较保险。</p><p>最后提醒一下，别去 Name.com 、 Godaddy 这些大网站买小国家后缀，很黑的，一个 cn 域名之前卖25美元一年，就更别说别的国家的小后缀了，可以找我代购，但是这个月我比较忙，1月份关店，要找我的话2月以后吧，详见 <a href="http://shoushou.de/">http://shoushou.de/</a> 。</p><h2>二、空间篇</h2><p>服务器空间这块是很黑暗的，假如找不到一个合适的空间商来托管自己的博客网站，那么倒霉的就是自己。如今国内IDC行业一片混乱，个人预测1月份以后会来一次大严打，不少博主纷纷选择境外的空间，这里，就我几年的经验来谈谈如何选择一个较好的国外空间。</p><p>因为地理原因，你不可能要求国外的空间能达到天朝大局域网的速度，尤其是上传这块，FTP上传文件切换文件夹的时候，没有一个美国的空间会是神速的（2M ADSL环境）。</p><p>在选择空间之前，应该首先阅读这篇文章：《<a href="http://www.vpser.net/other/choose-locations-for-ur-hosting.html">选择美国主机的机房地理位置与网络分析</a>》</p><p><strong>在国内代购或者购买国外空间大致有以下两种大的模式：</strong></p><p><strong>1、通过自己或者代购国外的 Shared Hosting ，通俗点说，就是直接自己购买国外空间，省去中间一环。</strong></p><p><strong>2、通过购买国外的 Reseller Hosting ，再进行分销，这种模式的好处就是节约成本，并且直接和国人沟通，出问题不用自己和国外空间商沟通，坏处就是遇到黑心的超售的 Reseller 就得叫苦了。</strong></p><p><strong>本文主要探讨第二种模式，就是通过购买 Reseller 进行分销。</strong></p><p><span style="color: #008000;">①、选择美国空间的机房</span></p><p>我家在南方，我在北方读书，所以对南北方的网络环境都有一定了解，就针对南方的电信和北方的网通（联通）来说，选择以下几个机房的空间速度甚优：</p><p>位于 Dallas 的 Softlayer 机房、 ThePlanet 机房</p><p>位于 加州 的 Peer1 机房、He.net 机房</p><p>以上四家服务器提供商都是有自己的机房的，主要是出售服务器，然后大大小小的各色空间商通过购买以上机房的服务器，来出售虚拟空间。</p><p><span style="color: #008000;">②、国内主要的 Reseller 分销模式</span></p><p>在国内流行的整个模式大致如下：</p><p>1.机房提供带宽或者出售服务器 &gt;  2.代理商购买或者托管服务器 &gt; 3.Reseller 分销服务器空间 &gt; 4.最终用户购买服务器</p><p>当然，可以直接从1跳到3或者4，不过为了节省成本（服务器、带宽、人工管理成本），不少国内代购国外空间的都是选择这种模式，在美国口碑较好的高级代理购买 Reseller 账号，然后分销空间。</p><p>当然，如果你觉得自己的网站足够大，或者想和几个朋友一起合租，也可以直接购买 Reseller 账号，国外 Reseller Hosting 口碑较好的有：</p><p>Site5（提供 ThePlanet 机房的服务器和空间，并且有 Reseller）</p><p>HostGator（和 Site5 如出一辙，服务器也位于 ThePlanet ，并且有 Reseller 、 VPS 、独立服务器出售）</p><p>HawkHost（老鹰空间的机房位于 Softlayer ，并且有 Reseller ）</p><p>其他的比如什么合租Bluehost、合租Dreamhost之类的就不是本文的探讨范围了。</p><p><span style="color: #008000;">③、如何选择国内口碑较好的 Reseller ？</span></p><p>这里，根据我的经验，主要应该考虑以下因素：</p><p>1、看口碑以及人气</p><p>口碑是靠用户传出来的，好不好都是要看用户，一般你可以这样，先看准几个朋友的博客，如果觉得他们的博客速度不错，就问问空间是哪里买的，优秀的空间商往往就是被这种模式宣传出去，你做的好的话，根本用不着自己宣传，口碑会积累，所以别去相信一些论坛里卖空间，低价合租之类的信息。</p><p>2、看对方的网站</p><p>如果自己的网站访问速度都不行，如何进行空间销售呢？</p><p>3、测试必备工具</p><p>遇到空间商，首先应该要求提供测试站点演示，不少优秀的空间商会自己提供演示站点，然后你要做的就是，点击任务栏的开始按钮，运行 &gt; 输入 cmd ，然后 ping 域名，比如 ping zou.lu ， 如图：</p><p><img src="//showfom.imgbed.com/uploads/19417510602bc7add210553655410d2e.jpg" alt="如何挑选合适的国外域名和空间" /></p><p>数值越小越好，500ms 以内基本算正常，要是一直超时，那么这个空间所在的机房和你本地的网络连接不好，应该考虑放弃；当然也有一种情况，服务器端禁止外网 ping ，那么更加不要选择这种空间，以防空间商作假。</p><p>其次，应该要求空间商提供服务器的探针，比如浪点探针比较出色，可以查看服务器的CPU、内存和负载情况，下载：<a href="http://www.londit.cn/londit.zip">http://www.londit.cn/londit.zip</a></p><p>是不是对空间的参数一览无余？这里说明几点，内存占用太大的别买，因为那样肯定放了不少大资源的站点，平均负载超过5的别买，会拖慢速度，看不到内存和负载的更别买，都屏蔽了这些，你知道剩余多少内存或者负载是否很高？</p><p>当然可以换<a href="http://www.crsky.com/soft/5492.html"> iProber 探针</a>，演示：<a href="http://vps.zou.lu/">http://vps.zou.lu/</a></p><p>提示：有些空间不支持 iProber 或 狼点探针 看内存和负载，购买一定要谨慎。</p><p>4、关于售后</p><p>一般国内的空间商都会比较好心，会帮助转移博客等资料，对一般用户的要求基本也会满足，这里我就不过多阐述了，假如你遇到不良空间商，切记一定不要犹豫去抱怨，只有经得住用户抱怨的空间商才是认真的！</p><p><span style="color: #008000;">④、我的推荐</span><br /> 由于肯定有有广告的嫌疑，我就推荐我熟悉的几家，各有优势各有劣势：</p><p>1、爱梦科技（<a href="http://imhost.org/">imhost.org</a>）</p><p>爱梦科技购买的是 Site5 和 HawkHost 的 Reseller ，基本上属于我投资和辐射鱼一起办的，速度绝对有保障，不然也不会买这两家的了，价格优惠，90元就能搞定空间。</p><p>优点：出问题直接和我说即可，嘿嘿，这算最大的优点吧？</p><p>缺点：效率有点低，没办法，平时比较忙，我们只是为了提供一个为朋友服务的平台而已。</p><p>2、GegeHost（<a href="http://www.gegehost.com/">gegehost.com</a>）</p><p>GegeHost 是胡戈戈的空间店，有 Site5 、 Peer 1、 HawkHost 等机房，速度也有保障，价格嘛，报上我的大名即可，肯定给你优惠哈哈，不给你优惠千万别买哇咔咔。</p><p>优点：戈戈人品不错，有时没有就去烦他肯定帮你解决问题嘿嘿</p><p>缺点：One-Man Company，有时候太忙真的会不好意思。</p><p>3、暂无</p><p>我不想推荐国内其他的地方了，太乱，用户太多，或者说，吹水的成份太大，或者说，我感觉再推荐来推荐去没意思，抢自己的生意呢嘿嘿</p><h2>三、其他注意事项</h2><p>有的朋友问我，为什么要用美国的空间，而不推荐其他地方的空间？我的答案是：美国的网络最发达，所以国内访问速度不错，而且美国的国际带宽流量大，假如你非要追求速度，可以用更贵更快的香港、日本、韩国、台湾或者新加坡的空间，但是国际带宽都是有限制的，比如香港的是2M，日本新加坡的是10M，韩国的是3M，一旦高峰时期，速度会很慢，并且绝对没有美国的空间稳定。</p><p>还有的朋友一定要打听我的空间是哪里购买的，好吧，我买的是 <a href="http://vpsville.ca/">vpsville</a> 的加拿大 VPS（不是空间），加拿大和美国相邻，网络设置和美国差不多，就是价格稍贵。</p><p><strong><span style="color: #ff0000;">还有关于空间的大小和流量分配，我只能告诉你一句话，一台服务器大概能承受1万到10万IP一天，一个 1000IP 一天的 WordPress ，图片都放本地并且设置防盗链，只要不是图片站，一个月流量不会超过30G。</span></strong></p><p>最后说一点个人心得：买美国空间，机房最好选择西海岸的，这样和大陆的地理位置最近；要买国人少的地方，不少好的空间都是被国人用烂导致速度大慢；一定要选择口碑好的地方，不然吃亏的是你自己。</p><p>=====</p><p>#人肉广告一则：喜欢自己寻找国外优秀空间的朋友，可以来这个网站慢慢找： <a href="http://www.whcoupon.com/">http://www.whcoupon.com/</a></p><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/change-and-change/" title="这些心神不宁的事">这些心神不宁的事</a> (205)</li><li><a href="http://zou.lu/some-ideas/" title="近期的一些计划和想法">近期的一些计划和想法</a> (83)</li><li><a href="http://zou.lu/invest_in_dot_co_domain_name-2/" title="域名投资：.co域名7月21日开放注册">域名投资：.co域名7月21日开放注册</a> (74)</li><li><a href="http://zou.lu/domain-hacks/" title="如何挑选适合自己的个性创意域名">如何挑选适合自己的个性创意域名</a> (162)</li><li><a href="http://zou.lu/domains/" title="个性后缀域名注册+价格列表">个性后缀域名注册+价格列表</a> (243)</li><li><a href="http://zou.lu/use-cook-free-domain-for-your-wordpress/" title="提高 WordPress 速度之独立域名图床">提高 WordPress 速度之独立域名图床</a> (155)</li><li><a href="http://zou.lu/dedicated-ip/" title="为什么需要独立IP？">为什么需要独立IP？</a> (134)</li><li><a href="http://zou.lu/only-cat/" title="我太可爱了！">我太可爱了！</a> (164)</li><li><a href="http://zou.lu/about-domains/" title="域名的那些事儿">域名的那些事儿</a> (124)</li><li><a href="http://zou.lu/change-domain/" title="走自己牛逼的路，让那些傻逼去说吧">走自己牛逼的路，让那些傻逼去说吧</a> (158)</li></ul><hr /><div style="padding: 5px 10px; background: rgb(243, 245, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><p>© from <a href="//zou.lu/?from=feed">走点路博客</a>, 2009/12/30. | <a href="http://zou.lu/how-to-choose-hosting-and-domains/">如何挑选合适的国外域名和空间</a> | <a href="http://zou.lu/how-to-choose-hosting-and-domains/#comments">160 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/%e5%9f%9f%e5%90%8d/" rel="tag">域名</a>, <a href="http://zou.lu/tags/%e7%a9%ba%e9%97%b4/" rel="tag">空间</a> | <a href="//zou.lu/?p=139">Link</a> | <a href="http://zi.mu/domain"><font color="red">.me 域名全国最低价，首年仅需40元，续费130元促销中！</font></a></p></div>]]></content:encoded> <wfw:commentRss>http://zou.lu/how-to-choose-hosting-and-domains/feed/</wfw:commentRss> <slash:comments>160</slash:comments> </item> <item><title>WordPress Jam - WP 建站服务一条龙</title><link>http://zou.lu/wpjam/</link> <comments>http://zou.lu/wpjam/#comments</comments> <pubDate>Thu, 17 Dec 2009 11:30:05 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[Web 2.0]]></category> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://zou.lu/?p=135</guid> <description><![CDATA[用了两三年 WordPress ，对这个系统熟悉得不能再熟悉了，无数优秀的主题、插件，WordPress 让个人博客变得易如反掌，所以，WordPress 才会成为一种文化。而作为企业站，如果需要更多丰富的功能而无须专门请人来写程序，那我想 WordPress 一定很适合你。 在国外，用 WordPress 来建站、卖主题、卖插件已俨然成了一种行业，甚至有专门的行业标准，比如 TemplateMonster （怪兽模板） 这些专门用来卖 WordPress 主题的网站。但是在国内，没有一个很好的行业标准，或者说，没有形成一种产业，使用 WordPress 的朋友当然很多，但是大多数还是停留在个人博客、团队博客以及一些新闻网站上。 对于企业站，假如需要某些特殊的功能，一般的做法就是请人来写程序，但是这样就会形成几个弊端： 一、程序员的水平层次不齐，写出来的程序也许会有漏洞，也许不能很好的升级或者二次开发。 二、因为功能有限，请人来写的程序最多就按照你需要的功能来写，一般不会增加额外的功能，当你需要其他功能的时候，还得继续找人来二次开发。 三、成本过高，写一个CMS新闻类的程序是很花费时间的，还得考虑安全性、用户体验等。 所以，如果一个企业网站能用开源的程序进行宣传的话，能省很多成本，假如你用的是WordPress的话，还有以下好处： 一、WordPress 程序成熟，漏洞少，升级方便，二次开发也很容易 二、WordPress 功能强大，很多时候，需要额外的功能只需要增加某个插件即可 三、WordPress 做企业站还有一个天然的好处，就是有利于 SEO ，因为世界上无数大小的网站都是用 WordPress 做的，SEO 方面，即使你什么都不懂，几个插件或者几行代码就能帮你搞定，更有利于企业网站的宣传。 四、后台方便，而且有多种离线发布文章的软件，这是一般花钱请人来做的程序所不可比拟的，而且大大的节省了成本。 但是，在国内，以前没有一个很好的团队，能利用 WordPress 负责这种企业网站的外包服务，不是收费太贵就是水平不高。今天，我隆重介绍 WordPress Jam 团队（以下简称WPJam）：http://wpjam.com/ WPJam 的创始人是著名博客我爱水煮鱼的博主Denis，以三年 WordPress 的经验，外加团队成员高超的技术水平，只要你能想到的，没有他们做不到的。 在团队网站 （http://wpjam.com/） 的介绍页面中，能看到如下高手： Denis，长期关注 WordPress，精通 WordPress 插件开发。 个人博客：我爱水煮鱼 Twitter：denishua Crazy Loong，精通 [...]]]></description> <content:encoded><![CDATA[<p>用了两三年 WordPress ，对这个系统熟悉得不能再熟悉了，无数优秀的<a href="http://zou.lu/tags/wordpress%E4%B8%BB%E9%A2%98/" target="_blank">主题</a>、<a href="http://zou.lu/tags/wordpress%E6%8F%92%E4%BB%B6/" target="_blank">插件</a>，WordPress 让个人博客变得易如反掌，所以，WordPress 才会成为一种文化。而作为企业站，如果需要更多丰富的功能而无须专门请人来写程序，那我想 WordPress 一定很适合你。</p><p><span id="more-135"></span></p><p>在国外，用 WordPress 来建站、卖主题、卖插件已俨然成了一种行业，甚至有专门的行业标准，比如 <a href="http://www.templatemonster.com/" target="_blank">TemplateMonster</a> （怪兽模板） 这些专门用来卖 WordPress 主题的网站。但是在国内，没有一个很好的行业标准，或者说，没有形成一种产业，使用 WordPress 的朋友当然很多，但是大多数还是停留在个人博客、团队博客以及一些新闻网站上。</p><p>对于企业站，假如需要某些特殊的功能，一般的做法就是请人来写程序，但是这样就会形成几个弊端：</p><blockquote><p>一、程序员的水平层次不齐，写出来的程序也许会有漏洞，也许不能很好的升级或者二次开发。</p><p>二、因为功能有限，请人来写的程序最多就按照你需要的功能来写，一般不会增加额外的功能，当你需要其他功能的时候，还得继续找人来二次开发。</p><p>三、成本过高，写一个CMS新闻类的程序是很花费时间的，还得考虑安全性、用户体验等。</p></blockquote><p>所以，如果一个企业网站能用开源的程序进行宣传的话，能省很多成本，假如你用的是WordPress的话，还有以下好处：</p><blockquote><p>一、WordPress 程序成熟，漏洞少，升级方便，二次开发也很容易</p><p>二、WordPress 功能强大，很多时候，需要额外的功能只需要增加某个插件即可</p><p>三、WordPress 做企业站还有一个天然的好处，就是有利于 SEO ，因为世界上无数大小的网站都是用 WordPress 做的，SEO 方面，即使你什么都不懂，几个插件或者几行代码就能帮你搞定，更有利于企业网站的宣传。</p><p>四、后台方便，而且有多种离线发布文章的软件，这是一般花钱请人来做的程序所不可比拟的，而且大大的节省了成本。</p></blockquote><p>但是，在国内，以前没有一个很好的团队，能利用 WordPress 负责这种企业网站的外包服务，不是收费太贵就是水平不高。今天，我隆重介绍 <strong>WordPress Jam 团队</strong>（以下简称WPJam）：<a href="http://wpjam.com/">http://wpjam.com/</a></p><p>WPJam 的创始人是著名博客<a href="http://fairyfish.net/" target="_blank">我爱水煮鱼</a>的博主Denis，以三年 WordPress 的经验，外加团队成员高超的技术水平，只要你能想到的，没有他们做不到的。</p><p><a href="//showfom.imgbed.com/WordPressJamWP_1144E/image_3.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="WordPress Jam" src="//showfom.imgbed.com/WordPressJamWP_1144E/image_thumb_3.png" border="0" alt="WordPress Jam" width="340" height="94" /></a></p><p><a href="//showfom.imgbed.com/WordPressJamWP_1144E/image.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="WPJam" src="//showfom.imgbed.com/WordPressJamWP_1144E/image_thumb.png" border="0" alt="WPJam" width="129" height="129" /></a></p><p>在团队网站 （<a href="http://wpjam.com/">http://wpjam.com/</a>） 的介绍页面中，能看到如下高手：</p><p><img src="http://www.gravatar.com/avatar/d5641fcab0de38fb96c98b93a258ed19?s=48&amp;d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D48&amp;r=G" alt="" width="48" height="48" /><br /> <strong>Denis</strong>，长期关注 WordPress，精通 WordPress 插件开发。<br /> 个人博客：<a href="http://fairyfish.net/">我爱水煮鱼</a><br /> Twitter：<a href="http://twitter.com/denishua">denishua</a></p><p><img src="http://www.gravatar.com/avatar/82024cf34f7c5d6853d4f4cb25c96b5b?s=48&amp;d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D48&amp;r=G" alt="" width="48" height="48" /><br /> <strong>Crazy Loong</strong>，精通 WordPress 插件和 PHP 开发。<br /> 个人博客：<a href="http://goto8848.net/">高山仰止</a><br /> Twitter：<a href="http://twitter.com/crazyloong">crazyloong</a></p><p><img src="http://www.gravatar.com/avatar/3f68e55f0a2e304c1f35dc42c6b0a359?s=48&amp;d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D48&amp;r=G" alt="" width="48" height="48" /><br /> <strong>5key</strong>，阿里巴巴著名设计师。<br /> 个人博客：<a href="http://www.5key.net/">5key</a><br /> Twitter：<a href="http://twitter.com/5key">5key</a></p><p><img src="http://www.gravatar.com/avatar/490cf262668eebb0f0f1a50d9d48d702?s=48&amp;d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D48&amp;r=G" alt="" width="48" height="48" /><br /> <strong>mg12</strong>，精通 XHTML+CSS，WordPress 主题和插件制作。WordPress 官方主题频道下载量第一的 iNove 主题的作者。<br /> 个人博客：<a href="http://www.neoease.com/">NeoEase</a><br /> Twitter：<a href="http://twitter.com/mg12">mg12</a></p><p><img src="http://www.gravatar.com/avatar/6d4054d0a36388900351f65924e8c67d?s=48&amp;d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D48&amp;r=G" alt="" width="48" height="48" /><br /> <strong>白云山</strong>，精通 WordPress 插件和 PHP 开发。<br /> 个人博客：<a href="http://www.01on.com">幻龙网络</a></p><p><img src="http://www.gravatar.com/avatar/f583b77dc912ab757dcb12b17cbd525b?s=48&amp;d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D48&amp;r=G" alt="" width="48" height="48" /><br /> <strong>Neekey</strong>，精通 WordPress 插件和 PHP 开发。<br /> 个人博客：<a href="http://photozero.net/">Neekey</a><br /> Twitter：<a href="http://twitter.com/neekey">neekey</a></p><p><img src="http://www.gravatar.com/avatar/7c82d84d9eee60093bda5a2d361010ac?s=48&amp;d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D48&amp;r=G" alt="" width="48" height="48" /><br /> <strong>SunSivan</strong>，熟悉XHTML+CSS，WordPress主题制作。<br /> 个人博客：<a href="http://sivan.in/blog/">Sivan's Blog - 失心瘋</a><br /> Twitter：<a href="http://twitter.com/SunSivan">SunSivan</a></p><p><img src="http://www.gravatar.com/avatar/e0480e48a61580c633eef9191dbebcac?s=48&amp;d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D48&amp;r=G" alt="" width="48" height="48" /><br /> <strong>Owen</strong>，SEM 专家。<br /> 个人博客：<a href="http://sem.joyit.net">So Marketing</a><br /> Twitter：<a href="http://twitter.com/owensky">owensky</a></p><p><img src="http://t.douban.com/icon/u1063421-1.jpg" alt="" /><br /> <strong>月飞灵</strong>，互联网产品设计师，本主题既是月飞灵设计。<br /> Twitter：<a href="http://twitter.com/"></a></p><p><img src="http://www.gravatar.com/avatar/c0d3d3cdd6f4c93499351c7aa2cbcea6?s=48&amp;d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D48&amp;r=G" alt="" width="48" height="48" /><br /> <strong>大猫</strong>，某深圳著名变态 IT 公司（排名在全世界很靠前）前端工程师。<br /> 个人博客：<a href="http://ooxx.me">大猫の意淫网志</a><br /> Twitter：<a href="http://twitter.com/caitou">caitou</a></p><p>嗯，基本都是熟人，基本都可以相信，比如猥琐的大猫，更猥琐的Sivan，超级猥琐的mg12，都是我比较熟悉的人，大可放心让他们这个新生团队为你的企业站做出贡献。你要做的，只是联系WPJam（<a title="http://wpjam.com/contact/" href="http://wpjam.com/contact/">http://wpjam.com/contact/</a>），报上你的需求，谈一个合理的价格，然后，就等着享受吧！</p><p>#人肉广告：当然，假如你想要 <a href="http://zou.lu/" target="_blank">Showfom 小帅锅</a> 帮忙给你的 WordPress 进行彻底的优化也没问题，价格好商量 哈哈</p><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/use-cook-free-domain-for-your-wordpress/" title="提高 WordPress 速度之独立域名图床">提高 WordPress 速度之独立域名图床</a> (155)</li><li><a href="http://zou.lu/mobilepress-themes-fixed/" title="MobilePress 主题汉化并修改">MobilePress 主题汉化并修改</a> (72)</li><li><a href="http://zou.lu/private-themes/" title="换上私人主题 + 清理友链">换上私人主题 + 清理友链</a> (186)</li><li><a href="http://zou.lu/chinese-beauties-in-wordpress-ii/" title="WordPress 中文界的美女们（第二期，有照片）">WordPress 中文界的美女们（第二期，有照片）</a> (307)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (254)</li><li><a href="http://zou.lu/wpg/" title="起来，不愿寂寞的博主们！ &#8211; WPG 硬文">起来，不愿寂寞的博主们！ &#8211; WPG 硬文</a> (124)</li><li><a href="http://zou.lu/careful-about-wordpress-plugins/" title="千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件">千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件</a> (135)</li><li><a href="http://zou.lu/how-to-get-more-comments-on-your-blog/" title="如何获得更多的访客评论留言数">如何获得更多的访客评论留言数</a> (251)</li><li><a href="http://zou.lu/change-domain/" title="走自己牛逼的路，让那些傻逼去说吧">走自己牛逼的路，让那些傻逼去说吧</a> (158)</li><li><a href="http://zou.lu/colorful-tag-cloud-without-any-plugin-in-wordpress/" title="不用任何插件实现 WordPress 的彩色标签云">不用任何插件实现 WordPress 的彩色标签云</a> (110)</li></ul><hr /><div style="padding: 5px 10px; background: rgb(243, 245, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><p>© from <a href="//zou.lu/?from=feed">走点路博客</a>, 2009/12/17. | <a href="http://zou.lu/wpjam/">WordPress Jam - WP 建站服务一条龙</a> | <a href="http://zou.lu/wpjam/#comments">62 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/wordpress/" rel="tag">WordPress</a> | <a href="//zou.lu/?p=135">Link</a> | <a href="http://zi.mu/domain"><font color="red">.me 域名全国最低价，首年仅需40元，续费130元促销中！</font></a></p></div>]]></content:encoded> <wfw:commentRss>http://zou.lu/wpjam/feed/</wfw:commentRss> <slash:comments>62</slash:comments> </item> <item><title>MobilePress 主题汉化并修改</title><link>http://zou.lu/mobilepress-themes-fixed/</link> <comments>http://zou.lu/mobilepress-themes-fixed/#comments</comments> <pubDate>Mon, 30 Nov 2009 13:38:02 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[MobilePress]]></category> <category><![CDATA[WordPress主题]]></category> <category><![CDATA[WordPress插件]]></category><guid isPermaLink="false">http://zou.lu/mobilepress-themes-fixed/</guid> <description><![CDATA[MobilePress 插件能自动识别你的手机浏览，并且为手机特定制作了精美的主题。对我这样深夜手机党来说很适合，尤其是看自己博客的评论，推荐安装！但是，升级插件到 1.1 以后，有这么一个不能忍受的 Bug ： 看评论部分的图片、头像、表情，全部变成 168 宽度，查看一下 css 发现，原来把评论和文章的内容放一个 div 里了，晕，作者居然没考虑这个？？！！ 于是，稍微修改css和模板，顺便汉化了一下，默认的Default主题： iPhone 自适应主题（发表评论会有 js 效果哦，感谢网友 @int8 帮忙截图）： 然后，我放出修改汉化的 Default 和 iPhone主题 下载吧： Default 汉化修改： //showfom.imgbed.com/uploads/mobilepress_theme_showfom_fixed.zip iPhone 汉化修改： //showfom.imgbed.com/uploads/mobilepress_theme_showfom_fixed_iphone.zip 安装方法 1、进入 WordPress 后台，2.7 + 的话，直接在插件里搜索 MobilePress 并安装即可，或者自行去 官方页面 下载 2、把我修改汉化的主题解压出来的 showfom_fixed 和 showfom_fixed_iphone 文件夹放到 wp-content/plugins/mobilepress/themes/ 目录里 （默认就 default 和 iphone 两个文件夹） PS： 1.1.2 [...]]]></description> <content:encoded><![CDATA[<p><a title="MobilePress" href="http://wordpress.org/extend/plugins/mobilepress/" target="_blank">MobilePress</a> 插件能自动识别你的手机浏览，并且为手机特定制作了精美的主题。对我这样深夜手机党来说很适合，尤其是看自己博客的评论，推荐安装！但是，升级插件到 1.1 以后，有这么一个不能忍受的 Bug ：</p><p><a href="//showfom.imgbed.com/MobilePress_12FF2/image.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" src="//showfom.imgbed.com/MobilePress_12FF2/image_thumb.png" border="0" alt="image" width="203" height="244" /></a></p><p><span id="more-130"></span></p><p>看评论部分的图片、头像、表情，全部变成 168 宽度，查看一下 css 发现，原来把评论和文章的内容放一个 div 里了，晕，作者居然没考虑这个？？！！</p><p>于是，稍微修改css和模板，顺便汉化了一下，默认的Default主题：</p><p><a href="//showfom.imgbed.com/MobilePress_12FF2/image_3.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" src="//showfom.imgbed.com/MobilePress_12FF2/image_thumb_3.png" border="0" alt="image" width="176" height="244" /></a></p><p><a href="//showfom.imgbed.com/MobilePress_12FF2/image_4.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" src="//showfom.imgbed.com/MobilePress_12FF2/image_thumb_4.png" border="0" alt="image" width="144" height="244" /></a></p><p><a href="//showfom.imgbed.com/MobilePress_12FF2/image_5.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" src="//showfom.imgbed.com/MobilePress_12FF2/image_thumb_5.png" border="0" alt="image" width="141" height="244" /></a></p><p>iPhone 自适应主题（发表评论会有 js 效果哦，感谢网友 @int8 帮忙截图）：</p><p><a href="//showfom.imgbed.com/MobilePress_12FF2/image_8.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" src="//showfom.imgbed.com/MobilePress_12FF2/image_thumb_8.png" border="0" alt="image" width="164" height="244" /></a></p><p><a href="//showfom.imgbed.com/MobilePress_12FF2/image_9.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" src="//showfom.imgbed.com/MobilePress_12FF2/image_thumb_9.png" border="0" alt="image" width="164" height="244" /></a></p><p><a href="//showfom.imgbed.com/MobilePress_12FF2/image_10.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" src="//showfom.imgbed.com/MobilePress_12FF2/image_thumb_10.png" border="0" alt="image" width="164" height="244" /></a></p><p><a href="//showfom.imgbed.com/MobilePress_12FF2/image_11.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" src="//showfom.imgbed.com/MobilePress_12FF2/image_thumb_11.png" border="0" alt="image" width="164" height="244" /></a></p><p>然后，我放出修改汉化的 Default 和 iPhone主题 下载吧：</p><p>Default 汉化修改：</p><p><a title="//showfom.imgbed.com/uploads/mobilepress_theme_showfom_fixed.zip" href="//showfom.imgbed.com/uploads/mobilepress_theme_showfom_fixed.zip">//showfom.imgbed.com/uploads/mobilepress_theme_showfom_fixed.zip</a></p><p>iPhone 汉化修改：</p><p><a title="//showfom.imgbed.com/uploads/mobilepress_theme_showfom_fixed.zip" href="//showfom.imgbed.com/uploads/mobilepress_theme_showfom_fixed_iphone.zip">//showfom.imgbed.com/uploads/mobilepress_theme_showfom_fixed_iphone.zip</a></p><h2>安装方法</h2><p>1、进入 WordPress 后台，2.7 + 的话，直接在插件里搜索 <strong>MobilePress</strong> 并安装即可，或者自行去 <a title="MobilePress" href="http://wordpress.org/extend/plugins/mobilepress/" target="_blank">官方页面</a> 下载</p><p>2、把我修改汉化的主题解压出来的 <strong>showfom_fixed</strong> 和 <strong>showfom_fixed_iphone</strong> 文件夹放到 <strong>wp-content/plugins/mobilepress/themes/</strong> 目录里 （默认就 default 和 iphone 两个文件夹）</p><p><span style="color: #ff0000;">PS： 1.1.2 版本以后 主题文件位于 <strong>wp-content/mobile-themes/ （默认是这个，需要自己建立目录，在设置里的 Mobile Themes Directory 可以自行修改）</strong></span></p><p>3、激活插件，在选项（Options）里 选择两个主题， Default 改成 Showfom Default Fixed （点击预览图即可更换），如图：</p><p><a href="//showfom.imgbed.com/MobilePress_12FF2/image_6.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" src="//showfom.imgbed.com/MobilePress_12FF2/image_thumb_6.png" border="0" alt="image" width="635" height="200" /></a></p><p>iPhone 改成 Showfom iPhone Fixed</p><p>3、拿起你的手机访问吧。</p><h2>相关说明</h2><p>1、博客有缓存的话，需要删除缓存，否则立马访问会没有效果（更换主题以后）</p><p>2、其实主题里的 php函数 全部是 WordPress 主题 的函数，很容易自己diy</p><p>3、默认在电脑上可以用 <a title="http://zou.lu/?mobile" href="http://zou.lu/?mobile">http://zou.lu/?mobile</a> 这样的地址来访问预览默认主题，iPhone 的话需要在 Firefox 下安装 <a href="https://addons.mozilla.org/zh-CN/firefox/addon/59">User Agent Switcher</a> 扩展，详见：<a title="http://fis.io/mobile-user-agents-list.html" href="http://fis.io/mobile-user-agents-list.html">http://fis.io/mobile-user-agents-list.html</a></p><p>4、安装 WP Super Cache 插件的童鞋，需要开启 Mobile device support：</p><p><a href="//showfom.imgbed.com/MobilePress_12FF2/image_7.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" src="//showfom.imgbed.com/MobilePress_12FF2/image_thumb_7.png" border="0" alt="image" width="168" height="39" /></a></p><p>5、<a href="http://wordpress.org/extend/plugins/wordpress-thread-comment/" target="_blank">WordPress Thread Comment</a> 插件的回复点击没有效果……</p><p>6、<a href="http://zou.lu/comment-info-detector/" target="_blank">Comment Info Detector</a> 插件 设置以后，还是可以自动显示国旗的小图标，很酷</p><p>7、欢迎反馈 Bug ，默认开启了访问没效果的是因为没有清空缓存，可以试试把 showfom_fixed 文件夹里的 php 文件全部覆盖到 default 文件夹，iphone 道理一样，不再重复。</p><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/private-themes/" title="换上私人主题 + 清理友链">换上私人主题 + 清理友链</a> (186)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (254)</li><li><a href="http://zou.lu/careful-about-wordpress-plugins/" title="千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件">千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件</a> (135)</li><li><a href="http://zou.lu/colorful-tag-cloud-without-any-plugin-in-wordpress/" title="不用任何插件实现 WordPress 的彩色标签云">不用任何插件实现 WordPress 的彩色标签云</a> (110)</li><li><a href="http://zou.lu/comments-text-replace/" title="WordPress 精简版评论文明用语插件">WordPress 精简版评论文明用语插件</a> (116)</li><li><a href="http://zou.lu/wordpress-plugins-i-used/" title="我使用的 WordPress 插件">我使用的 WordPress 插件</a> (90)</li><li><a href="http://zou.lu/notes-for-wordpress-28-upgrading/" title="升级到 WordPress 2.8 以后要注意的事项">升级到 WordPress 2.8 以后要注意的事项</a> (61)</li><li><a href="http://zou.lu/optimize-wordpress-database-query-middle-object-cache/" title="优化你的 WordPress 之减少数据库查询次数（中级篇补充之 Object Cache）">优化你的 WordPress 之减少数据库查询次数（中级篇补充之 Object Cache）</a> (43)</li><li><a href="http://zou.lu/optimize-wordpress-database-query-middle/" title="优化你的 WordPress 之减少数据库查询次数（中级篇）">优化你的 WordPress 之减少数据库查询次数（中级篇）</a> (30)</li><li><a href="http://zou.lu/wordpress-themes-from-web-design-lessons/" title="推荐几款 Web Design Lessons 的主题（超赞！）">推荐几款 Web Design Lessons 的主题（超赞！）</a> (17)</li></ul><hr /><div style="padding: 5px 10px; background: rgb(243, 245, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><p>© from <a href="//zou.lu/?from=feed">走点路博客</a>, 2009/11/30. | <a href="http://zou.lu/mobilepress-themes-fixed/">MobilePress 主题汉化并修改</a> | <a href="http://zou.lu/mobilepress-themes-fixed/#comments">72 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/mobilepress/" rel="tag">MobilePress</a>, <a href="http://zou.lu/tags/wordpress/" rel="tag">WordPress</a>, <a href="http://zou.lu/tags/wordpress%e4%b8%bb%e9%a2%98/" rel="tag">WordPress主题</a>, <a href="http://zou.lu/tags/wordpress%e6%8f%92%e4%bb%b6/" rel="tag">WordPress插件</a> | <a href="//zou.lu/?p=130">Link</a> | <a href="http://zi.mu/domain"><font color="red">.me 域名全国最低价，首年仅需40元，续费130元促销中！</font></a></p></div>]]></content:encoded> <wfw:commentRss>http://zou.lu/mobilepress-themes-fixed/feed/</wfw:commentRss> <slash:comments>72</slash:comments> </item> <item><title>AA.CX 短网址 WordPress 插件</title><link>http://zou.lu/aacx-wordpress-plugin/</link> <comments>http://zou.lu/aacx-wordpress-plugin/#comments</comments> <pubDate>Mon, 23 Nov 2009 09:18:39 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[AA.CX]]></category> <category><![CDATA[Short Url]]></category> <category><![CDATA[uLShort]]></category> <category><![CDATA[WordPress插件]]></category> <category><![CDATA[短网址]]></category><guid isPermaLink="false">http://zou.lu/aacx-wordpress-plugin/</guid> <description><![CDATA[随着 Bit.ly 等一大批国外短网址系统身处天朝防火墙之外，应该是国内短网址登上舞台的时候了。 AA.CX 是用 uLShort 这款开源程序搭建的，服务器位于国内，域名备过案，算是正规网站吧（偷笑ing）基本不怕被墙，当然在天朝的网络制度下，万一哪天假如网监要求我删除某个链接那是必须照做的。 写博客的朋友大多是很和谐的，一定不会做坏事，所以，为了推广 AA.CX 短网址，特意模仿修改了一款老插件 《缩短网址工具》，旧插件使用的是已经消失的国内某个短网址服务，所以我说嘛，这个东西还是自己来做的比较好。 什么是短网址？为什么我要使用 AA.CX 短网址？ AA.CX 短网址是 Showfom 通过 uLShort 修改的短网址网站，具有如下特点： 1、网址够短，域名只有四个字符，目前生成的短网址总共不超过15个字符，还不够短吗？ 2、具有黑名单过滤功能，具有图片视频音频等媒体在线播放功能，具有 aa.cx 短网址预览功能 3、开放 API 4、实际上是有统计功能的，数据库里全部记录，只需要在网址后面加入 ~ 符号即可，比如： http://aa.cx/jp~ 5、服务器位于国内，速度更快更方便，不易被墙。 插件作者： 原作者：PKPHP 修改：Showfom 插件简介： WordPress 短网址插件，自动调用 AA.CX 短网址，通用版需要自己增加代码，懒人版自动在文章内容底部增加短网址链接，无需手工输入获得短网址，适合在 Twitter、嘀咕 等微博客平台上进行博客文章的推广。 适用版本： WordPress 2.3+，几乎通用任何版本 插件预览： 插件下载： 通用版 （Download） &#124; 懒人版 （Easy Version Download） 安装方法： 1、针对喜欢折腾的用户，请下载通用版，上传激活以后，修改自己主题的 [...]]]></description> <content:encoded><![CDATA[<p>随着 <strong>Bit.ly</strong> 等一大批国外短网址系统身处天朝防火墙之外，应该是国内短网址登上舞台的时候了。 AA.CX 是用 <a title="uLShort" href="http://zou.lu/ulshort/" target="_blank"><strong>uLShort</strong></a> 这款开源程序搭建的，服务器位于国内，域名备过案，算是正规网站吧（偷笑ing）基本不怕被墙，当然在天朝的网络制度下，万一哪天假如网监要求我删除某个链接那是必须照做的。</p><p>写博客的朋友大多是很和谐的，一定不会做坏事，所以，为了推广 <a href="http://aa.cx/" target="_blank">AA.CX 短网址</a>，特意模仿修改了一款老插件 《<a href="http://www.pkphp.com/2008/05/31/%E7%BC%A9%E7%9F%AD%E7%BD%91%E5%9D%80%E5%B7%A5%E5%85%B7short-url-wordpress-plugin/" target="_blank">缩短网址工具</a>》，旧插件使用的是已经消失的国内某个短网址服务，所以我说嘛，这个东西还是自己来做的比较好。</p><p><span id="more-124"></span></p><h2>什么是短网址？为什么我要使用 AA.CX 短网址？</h2><h2><a href="//showfom.imgbed.com/AA.CXWordPress_F366/LogoMaker.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="AA.CX 短网址 WordPress 插件" src="//showfom.imgbed.com/AA.CXWordPress_F366/LogoMaker_thumb.png" border="0" alt="AA.CX 短网址 WordPress 插件" width="240" height="112" /></a></h2><p><a href="http://aa.cx/" target="_blank">AA.CX</a> 短网址是 <a href="http://zou.lu/" target="_blank">Showfom</a> 通过 <a title="uLShort" href="http://zou.lu/ulshort/" target="_blank">uLShort</a> 修改的短网址网站，具有如下特点：</p><p>1、网址够短，域名只有四个字符，目前生成的短网址总共不超过15个字符，还不够短吗？</p><p>2、具有黑名单过滤功能，具有图片视频音频等媒体在线播放功能，具有 aa.cx 短网址预览功能</p><p>3、开放 API</p><p>4、实际上是有统计功能的，数据库里全部记录，只需要在网址后面加入 ~ 符号即可，比如： <a href="http://aa.cx/jp~">http://aa.cx/jp~</a></p><p>5、服务器位于国内，速度更快更方便，不易被墙。</p><h2>插件作者：</h2><p>原作者：<a href="http://www.pkphp.com/2008/05/31/%E7%BC%A9%E7%9F%AD%E7%BD%91%E5%9D%80%E5%B7%A5%E5%85%B7short-url-wordpress-plugin/" target="_blank">PKPHP</a></p><p>修改：<a href="http://zou.lu/" target="_blank">Showfom</a></p><h2>插件简介：</h2><p><strong>WordPress 短网址插件</strong>，自动调用 <a title="AA.CX 短网址" href="http://aa.cx/" target="_blank">AA.CX 短网址</a>，通用版需要自己增加代码，懒人版自动在文章内容底部增加短网址链接，无需手工输入获得短网址，适合在 <a href="https://tuite.de/Showfom" target="_blank">Twitter</a>、<a href="http://digu.com/Showfom" target="_blank">嘀咕</a> 等微博客平台上进行博客文章的推广。</p><h2>适用版本：</h2><p>WordPress 2.3+，几乎通用任何版本</p><h2>插件预览：</h2><p><a href="//showfom.imgbed.com/AA.CXWordPress_F366/image.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="AA.CX 短网址 WordPress 插件" src="//showfom.imgbed.com/AA.CXWordPress_F366/image_thumb.png" border="0" alt="AA.CX 短网址 WordPress 插件" width="517" height="62" /></a></p><h2>插件下载：</h2><p><a title="通用版下载" href="//showfom.imgbed.com/uploads/aacx_url.zip" target="_blank">通用版</a> （<a href="//showfom.imgbed.com/uploads/aacx_url.zip" target="_blank">Download</a>） | <a title="懒人版下载" href="//showfom.imgbed.com/uploads/aacx.zip" target="_blank">懒人版</a> （<a href="//showfom.imgbed.com/uploads/aacx.zip" target="_blank">Easy Version Download</a>）</p><h2>安装方法：</h2><p>1、针对喜欢折腾的用户，请下载通用版，上传激活以后，修改自己主题的 <strong>single.php</strong> ，加入<strong> aacx_url()</strong> 函数即可，比如（可能要把全角符号修改成半角符号）</p><div class="source" style="background-color: #333333; font-family: &quot;[object HTMLOptionElement]&quot;,&quot;monospace&quot;; color: #ffffff"><span style="color: #ffffff">&lt;p&gt;本文短网址：&lt;a href="</span><span style="color: #cd5c5c">&lt;?php</span> <span style="color: #f0e68c">if</span> (<span style="color: #ffffff">function_exists</span>(<span style="color: #ffffff">'aacx_url'</span>)) <span style="color: #ffffff">aacx_url</span>(); <span style="color: #cd5c5c">?&gt;</span><span style="color: #ffffff">" title="</span><span style="color: #cd5c5c">&lt;?php</span> <span style="color: #ffffff">the_title</span>(); <span style="color: #cd5c5c">?&gt;</span><span style="color: #ffffff">"  rel="external nofollow"&gt;</span><span style="color: #cd5c5c">&lt;?php</span> <span style="color: #f0e68c">if</span> (<span style="color: #ffffff">function_exists</span>(<span style="color: #ffffff">'aacx_url'</span>)) <span style="color: #ffffff">aacx_url</span>(); <span style="color: #cd5c5c">?&gt;</span><span style="color: #ffffff">&lt;/a&gt;&lt;/p&gt;</span></div><p>还可以参考我的做法，加入收藏和分享的相关链接：</p><div class="source" style="background-color: #333333; font-family: &quot;[object HTMLOptionElement]&quot;,&quot;monospace&quot;; color: #ffffff"><span style="color: #ffffff">&lt;p&gt;收藏+分享: &lt;a href="http://del.icio.us/post?url=</span><span style="color: #cd5c5c">&lt;?php</span> <span style="color: #f0e68c">if</span> (<span style="color: #ffffff">function_exists</span>(<span style="color: #ffffff">'aacx_url'</span>)) <span style="color: #ffffff">aacx_url</span>(); <span style="color: #cd5c5c">?&gt;</span><span style="color: #ffffff">&amp;amp;title=</span><span style="color: #cd5c5c">&lt;?php</span> <span style="color: #ffffff">the_title</span>(); <span style="color: #cd5c5c">?&gt;</span><span style="color: #ffffff">" target="_blank" rel="nofollow"&gt;Delicious&lt;/a&gt; / &lt;a href="https://skydrive.live.com/sharefavorite.aspx/.SharedFavorites/?url=</span><span style="color: #cd5c5c">&lt;?php</span> <span style="color: #f0e68c">if</span> (<span style="color: #ffffff">function_exists</span>(<span style="color: #ffffff">'aacx_url'</span>)) <span style="color: #ffffff">aacx_url</span>(); <span style="color: #cd5c5c">?&gt;</span><span style="color: #ffffff">&amp;amp;title=</span><span style="color: #cd5c5c">&lt;?php</span> <span style="color: #ffffff">the_title</span>(); <span style="color: #cd5c5c">?&gt;</span><span style="color: #ffffff">" target="_blank" rel="nofollow"&gt;Live Favorites&lt;/a&gt; / &lt;a href="http://www.google.com/bookmarks/mark?op=edit&amp;amp;bkmk=</span><span style="color: #cd5c5c">&lt;?php</span> <span style="color: #f0e68c">if</span> (<span style="color: #ffffff">function_exists</span>(<span style="color: #ffffff">'aacx_url'</span>)) <span style="color: #ffffff">aacx_url</span>(); <span style="color: #cd5c5c">?&gt;</span><span style="color: #ffffff">&amp;amp;title=</span><span style="color: #cd5c5c">&lt;?php</span> <span style="color: #ffffff">the_title</span>(); <span style="color: #cd5c5c">?&gt;</span><span style="color: #ffffff">" target="_blank" rel="nofollow"&gt;Google书签&lt;/a&gt; / &lt;a href="http://cang.baidu.com/do/add?iu=</span><span style="color: #cd5c5c">&lt;?php</span> <span style="color: #f0e68c">if</span> (<span style="color: #ffffff">function_exists</span>(<span style="color: #ffffff">'aacx_url'</span>)) <span style="color: #ffffff">aacx_url</span>(); <span style="color: #cd5c5c">?&gt;</span><span style="color: #ffffff">&amp;amp;it=</span><span style="color: #cd5c5c">&lt;?php</span> <span style="color: #ffffff">the_title</span>(); <span style="color: #cd5c5c">?&gt;</span><span style="color: #ffffff">&amp;amp;dc=&amp;amp;fr=ien#nw=1" target="_blank" rel="nofollow"&gt;百度搜藏&lt;/a&gt; / &lt;a href="http://shuqian.qq.com/post?uri=</span><span style="color: #cd5c5c">&lt;?php</span> <span style="color: #f0e68c">if</span> (<span style="color: #ffffff">function_exists</span>(<span style="color: #ffffff">'aacx_url'</span>)) <span style="color: #ffffff">aacx_url</span>(); <span style="color: #cd5c5c">?&gt;</span><span style="color: #ffffff">&amp;amp;title=</span><span style="color: #cd5c5c">&lt;?php</span> <span style="color: #ffffff">the_title</span>(); <span style="color: #cd5c5c">?&gt;</span><span style="color: #ffffff">" target="_blank" rel="nofollow"&gt;QQ书签&lt;/a&gt; / &lt;a href="http://fanfou.com/sharer?u=</span><span style="color: #cd5c5c">&lt;?php</span> <span style="color: #f0e68c">if</span> (<span style="color: #ffffff">function_exists</span>(<span style="color: #ffffff">'aacx_url'</span>)) <span style="color: #ffffff">aacx_url</span>(); <span style="color: #cd5c5c">?&gt;</span><span style="color: #ffffff">&amp;amp;t=</span><span style="color: #cd5c5c">&lt;?php</span> <span style="color: #ffffff">the_title</span>(); <span style="color: #cd5c5c">?&gt;</span><span style="color: #ffffff">" target="_blank" rel="nofollow"&gt;饭否&lt;/a&gt; / &lt;a href="http://www.douban.com/recommend/?url=</span><span style="color: #cd5c5c">&lt;?php</span> <span style="color: #f0e68c">if</span> (<span style="color: #ffffff">function_exists</span>(<span style="color: #ffffff">'aacx_url'</span>)) <span style="color: #ffffff">aacx_url</span>(); <span style="color: #cd5c5c">?&gt;</span><span style="color: #ffffff">&amp;amp;title=</span><span style="color: #cd5c5c">&lt;?php</span> <span style="color: #ffffff">the_title</span>(); <span style="color: #cd5c5c">?&gt;</span><span style="color: #ffffff">&amp;amp;sel=&amp;amp;v=1&amp;amp;n=1" target="_blank" rel="nofollow"&gt;豆瓣&lt;/a&gt; / &lt;a href="https://tuite.de/share.php?u=</span><span style="color: #cd5c5c">&lt;?php</span> <span style="color: #f0e68c">if</span> (<span style="color: #ffffff">function_exists</span>(<span style="color: #ffffff">'aacx_url'</span>)) <span style="color: #ffffff">aacx_url</span>(); <span style="color: #cd5c5c">?&gt;</span><span style="color: #ffffff">&amp;t=</span><span style="color: #cd5c5c">&lt;?php</span> <span style="color: #ffffff">the_title</span>(); <span style="color: #cd5c5c">?&gt;</span><span style="color: #ffffff">&amp;d=&amp;s=bm" target="_blank" rel="nofollow"&gt;Twitter&lt;/a&gt;&lt;/p&gt;</span></div><p><strong>2、针对新手或者懒人用户，请下载懒人版，上传激活以后，自行会在文章内容末尾增加短网址链接，十分方便。</strong></p><p>================</p><p><strong>PS 1：</strong>假如你想用自己的短网址，修改插件的<strong> http://aa.cx/api.php?url= </strong>为你自己的<strong> API 地址 </strong>即可</p><p><strong>PS 2：</strong>某人会很无耻在一些博客装上此插件，哇咔咔。</p><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/ulshort/" title="uLShort &#8211; 免费开源功能强大的短网址程序">uLShort &#8211; 免费开源功能强大的短网址程序</a> (84)</li><li><a href="http://zou.lu/yourls/" title="使用 Yourls 强化你的短网址系统">使用 Yourls 强化你的短网址系统</a> (82)</li><li><a href="http://zou.lu/get-your-own-short-url/" title="创建自己域名的短网址服务">创建自己域名的短网址服务</a> (30)</li><li><a href="http://zou.lu/pretty-link/" title="Pretty Link 又一款WordPress短网址插件">Pretty Link 又一款WordPress短网址插件</a> (24)</li><li><a href="http://zou.lu/short-url/" title="20+国内外短网址大点评">20+国内外短网址大点评</a> (33)</li><li><a href="http://zou.lu/mobilepress-themes-fixed/" title="MobilePress 主题汉化并修改">MobilePress 主题汉化并修改</a> (72)</li><li><a href="http://zou.lu/wordpress-spam-comments-sucks/" title="WordPress 评论群发器？操你大爷的！">WordPress 评论群发器？操你大爷的！</a> (190)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (254)</li><li><a href="http://zou.lu/careful-about-wordpress-plugins/" title="千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件">千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件</a> (135)</li><li><a href="http://zou.lu/comments-text-replace/" title="WordPress 精简版评论文明用语插件">WordPress 精简版评论文明用语插件</a> (116)</li></ul><hr /><div style="padding: 5px 10px; background: rgb(243, 245, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><p>© from <a href="//zou.lu/?from=feed">走点路博客</a>, 2009/11/23. | <a href="http://zou.lu/aacx-wordpress-plugin/">AA.CX 短网址 WordPress 插件</a> | <a href="http://zou.lu/aacx-wordpress-plugin/#comments">103 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/aa-cx/" rel="tag">AA.CX</a>, <a href="http://zou.lu/tags/short-url/" rel="tag">Short Url</a>, <a href="http://zou.lu/tags/ulshort/" rel="tag">uLShort</a>, <a href="http://zou.lu/tags/wordpress%e6%8f%92%e4%bb%b6/" rel="tag">WordPress插件</a>, <a href="http://zou.lu/tags/%e7%9f%ad%e7%bd%91%e5%9d%80/" rel="tag">短网址</a> | <a href="//zou.lu/?p=124">Link</a> | <a href="http://zi.mu/domain"><font color="red">.me 域名全国最低价，首年仅需40元，续费130元促销中！</font></a></p></div>]]></content:encoded> <wfw:commentRss>http://zou.lu/aacx-wordpress-plugin/feed/</wfw:commentRss> <slash:comments>103</slash:comments> </item> <item><title>WordPress 中文界的美女们（第二期，有照片）</title><link>http://zou.lu/chinese-beauties-in-wordpress-ii/</link> <comments>http://zou.lu/chinese-beauties-in-wordpress-ii/#comments</comments> <pubDate>Sun, 15 Nov 2009 13:57:02 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[美女]]></category><guid isPermaLink="false">http://zou.lu/chinese-beauties-in-wordpress-ii/</guid> <description><![CDATA[自从 《 WordPress 中文界的美女们（第一期）》 问世，WordPress 里的女生一直是广大色狼中津津乐道的话题，因为玩博客的大多是单身宅男，电脑里囤积了不少好片子，内心是多么饥渴，于是乎，MM们的博客总是受到欢迎，而刚开始独立博客的MM们，由于技术不是很好，总是要找像 Showfom 小帅锅 这样的有后台的有名气的作为衬托，毕竟刚开始独立博客，总得有人气嘛，所以，偶就在这里推荐第二期美女们的博客，先无视他们的要求，放出部分PP，嗯哼…… PS：本期只收录有照片的MM们，假如您认为侵权了，告诉我就是，我会撤下的…… 以下排名没有先后，要真的有先后的话？潜规则不？可以吗？不可以吗？这个……可以有。。。 1、Ell 小朋友 博客地址：http://ell.im/ Twitter：@hELLoELL ELL 小朋友现居英国留学（玩耍？）反正就一小朋友，颜文字严重拥护者，╮(￣▽￣&#34;)╭ 每次都向我撒娇，每次被 shuil 那只大色狼欺负的时候，还不是想到兽兽哥哥我了嘛~ ( ′ 3`) sigh~ 很可爱，博客记录的是在英国留学的事情，每每打越洋长途的时候都是特别忙，比如去超市啦，比如那啥啦。。。听 Ell 说英国人都是水桶，长度和宽度一样的那种大胖子很多，嗯，那偶就放心了，哈哈。 推荐喜欢偷窥别人生活隐私的色狼们观看并且订阅！ &#160; 2、Nomote 小淤泥 博客地址：http://www.nomote.com/ 淤泥姐是属于那种，怎么说呢，中国古典女子的特点基于一身，东方美女懂吧？特别听话特别温顺的那种，不知道是不是家里的尼采太听话，所以猫传染给人了呢？ 淤泥姐一直单身在北京，唔，想我了没？ 最近在读书，或许能悟出一些常人不知道的哲理，天冷了，还是多穿点衣服吧。 推荐色狼们订阅！ 4、Echocolo 萌姐 博客地址：http://echomeng.com/ Twitter：@echocolo 哼哼，说到煎蛋的萌姐，我们认识都那么久了，还那啥那啥。。。。好不容易从非死不可上找到一张照片，是不是有点吓人？？不管她了，我先放出再说 哇咔咔。 萌姐很可爱，工作很辛苦，望一切安好。 博客中推荐的欧美音乐多，推荐喜欢陶冶情操的色狼们订阅！ 5、Doublechou 苏 博客地址：http://doublechou.us/ Twitter：@doublechou 说道小苏姐姐，反正现在她在遥远的非洲还是东亚西亚半出差半旅游，嗯嗯，说几句坏话应该没事吧？哇咔咔，反正那么远，你也打不到我 哈哈。 小苏姐姐是一只 Linux 小女子，无奈偶对 Linux 一头雾水，除非是博客上遇到的问题，其他的我还真的头大。。。 [...]]]></description> <content:encoded><![CDATA[<p>自从 《 <a href="http://zou.lu/chinese-beauties-in-wordpress/" target="_blank">WordPress 中文界的美女们（第一期）</a>》 问世，<strong>WordPress</strong> 里的女生一直是广大色狼中津津乐道的话题，因为玩博客的大多是单身宅男，电脑里囤积了不少好片子，内心是多么饥渴，于是乎，MM们的博客总是受到欢迎，而刚开始独立博客的MM们，由于技术不是很好，总是要找像 Showfom 小帅锅 这样的有后台的有名气的作为衬托，毕竟刚开始独立博客，总得有人气嘛，所以，偶就在这里推荐第二期美女们的博客，先无视他们的要求，放出部分PP，嗯哼……</p><p><font color="#ff0000"><strong>PS：本期只收录有照片的MM们，假如您认为侵权了，告诉我就是，我会撤下的……</strong></font></p><p> <span id="more-122"></span><p align="center"><strong>以下排名没有先后，要真的有先后的话？潜规则不？可以吗？不可以吗？这个……可以有。。。</strong></p><h2>1、Ell 小朋友</p></h2><p>博客地址：<a href="http://ell.im/">http://ell.im/</a></p><p>Twitter：<a href="https://tuite.de/helloell" target="_blank">@hELLoELL</a></p><blockquote><p>ELL 小朋友现居英国留学（玩耍？）反正就一小朋友，颜文字严重拥护者，╮(￣▽￣&quot;)╭ 每次都向我撒娇，每次被 <a href="http://www.shuilog.cn/" target="_blank">shuil</a> 那只大色狼欺负的时候，还不是想到兽兽哥哥我了嘛~ ( ′ 3`) sigh~</p><p>很可爱，博客记录的是在英国留学的事情，每每打越洋长途的时候都是特别忙，比如去超市啦，比如那啥啦。。。听 Ell 说英国人都是水桶，长度和宽度一样的那种大胖子很多，嗯，那偶就放心了，哈哈。</p></blockquote><p>推荐喜欢偷窥别人生活隐私的色狼们观看并且订阅！</p><p><a href="//showfom.imgbed.com/WordPress_13317/image.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Ell" border="0" alt="Ell" src="//showfom.imgbed.com/WordPress_13317/image_thumb.png" width="244" height="184" /></a></p><p><a href="//showfom.imgbed.com/WordPress_13317/image_3.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Ell" border="0" alt="Ell" src="//showfom.imgbed.com/WordPress_13317/image_thumb_3.png" width="184" height="244" /></a>&#160;</p><h2>2、Nomote 小淤泥 <br /></h2><p>博客地址：<a href="http://www.nomote.com/">http://www.nomote.com/</a></p><blockquote><p>淤泥姐是属于那种，怎么说呢，中国古典女子的特点基于一身，东方美女懂吧？特别听话特别温顺的那种，不知道是不是家里的尼采太听话，所以猫传染给人了呢？</p><p>淤泥姐一直单身在北京，唔，想我了没？</p><p>最近在读书，或许能悟出一些常人不知道的哲理，天冷了，还是多穿点衣服吧。</p></blockquote><p>推荐色狼们订阅！</p><p><a href="//showfom.imgbed.com/WordPress_13317/image_4.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Nomote" border="0" alt="Nomote" src="//showfom.imgbed.com/WordPress_13317/image_thumb_4.png" width="244" height="172" /></a></p><p><a href="//showfom.imgbed.com/WordPress_13317/image_5.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Nomote" border="0" alt="Nomote" src="//showfom.imgbed.com/WordPress_13317/image_thumb_5.png" width="125" height="244" /></a></p><h2>4、Echocolo 萌姐 <br /></h2><p>博客地址：<a title="http://echomeng.com/" href="http://echomeng.com/">http://echomeng.com/</a></p><p>Twitter：<a href="https://tuite.de/echocolo" target="_blank">@echocolo</a></p><blockquote><p>哼哼，说到煎蛋的萌姐，我们认识都那么久了，还那啥那啥。。。。好不容易从非死不可上找到一张照片，是不是有点吓人？？不管她了，我先放出再说 哇咔咔。</p><p>萌姐很可爱，工作很辛苦，望一切安好。</p></blockquote><p>博客中推荐的欧美音乐多，推荐喜欢陶冶情操的色狼们订阅！</p><p><a href="//showfom.imgbed.com/WordPress_13317/image_6.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="萌姐" border="0" alt="萌姐" src="//showfom.imgbed.com/WordPress_13317/image_thumb_6.png" width="204" height="229" /></a></p><h2>5、Doublechou 苏 <br /></h2><p>博客地址：<a href="http://doublechou.us/">http://doublechou.us/</a></p><p>Twitter：<a href="https://tuite.de/doublechou" target="_blank">@doublechou</a></p><blockquote><p>说道小苏姐姐，反正现在她在遥远的非洲还是东亚西亚半出差半旅游，嗯嗯，说几句坏话应该没事吧？哇咔咔，反正那么远，你也打不到我 哈哈。</p><p>小苏姐姐是一只 Linux 小女子，无奈偶对 Linux 一头雾水，除非是博客上遇到的问题，其他的我还真的头大。。。</p><p>PS：该女子学识渊博，先做好心理准备。</p></blockquote><p>推荐喜欢探讨技术的色狼们订阅！</p><p><a href="//showfom.imgbed.com/WordPress_13317/image_7.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Doublechou" border="0" alt="Doublechou" src="//showfom.imgbed.com/WordPress_13317/image_thumb_7.png" width="184" height="244" /></a>&#160;</p><h2>6、深白色 <br /></h2><p>博客地址：<a title="http://deepwhite.cc/" href="http://deepwhite.cc/">http://deepwhite.cc/</a></p><blockquote><p>深白色姐姐应该是在澳大利亚吧，博客是放荷兰的空间的，速度不错，验证码很变态，好歹人家有专门的摄影师，拍出来的照片都是很诱人很有风味的，然后…… 嗯，博客都是记录生活心情的，好奇者记得一定要去哦。</p></blockquote><p>推荐喜欢看照片并有收藏之癖的色狼们订阅！</p><p><a href="//showfom.imgbed.com/WordPress_13317/image_8.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="深白色" border="0" alt="深白色" src="//showfom.imgbed.com/WordPress_13317/image_thumb_8.png" width="164" height="244" /></a></p><p><a href="//showfom.imgbed.com/WordPress_13317/image_9.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="深白色" border="0" alt="深白色" src="//showfom.imgbed.com/WordPress_13317/image_thumb_9.png" width="244" height="164" /></a></p><h2>7、Yaya</h2><blockquote><p>介个……好不容易才找到一张照片的，本来应该把 Jujue 也拉来，死活不给偶照片，美其名曰：兽兽太色了，不给不给，囧…… Yaya 姐应该也在国外吧，身在国外的MM气质就是好，深白色、Jujue 还有 Yaya 可是 WPG 上的人气明星啊，至于 Ell ？小朋友我就不说啥了。</p></blockquote><p>推荐色狼订阅！</p><p>博客地址：<a title="http://baobeiyaya.free.fr/blog2/" href="http://baobeiyaya.free.fr/blog2/">http://baobeiyaya.free.fr/blog2/</a></p><p><a href="//showfom.imgbed.com/WordPress_13317/image_10.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Yaya" border="0" alt="Yaya" src="//showfom.imgbed.com/WordPress_13317/image_thumb_10.png" width="137" height="204" /></a></p><p>&#160;</p><h2>8、 @ag108lau 颜姐 <br /></h2><p>博客地址：<a title="http://blog.youfaner.com/" href="http://blog.youfaner.com/">http://blog.youfaner.com/</a></p><p>Twitter：<a href="https://tuite.de/ag108lau" target="_blank">@ag108lau</a></p><blockquote><p>颜女王，颜姐的博客很低调，很少人知道，大多都是在 Twitter 上了解的，然后，嗯哼，听说最近改行做才女了，年轻的时候真可爱哦！颜姐我以前在<a href="http://zou.lu/you-are-not-fighting-alone/" target="_blank">这篇文章</a>末尾推荐过她，唔，每次和颜姐打电话都特别搞笑，因为据说某人是研究人类心理的，每次我想说什么她都事先知道，不好玩不好玩，所以之后我都是打求救电话 哇咔咔，开玩笑了。</p></blockquote><p>推荐小男生色狼订阅！</p><p><a href="//showfom.imgbed.com/WordPress_13317/image_11.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="颜女王" border="0" alt="颜女王" src="//showfom.imgbed.com/WordPress_13317/image_thumb_11.png" width="244" height="184" /></a></p><p><a href="//showfom.imgbed.com/WordPress_13317/image_12.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="颜女王" border="0" alt="颜女王" src="//showfom.imgbed.com/WordPress_13317/image_thumb_12.png" width="244" height="244" /></a></p><p><a href="//showfom.imgbed.com/WordPress_13317/image_13.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="颜女王" border="0" alt="颜女王" src="//showfom.imgbed.com/WordPress_13317/image_thumb_13.png" width="244" height="184" /></a></p><h2>9、Wjunjun 君君姐 <br /></h2><p>博客地址：<a title="http://www.wjunjun.com/" href="http://www.wjunjun.com/">http://www.wjunjun.com/</a></p><blockquote><p>君君姐应该很早就认识了，额，偶那把伞还放宿舍……单身的色狼别乱想啊，别人是有男朋友的，不要乱打主意……博客里啥都写，MM们的博客大多都是记录自己的生活心情的，大家可以去看看。</p></blockquote><p>推荐正经人订阅！</p><p><a href="//showfom.imgbed.com/WordPress_13317/image_14.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="君君姐" border="0" alt="君君姐" src="//showfom.imgbed.com/WordPress_13317/image_thumb_14.png" width="244" height="164" /></a></p><p><a href="//showfom.imgbed.com/WordPress_13317/image_15.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="君君姐" border="0" alt="君君姐" src="//showfom.imgbed.com/WordPress_13317/image_thumb_15.png" width="244" height="164" /></a></p><h2>10、梵婗 影姐 <br /></h2><p>博客地址：<a title="http://fannylawren.com/" href="http://fannylawren.com/">http://fannylawren.com/</a></p><p>Twitter：<a href="https://tuite.de/fannylawrenC" target="_blank">@fannylawrenC</a></p><blockquote><p>影姐身在美国，有三个可爱的女儿（话说兽兽超级喜欢她大女儿也！），越洋电话里声音很好听，影姐的中文有待提高，当然，这个光荣而不艰巨的任务，只能交给小帅锅偶啦 哇咔咔，未来的丈母娘耶？！</p><p>PS：答应影姐帮她修改一下博客的 css ，可惜这几天好忙的，哎……</p></blockquote><p>推荐想学习中西方文化差异的色狼订阅！</p><p><a href="//showfom.imgbed.com/WordPress_13317/image_16.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="影姐" border="0" alt="影姐" src="//showfom.imgbed.com/WordPress_13317/image_thumb_16.png" width="124" height="164" /></a></p><p><a href="//showfom.imgbed.com/WordPress_13317/image_17.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="影姐" border="0" alt="影姐" src="//showfom.imgbed.com/WordPress_13317/image_thumb_17.png" width="124" height="164" /></a></p><p><a href="//showfom.imgbed.com/WordPress_13317/image_18.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="影姐" border="0" alt="影姐" src="//showfom.imgbed.com/WordPress_13317/image_thumb_18.png" width="187" height="244" /></a></p><h2>11、Tina 嘉敏姐 <br /></h2><p>博客地址：<a title="http://gaojiamin.com/" href="http://gaojiamin.com/">http://gaojiamin.com/</a></p><p>Twitter：<a href="https://tuite.de/gaojiamin" target="_blank">@gaojiamin</a></p><blockquote><p>嘉敏姐刚考完试，作为一只大四的MM，每次都被我嘲笑已经老了，哇咔咔 (PД`q。)·。'゜ 当然是开玩笑的啦，嘉敏姐是属于那种很有个性的MM，每次打电话都可以过嘴皮瘾，今天给偶算命，原来偶明年会有财运和桃花运哇……嗯嗯，当然希望是真的了。</p><p>嘉敏姐的博客，作为技术人员的我，提醒大家：别乱装插件，昨晚差点乱码，囧。不过作为一个MM，能独立安装插件，并且设置很多很多，很了不起了，ELL那个小朋友明显技术就不行了╮(╯▽╰)╭</p></blockquote><p>推荐一切色狼们订阅！</p><p><a href="//showfom.imgbed.com/WordPress_13317/image_19.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="嘉敏姐" border="0" alt="嘉敏姐" src="//showfom.imgbed.com/WordPress_13317/image_thumb_19.png" width="244" height="184" /></a></p><p><a href="//showfom.imgbed.com/WordPress_13317/image_20.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="嘉敏姐" border="0" alt="嘉敏姐" src="//showfom.imgbed.com/WordPress_13317/image_thumb_20.png" width="184" height="244" /></a></p><h2>12、夏影残雪 <br /></h2><p>博客地址： <a title="http://sizheng.org/" href="http://sizheng.org/">http://sizheng.org/</a></p><p>Twitter：<a href="https://tuite.de/alan_blake" target="_blank">@alan_blake</a></p><blockquote><p>好吧，为什么要把小雪放到最后呢？ <a href="https://tuite.de/Ryanbjf" target="_blank">@Ryanbjf</a> 那个猥琐男肯定有意见了哼哼，好吧，第一眼看到小雪，我，我，我就肚子疼了……</p><p>可爱吧？漂亮吧？有冲动了吧？幻想了吧？别乱想了，名花有主咯~！</p></blockquote><p>推荐会订阅的色狼们就订阅吧……</p><p><a href="//showfom.imgbed.com/WordPress_13317/image_21.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="可爱的小雪" border="0" alt="可爱的小雪" src="//showfom.imgbed.com/WordPress_13317/image_thumb_21.png" width="184" height="244" /></a></p><p><a href="//showfom.imgbed.com/WordPress_13317/image_22.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="可爱的小雪" border="0" alt="可爱的小雪" src="//showfom.imgbed.com/WordPress_13317/image_thumb_22.png" width="177" height="244" /></a></p><p><a href="//showfom.imgbed.com/WordPress_13317/image_23.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="可爱的小雪" border="0" alt="可爱的小雪" src="//showfom.imgbed.com/WordPress_13317/image_thumb_23.png" width="128" height="244" /></a></p><p><a href="//showfom.imgbed.com/WordPress_13317/image_24.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="可爱的小雪" border="0" alt="可爱的小雪" src="//showfom.imgbed.com/WordPress_13317/image_thumb_24.png" width="244" height="184" /></a></p><p>=============</p><p>好吧，没有照片的，或者没找到照片，但是偶想推荐的剩下的几个MM，只能期待下一期了。</p><p>还是那句话，MM们的博客大多都是记录自己的生活，记录自己的心情，无所谓人气之类的，我推荐只是为了记录备案一下，能认识那么多MM，哇咔咔，上辈子我一定积了很多德了。</p><p>=============</p><p><strong>PS 1：</strong>博客大多都是让别人看的，所以我就推荐了，<font color="#ff0080"><strong>大部分是征得同意以后才放出照片的，如果你想要我撤下照片，OK，没问题，潜规则先……</strong></font>至于 Twitter MM 名单，我已经没有更新下去的动力了，推特上混久，大家都是朋友，我知道很多人并不是愿意被很多人 follow，所以，嗯嗯。</p><p><strong>PS 2：</strong><a title="Showfom&#39;s Blog" href="http://zou.lu/" target="_blank">Showfom 小帅锅</a>在中文 WordPress 事业上作出了巨大贡献，尤其是在发掘挖掘推广MM的道路上，永远没有终点，所以 某组织特意为小帅锅办法奖章一枚：</p><p><a href="//showfom.imgbed.com/WordPress_13317/image_25.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="色狼证" border="0" alt="色狼证" src="//showfom.imgbed.com/WordPress_13317/image_thumb_25.png" width="520" height="336" /></a></p><p><strong>PS 3：</strong>在 <a href="http://www.google.com/" target="_blank">Google</a> 上<a href="http://www.google.com/search?q=Showfom&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=org.mozilla:en-US:official&amp;client=firefox-a" target="_blank">搜索</a> Showfom 出现彩蛋了！</p><p><a href="//showfom.imgbed.com/WordPress_13317/image_26.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="//showfom.imgbed.com/WordPress_13317/image_thumb_26.png" width="608" height="291" /></a></p><p><strong>PS 4：</strong>近期博客更新进度会很慢很慢很慢很慢很慢很慢。</p><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/chinese-beauties-in-wordpress/" title="WordPress 中文界的美女们（第一期）">WordPress 中文界的美女们（第一期）</a> (97)</li><li><a href="http://zou.lu/use-cook-free-domain-for-your-wordpress/" title="提高 WordPress 速度之独立域名图床">提高 WordPress 速度之独立域名图床</a> (155)</li><li><a href="http://zou.lu/wpjam/" title="WordPress Jam &#8211; WP 建站服务一条龙">WordPress Jam &#8211; WP 建站服务一条龙</a> (62)</li><li><a href="http://zou.lu/mobilepress-themes-fixed/" title="MobilePress 主题汉化并修改">MobilePress 主题汉化并修改</a> (72)</li><li><a href="http://zou.lu/private-themes/" title="换上私人主题 + 清理友链">换上私人主题 + 清理友链</a> (186)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (254)</li><li><a href="http://zou.lu/wpg/" title="起来，不愿寂寞的博主们！ &#8211; WPG 硬文">起来，不愿寂寞的博主们！ &#8211; WPG 硬文</a> (124)</li><li><a href="http://zou.lu/careful-about-wordpress-plugins/" title="千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件">千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件</a> (135)</li><li><a href="http://zou.lu/how-to-get-more-comments-on-your-blog/" title="如何获得更多的访客评论留言数">如何获得更多的访客评论留言数</a> (251)</li><li><a href="http://zou.lu/change-domain/" title="走自己牛逼的路，让那些傻逼去说吧">走自己牛逼的路，让那些傻逼去说吧</a> (158)</li></ul><hr /><div style="padding: 5px 10px; background: rgb(243, 245, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><p>© from <a href="//zou.lu/?from=feed">走点路博客</a>, 2009/11/15. | <a href="http://zou.lu/chinese-beauties-in-wordpress-ii/">WordPress 中文界的美女们（第二期，有照片）</a> | <a href="http://zou.lu/chinese-beauties-in-wordpress-ii/#comments">307 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/wordpress/" rel="tag">WordPress</a>, <a href="http://zou.lu/tags/%e7%be%8e%e5%a5%b3/" rel="tag">美女</a> | <a href="//zou.lu/?p=122">Link</a> | <a href="http://zi.mu/domain"><font color="red">.me 域名全国最低价，首年仅需40元，续费130元促销中！</font></a></p></div>]]></content:encoded> <wfw:commentRss>http://zou.lu/chinese-beauties-in-wordpress-ii/feed/</wfw:commentRss> <slash:comments>307</slash:comments> </item> <item><title>PHP自动识别手机访问跳转 - Detect Mobile Browsers</title><link>http://zou.lu/php-to-detect-mobile-browsers/</link> <comments>http://zou.lu/php-to-detect-mobile-browsers/#comments</comments> <pubDate>Sat, 07 Nov 2009 13:58:55 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[Web 2.0]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[微型博客]]></category> <category><![CDATA[Detect Mobile Browsers]]></category> <category><![CDATA[Twitter]]></category> <category><![CDATA[手机]]></category><guid isPermaLink="false">http://zou.lu/?p=119</guid> <description><![CDATA[Detect Mobile User Agents &#38; Browsers 是一款开源的php代码，使用之后，用手机访问你网站的用户，会自动跳转到相应的手机页面，而无须自己修改程序，十分方便。 由于 Twitter 的流行，我分别用 tuite.de 和 fanfou.de 搭建了相应的开源程序，前段时间 fanfou.de 一直用 Dabr ，之后推特中文圈开源，于是我就寻思着把 fanfou.de 放上推特中文圈，而为了方便手机用户不修改地址，手机访问时，fanfou.de 考虑自动跳转到 m.fanfou.de ，搜索一番后，选中了 Detect Mobile User Agents &#38; Browsers 这款开源程序来实现相应的功能。 一、下载安装（以 推特中文圈 源代码为例） Detect Mobile User Agents &#38; Browsers 使用方法很简单，首先，去官网 http://detectmobilebrowsers.mobi/ 下载一个程序，解压后得到一个 mobile_device_detect.php 文件。 将 mobile_device_detect.php 放入 lib 目录，用非记事本打开 lib/twitese.php ，在 include ('twitter.php'); 后加入： include('mobile_device_detect.php'); [...]]]></description> <content:encoded><![CDATA[<p><a href="http://detectmobilebrowsers.mobi/">Detect Mobile User Agents &amp; Browsers</a> 是一款开源的php代码，使用之后，用手机访问你网站的用户，会自动跳转到相应的手机页面，而无须自己修改程序，十分方便。<br /> <span id="more-119"></span><br /> 由于 Twitter 的流行，我分别用 <a href="http://tuite.de/">tuite.de</a> 和 <a href="http://fanfou.de/">fanfou.de</a> 搭建了相应的开源程序，前段时间 fanfou.de 一直用 Dabr ，之后<a href="http://twitese.appspot.com/">推特中文圈</a><a href="http://code.google.com/p/twitese/">开源</a>，于是我就寻思着把 fanfou.de 放上推特中文圈，而为了方便手机用户不修改地址，手机访问时，<a href="http://fanfou.de">fanfou.de</a> 考虑自动跳转到 <a href="http://m.fanfou.de/">m.fanfou.de</a> ，搜索一番后，选中了 <a href="http://detectmobilebrowsers.mobi/">Detect Mobile User Agents &amp; Browsers</a> 这款开源程序来实现相应的功能。</p><h2>一、下载安装（以 推特中文圈 源代码为例）</h2><p>Detect Mobile User Agents &amp; Browsers 使用方法很简单，首先，去官网 <a href="http://detectmobilebrowsers.mobi/">http://detectmobilebrowsers.mobi/</a> <a href="http://detectmobilebrowsers.mobi/#download">下载</a>一个<a href="http://detectmobilebrowsers.mobi/?dl">程序</a>，解压后得到一个 <code>mobile_device_detect.php</code> 文件。</p><p>将 <code>mobile_device_detect.php</code> 放入<strong> lib 目录</strong>，用非记事本打开<code> lib/twitese.php</code> ，在 <code>include ('twitter.php');</code> 后加入：</p><div class="source" style="font-family: &quot;None&quot;,&quot;monospace&quot;; color: #ffffff; background-color: #333333;"><span style="color: #ffffff;">include('mobile_device_detect.php');</span><br /> <span style="color: #ffffff;">mobile_device_detect(true,true,true,true,true,true,'http://m.fanfou.de/',false);</span></div><p>当然你还可以针对不同的手机设置不同的页面：<a href="http://detectmobilebrowsers.mobi/#generator">http://detectmobilebrowsers.mobi/#generator</a></p><p>即可实现手机访问 fanfou.de 时，跳转到 m.fanfou.de</p><h2>二、使用的意义</h2><p>现在手机功能越来越强悍，随着 3G 时代的到来，想必会有越来越多的网站支持手机访问，对于开源的 php 程序来说，用上<strong> Detect Mobile Browsers</strong> 后，无需自己再内置功能，你要做的只是设计一个手机页面，然后自动跳转即可。</p><p>比如上面的例子，同时利用两款开源的 <strong>Twitter 程序</strong>，电脑访问使用<strong>推特中文圈</strong>，手机访问使用 <strong>Dabr</strong>，是不是很酷？</p><p>对于 WordPress 用户，只需 <a href="http://mobilepress.co.za/">MobilePress</a> 插件即可实现一切功能，无需自己过多设置，详情请移步水煮鱼的日志： <a href="http://fairyfish.net/2009/09/12/mobilepress/">使用 MobilePress 让 WordPress 博客适合手机浏览</a></p><p><strong>PS 1：</strong> 水煮鱼那个MJJ的家伙，在这里做一个小广告，觉得自己站点流量大，能承受一定空间费用的，可以推荐购买美国的贵族型空间 <a href="http://fairyfish.net/go/mt/">(MT) Media Temple</a> ，基本上是一个 VPS ，DV型空间能承受 3 - 5 万 IP吧，当然我指的是一个 WordPress 博客。</p><p><strong>PS 2：</strong> <a title="Creator of two generations of Rabr" href="user.php?id=disinfeqt">@disinfeqt</a> 修改的 <a href="http://code.google.com/p/rabr/">Rabr</a> 很酷，<span style="color: #ff0000;">不知道在座的各位谁还有饭否的html页面保存备份？</span>想要 @disinfeqt 为 fanfou.de 修改一个饭否的页面，哇咔咔。</p><p><strong>PS 3：</strong> tuite.de 和 fanfou.de 严禁政治玩家入内，某个组织在页面设置监控的……一旦发现有相关关键词，立马会连接暂时重置！</p><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/send-feedburner-feed-to-twitter/" title="FeedBurner 开始提供同步 Twitter 服务">FeedBurner 开始提供同步 Twitter 服务</a> (50)</li><li><a href="http://zou.lu/who-changes-internet-in-china/" title="谁改变了网络">谁改变了网络</a> (114)</li><li><a href="http://zou.lu/twitter-mm/" title="Twitter 女推友，MM集合 Alpha 版">Twitter 女推友，MM集合 Alpha 版</a> (85)</li><li><a href="http://zou.lu/yi9-and-google/" title="杂事两三件 &#8211; 红酒、谷歌">杂事两三件 &#8211; 红酒、谷歌</a> (113)</li><li><a href="http://zou.lu/wordcamp-2009-ends/" title="WordCamp 2009 归来">WordCamp 2009 归来</a> (153)</li><li><a href="http://zou.lu/dabr/" title="国内空间架设 Dabr（大波）教程">国内空间架设 Dabr（大波）教程</a> (111)</li><li><a href="http://zou.lu/gtalk-group/" title="中文 WordPress 博主的 Gtalk 群，欢迎加围观、群殴">中文 WordPress 博主的 Gtalk 群，欢迎加围观、群殴</a> (70)</li><li><a href="http://zou.lu/shortened-url-of-current-page-to-twitter/" title="打造 WordPress 的简易短网址">打造 WordPress 的简易短网址</a> (74)</li><li><a href="http://zou.lu/we-love-wp/" title="We Love WP &#8211; 稀奇古怪的网站也和我们同一个内核">We Love WP &#8211; 稀奇古怪的网站也和我们同一个内核</a> (65)</li><li><a href="http://zou.lu/testfreaks/" title="是时候换个手机了">是时候换个手机了</a> (64)</li></ul><hr /><div style="padding: 5px 10px; background: rgb(243, 245, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><p>© from <a href="//zou.lu/?from=feed">走点路博客</a>, 2009/11/07. | <a href="http://zou.lu/php-to-detect-mobile-browsers/">PHP自动识别手机访问跳转 - Detect Mobile Browsers</a> | <a href="http://zou.lu/php-to-detect-mobile-browsers/#comments">64 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/detect-mobile-browsers/" rel="tag">Detect Mobile Browsers</a>, <a href="http://zou.lu/tags/twitter/" rel="tag">Twitter</a>, <a href="http://zou.lu/tags/%e6%89%8b%e6%9c%ba/" rel="tag">手机</a> | <a href="//zou.lu/?p=119">Link</a> | <a href="http://zi.mu/domain"><font color="red">.me 域名全国最低价，首年仅需40元，续费130元促销中！</font></a></p></div>]]></content:encoded> <wfw:commentRss>http://zou.lu/php-to-detect-mobile-browsers/feed/</wfw:commentRss> <slash:comments>64</slash:comments> </item> <item><title>WordPress 评论群发器？操你大爷的！</title><link>http://zou.lu/wordpress-spam-comments-sucks/</link> <comments>http://zou.lu/wordpress-spam-comments-sucks/#comments</comments> <pubDate>Sat, 07 Nov 2009 07:43:12 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[Spam]]></category> <category><![CDATA[WordPress插件]]></category><guid isPermaLink="false">http://zou.lu/wordpress-%e8%af%84%e8%ae%ba%e7%be%a4%e5%8f%91%e5%99%a8%ef%bc%9f%e6%93%8d%e4%bd%a0%e5%a4%a7%e7%88%b7%e7%9a%84%ef%bc%81/</guid> <description><![CDATA[偶尔看到一篇文章 《【惊】WordPress 博客评论群发器v1.0 问世 》，操你大爷的，以为有点技术就了不起了？以为弄个群发器就可以发财了？ 在国内，什么鸟都有，老子就专门写个文章来骂这些人渣！ 那个傻逼工作室，还起了个很好听的名字，骨头工作室，按照我的说法，你丫的就是一骨灰！ 我说怎么最近国人的垃圾留言多起来了，我说怎么最近老有一群人渣在发小广告，妈比的，诅咒你们，生个儿子没屁眼，生个女儿有屁眼，两个！ 用过国外空间的朋友一定深有体会，整天被一些垃圾评论垃圾留言骚扰着，这是因为国外空间服务器的IP早就上了一些软件的名单，直接群发之。 原本以为在国内空间会好点，没想到哈，天下乌鸦一般黑，有技术不用在实事上，偏偏用在这些歪门邪道，傻逼一群，一群傻逼！ 现在每天登陆 WordPress 后台，第一件事情就是去看 Spam ，在做的看官有多少人和我一样？ 这是互联网的悲哀，廉价劳动力满地都是，我承认互联网早已不干净，偏偏一些垃圾广告充斥着这个世界。 Awflasher 曾经写了一大批关于 Spam 的文章：http://www.awflasher.com/blog/tag/spam 悲哀，如今 人肉Spam 仍然是博客里的主力垃圾制造者，一群傻了吧唧以为发了链接就能提高自己网站的SEO排名的傻帽！有这点时间还不如回家和老婆做爱去呢！ 至于那个骨头工作室：http://www.gutou.cc/ 一个自以为是 以为有点技术就可以发财的小白而已 基本可以忽略不计，国内市场太乱，什么鸟都有，他要能做大？得了吧。 根据 Akismet 的截图：http://akismet.com/stats/ 喵了个咪的，中国算是落后的哈哈，看老外的强大攻击，这个灰色产业，假如不加以法律管治，天知道以后的互联网会变成什么样！ 那么，我们怎么预防呢？ 我推荐的做法是： 一、安装 WordPress 自带的 Akismet 插件 无论人们怎么评论，自带的 Akismet 插件应该是人人都必须安装的，毕竟是官方的插件，判断率也比前几年高了不少，推荐，至于激活码，去 WordPress.com 申请就是。 二、垃圾留言多的，安装 NoSpamNX 插件 这在我的英文站上效果很明显： 基本比 Akismet 要拦截多 下载地址：http://wordpress.org/extend/plugins/nospamnx/ 安装后激活即可 三、忍无可忍的，装验证码插件吧 推荐 WordPress [...]]]></description> <content:encoded><![CDATA[<p>偶尔看到一篇文章 《<a href="http://www.zfreet.com/post/blog-comment-mass-send.html">【惊】WordPress 博客评论群发器v1.0 问世</a> 》，操你大爷的，以为有点技术就了不起了？以为弄个群发器就可以发财了？</p><p>在国内，什么鸟都有，老子就专门写个文章来骂这些人渣！</p><p><span id="more-118"></span></p><p>那个傻逼工作室，还起了个很好听的名字，骨头工作室，按照我的说法，你丫的就是一骨灰！</p><p>我说怎么最近国人的垃圾留言多起来了，我说怎么最近老有一群人渣在发小广告，妈比的，诅咒你们，生个儿子没屁眼，生个女儿有屁眼，两个！</p><p>用过国外空间的朋友一定深有体会，整天被一些垃圾评论垃圾留言骚扰着，这是因为国外空间服务器的IP早就上了一些软件的名单，直接群发之。</p><p>原本以为在国内空间会好点，没想到哈，天下乌鸦一般黑，有技术不用在实事上，偏偏用在这些歪门邪道，傻逼一群，一群傻逼！</p><p>现在每天登陆 <strong>WordPress 后台</strong>，第一件事情就是去看<strong> Spam</strong> ，在做的看官有多少人和我一样？</p><p>这是互联网的悲哀，廉价劳动力满地都是，我承认互联网早已不干净，偏偏一些垃圾广告充斥着这个世界。 Awflasher 曾经写了一大批关于 <strong>Spam</strong> 的文章：<a title="http://www.awflasher.com/blog/tag/spam" href="http://www.awflasher.com/blog/tag/spam">http://www.awflasher.com/blog/tag/spam</a></p><p>悲哀，如今<strong> 人肉Spam</strong> 仍然是博客里的主力垃圾制造者，一群傻了吧唧以为发了链接就能提高自己网站的SEO排名的傻帽！有这点时间还不如回家和老婆做爱去呢！</p><p>至于那个骨头工作室：<a title="http://www.gutou.cc/" href="http://www.gutou.cc/">http://www.gutou.cc/</a> 一个自以为是 以为有点技术就可以发财的小白而已 基本可以忽略不计，国内市场太乱，什么鸟都有，他要能做大？得了吧。</p><p>根据 <strong>Akismet</strong> 的截图：<a title="http://akismet.com/stats/" href="http://akismet.com/stats/">http://akismet.com/stats/</a></p><p><a href="//showfom.imgbed.com/WordPress_DAF9/image.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Akismet 每天统计的垃圾评论" src="//showfom.imgbed.com/WordPress_DAF9/image_thumb.png" border="0" alt="Akismet 每天统计的垃圾评论" width="627" height="484" /></a></p><p>喵了个咪的，中国算是落后的哈哈，看老外的强大攻击，这个灰色产业，假如不加以法律管治，天知道以后的互联网会变成什么样！</p><p>那么，我们怎么预防呢？</p><p>我推荐的做法是：</p><h2>一、安装 WordPress 自带的 Akismet 插件</h2><p>无论人们怎么评论，自带的 Akismet 插件应该是人人都必须安装的，毕竟是官方的插件，判断率也比前几年高了不少，推荐，至于激活码，去 WordPress.com 申请就是。</p><h2>二、垃圾留言多的，安装 NoSpamNX 插件</h2><p>这在我的英文站上效果很明显：</p><p><a href="//showfom.imgbed.com/WordPress_DAF9/image_3.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="NoSpamNX 效果明显" src="//showfom.imgbed.com/WordPress_DAF9/image_thumb_3.png" border="0" alt="NoSpamNX 效果明显" width="644" height="62" /></a></p><p>基本比 <strong>Akismet</strong> 要拦截多</p><p>下载地址：<a title="http://wordpress.org/extend/plugins/nospamnx/" href="http://wordpress.org/extend/plugins/nospamnx/">http://wordpress.org/extend/plugins/nospamnx/</a> 安装后激活即可</p><h2>三、忍无可忍的，装验证码插件吧</h2><p>推荐 <a href="http://wordpress.org/extend/plugins/wp-recaptcha/">WordPress CAPTCHA</a> 或者 <a href="http://wordpress.org/extend/plugins/math-comment-spam-protection/" target="_blank">Math Comment Spam Protection</a></p><p>前者是英文单词验证码，在国外网站超级流行；后者是简单的加减法验证码，在国内网站比较流行。</p><p>实在忍无可忍，就真的装验证码插件吧。</p><p>最后，这篇文章也有点用：《<a href="http://paranimage.com/40-wordpress-anti-spam-plugins/">40+WordPress反垃圾留言插件/Anti Spam</a>》</p><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/mobilepress-themes-fixed/" title="MobilePress 主题汉化并修改">MobilePress 主题汉化并修改</a> (72)</li><li><a href="http://zou.lu/aacx-wordpress-plugin/" title="AA.CX 短网址 WordPress 插件">AA.CX 短网址 WordPress 插件</a> (103)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (254)</li><li><a href="http://zou.lu/careful-about-wordpress-plugins/" title="千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件">千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件</a> (135)</li><li><a href="http://zou.lu/comments-text-replace/" title="WordPress 精简版评论文明用语插件">WordPress 精简版评论文明用语插件</a> (116)</li><li><a href="http://zou.lu/yourls/" title="使用 Yourls 强化你的短网址系统">使用 Yourls 强化你的短网址系统</a> (82)</li><li><a href="http://zou.lu/wordpress-plugins-i-used/" title="我使用的 WordPress 插件">我使用的 WordPress 插件</a> (90)</li><li><a href="http://zou.lu/notes-for-wordpress-28-upgrading/" title="升级到 WordPress 2.8 以后要注意的事项">升级到 WordPress 2.8 以后要注意的事项</a> (61)</li><li><a href="http://zou.lu/optimize-wordpress-database-query-middle-object-cache/" title="优化你的 WordPress 之减少数据库查询次数（中级篇补充之 Object Cache）">优化你的 WordPress 之减少数据库查询次数（中级篇补充之 Object Cache）</a> (43)</li><li><a href="http://zou.lu/optimize-wordpress-database-query-middle/" title="优化你的 WordPress 之减少数据库查询次数（中级篇）">优化你的 WordPress 之减少数据库查询次数（中级篇）</a> (30)</li></ul><hr /><div style="padding: 5px 10px; background: rgb(243, 245, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><p>© from <a href="//zou.lu/?from=feed">走点路博客</a>, 2009/11/07. | <a href="http://zou.lu/wordpress-spam-comments-sucks/">WordPress 评论群发器？操你大爷的！</a> | <a href="http://zou.lu/wordpress-spam-comments-sucks/#comments">190 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/spam/" rel="tag">Spam</a>, <a href="http://zou.lu/tags/wordpress%e6%8f%92%e4%bb%b6/" rel="tag">WordPress插件</a> | <a href="//zou.lu/?p=118">Link</a> | <a href="http://zi.mu/domain"><font color="red">.me 域名全国最低价，首年仅需40元，续费130元促销中！</font></a></p></div>]]></content:encoded> <wfw:commentRss>http://zou.lu/wordpress-spam-comments-sucks/feed/</wfw:commentRss> <slash:comments>190</slash:comments> </item> <item><title>WordPress 显示留言者信息插件 - Comment Info Detector</title><link>http://zou.lu/comment-info-detector/</link> <comments>http://zou.lu/comment-info-detector/#comments</comments> <pubDate>Mon, 26 Oct 2009 09:06:45 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[Comment Info Detector]]></category> <category><![CDATA[WordPress插件]]></category><guid isPermaLink="false">http://zou.lu/comment-info-detector/</guid> <description><![CDATA[狼狼阿狗，在逛 Leeiio 的博客时，发现留言之后能显示访客的国家、浏览器和操作系统，觉得很是好玩，还特意伪装过捣乱过一次。 经过查看图片信息，得知 Leeiio 使用的插件是 Reviewers Info ，还是一个国人制作的，但是用这个插件有三个小毛病： 一、长久未更新，半年没更新，也没啥新的功能。 二、不能自动插入代码，用户需要自己修改主题的 comments.php ，对于小白们来说，是一件很头大的事情。 三、国旗调用的是外部图片，这个也太那啥了，万一哪天服务器挂了或者被墙奸了或者作者不干了，Leeiio 那个猥琐的家伙采取的方式是关闭了国旗图标，当然，没有任何后台选项，需要自己修改插件。 就因为这三点原因，我决定放弃这个国人制作的插件，今天偶逛国外的博客，发现一个比 Reviewers Info 更牛逼的显示访客信息的插件 —— Comment Info Detector 使用 Comment Info Detector 插件，相比 Reviews Info 的几大优点： 1、一直在更新，从未被超越，最新版本支持 WordPress 2.8.4 ，当然 2.8.5 肯定支持的，都是 2.8+ 的嘛 2、后台设置并且自动插入 国旗、操作系统和浏览器 ，小白用户们无需自己设置，一键解决 3、所有的图片都是本地的，你还可以自定义图标的目录，放上个性化的国旗、浏览器和操作系统的图标 安装使用方法： 1、下载上传并且激活插件 下载地址：http://wordpress.org/extend/plugins/comment-info-detector/ ，上传到 wp-content/plugins 目录后台插件里激活，或者通过后台插件搜索 Comment Info Detector 直接一键安装即可 2、正确使用方法 作者提供了两种插件使用方法： [...]]]></description> <content:encoded><![CDATA[<p>狼狼阿狗，在逛 <a title="Leeiio Chaos Made." href="http://leeiio.me/" target="_blank">Leeiio</a> 的博客时，发现留言之后能显示访客的国家、浏览器和操作系统，觉得很是好玩，还特意伪装过<a href="http://leeiio.me/terrible-may/#comment-5079" target="_blank">捣乱过</a>一次。</p><p> <span id="more-116"></span><p><a href="//showfom.imgbed.com/WordPressCommentInfoDetector_F068/image.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="WordPress 显示留言者信息插件 - Comment Info Detector" border="0" alt="WordPress 显示留言者信息插件 - Comment Info Detector" src="//showfom.imgbed.com/WordPressCommentInfoDetector_F068/image_thumb.png" width="644" height="429" /></a></p><p>经过查看图片信息，得知 Leeiio 使用的插件是 <a title="Reviewers_Info" href="http://wordpress.org/extend/plugins/reviewers-info/" target="_blank"><strong>Reviewers Info</strong></a> ，还是一个国人制作的，但是用这个插件有三个小毛病：</p><blockquote><p>一、长久未更新，半年没更新，也没啥新的功能。</p><p>二、不能自动插入代码，用户需要自己修改主题的 <strong>comments.php</strong> ，对于小白们来说，是一件很头大的事情。</p><p>三、国旗调用的是外部图片，这个也太那啥了，万一哪天服务器挂了或者被墙奸了或者作者不干了，Leeiio 那个猥琐的家伙采取的方式是关闭了国旗图标，当然，没有任何后台选项，需要自己修改插件。</p></blockquote><p>就因为这三点原因，我决定放弃这个国人制作的插件，今天偶逛国外的博客，发现一个比 <strong>Reviewers Info</strong> 更牛逼的显示访客信息的插件 —— <a title="Comment Info Detector" href="http://hieudt.info/wp-plugins/comment-info-detector/" target="_blank"><strong>Comment Info Detector</strong></a></p><p>使用 <strong>Comment Info Detector</strong> 插件，相比 <strong>Reviews Info</strong> 的几大优点：</p><blockquote><p>1、一直在更新，从未被超越，最新版本支持 <strong>WordPress 2.8.4</strong> ，当然 <strong>2.8.5</strong> 肯定支持的，都是 <strong>2.8+</strong> 的嘛</p><p>2、后台设置并且自动插入 国旗、操作系统和浏览器 ，小白用户们无需自己设置，一键解决</p><p>3、所有的图片都是本地的，你还可以自定义图标的目录，放上个性化的国旗、浏览器和操作系统的图标</p></blockquote><h2>安装使用方法： <br /></h2><p><font color="#008000"><strong>1、下载上传并且激活插件</strong></font></p><p>下载地址：<a title="http://wordpress.org/extend/plugins/comment-info-detector/" href="http://wordpress.org/extend/plugins/comment-info-detector/">http://wordpress.org/extend/plugins/comment-info-detector/</a> ，上传到 <code>wp-content/plugins</code> 目录后台插件里激活，或者通过后台插件搜索 <strong>Comment Info Detector</strong> 直接一键安装即可</p><p><font color="#008000"><strong>2、正确使用方法</strong></font></p><p>作者提供了两种插件使用方法：</p><p>① 对 <strong>WordPress</strong> 老鸟来说，直接插入这段代码到主题文件的<strong> comments.php</strong> ，记得放在合适的地方哦</p><div style="background-color: rgb(0,0,0); font-family: &quot;None&quot;,&quot;Consolas&quot;,&quot;Lucida Console&quot;,&quot;Courier New&quot;; color: rgb(192,192,192)" class="source"><span style="color: rgb(255,255,255)">&lt;?php</span> <span style="color: rgb(255,68,0); font-weight: bold">if</span> (<span style="color: rgb(192,192,192)">function_exists</span>(<span style="color: rgb(209,56,0)">&quot;CID_init&quot;</span>)) <span style="color: rgb(192,192,192)">{</span> <span style="color: rgb(192,192,192)">CID_print_comment_flag</span>(); <span style="color: rgb(255,68,0); font-weight: bold">echo</span> <span style="color: rgb(209,56,0)">' '</span>; <span style="color: rgb(192,192,192)">CID_print_comment_browser</span>(); <span style="color: rgb(192,192,192)">}</span> <span style="color: rgb(255,255,255)">?&gt;</span></div><p>② 对于<strong> WordPress</strong> 新手来说，激活插件以后，后台选项会多出一个<strong> Comment Info Detector Options</strong>&#160; 如图：</p><p><a href="//showfom.imgbed.com/WordPressCommentInfoDetector_F068/image_3.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="WordPress 显示留言者信息插件 - Comment Info Detector" border="0" alt="WordPress 显示留言者信息插件 - Comment Info Detector" src="//showfom.imgbed.com/WordPressCommentInfoDetector_F068/image_thumb_3.png" width="141" height="244" /></a></p><p>然后根据我的截图来设置即可：</p><p><a href="//showfom.imgbed.com/WordPressCommentInfoDetector_F068/image_4.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="WordPress 显示留言者信息插件 - Comment Info Detector" border="0" alt="WordPress 显示留言者信息插件 - Comment Info Detector" src="//showfom.imgbed.com/WordPressCommentInfoDetector_F068/image_thumb_4.png" width="644" height="465" /></a></p><p>大功告成，效果是不是很帅？来个截图留影吧：</p><p><a href="//showfom.imgbed.com/WordPressCommentInfoDetector_F068/image_5.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="WordPress 显示留言者信息插件 - Comment Info Detector" border="0" alt="WordPress 显示留言者信息插件 - Comment Info Detector" src="//showfom.imgbed.com/WordPressCommentInfoDetector_F068/image_thumb_5.png" width="565" height="278" /></a></p><p>鄙视<a title="老K的博客" href="http://kramon.net/" target="_blank">某K</a>，<strong>Windows 7</strong> 怎么有 <strong>IE 7</strong> 哇？到底是谁的 <strong>Bug</strong>？</p><p>另外，还有一个 <strong>Bug</strong> ，我已经给作者提意见了，不知道他什么时候会回复，就是用手机的用户，操作系统肯定不在常规的那几个图标里，然后会这么显示：</p><p><a href="//showfom.imgbed.com/WordPressCommentInfoDetector_F068/image_6.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="WordPress 显示留言者信息插件 - Comment Info Detector" border="0" alt="WordPress 显示留言者信息插件 - Comment Info Detector" src="//showfom.imgbed.com/WordPressCommentInfoDetector_F068/image_thumb_6.png" width="410" height="71" /></a></p><p>解决方法是可以自行后台设置关闭操作系统图标，或者和 <a title="走点路" href="http://zou.lu/" target="_blank">Showfom 小帅锅</a>一样，等待作者来解决吧（偶太懒，懒得研究他的代码）。</p><p>======</p><p><strong>PS 1：</strong>当初决定用这个插件的时候，是因为英文站的访客遍布全球，看那个留言，那叫一个爽啊！可惜最近没空，默认的样式在我英文站的主题下错位，懒得搞了，就先放博客上过过瘾。</p><p><strong>PS 2：</strong>不知道这个是不是泄露了用户的隐私？望略懂法律的朋友告之，对您带来的不便，深表歉意。</p><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/mobilepress-themes-fixed/" title="MobilePress 主题汉化并修改">MobilePress 主题汉化并修改</a> (72)</li><li><a href="http://zou.lu/careful-about-wordpress-plugins/" title="千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件">千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件</a> (135)</li><li><a href="http://zou.lu/comments-text-replace/" title="WordPress 精简版评论文明用语插件">WordPress 精简版评论文明用语插件</a> (116)</li><li><a href="http://zou.lu/wordpress-plugins-i-used/" title="我使用的 WordPress 插件">我使用的 WordPress 插件</a> (90)</li><li><a href="http://zou.lu/notes-for-wordpress-28-upgrading/" title="升级到 WordPress 2.8 以后要注意的事项">升级到 WordPress 2.8 以后要注意的事项</a> (61)</li><li><a href="http://zou.lu/optimize-wordpress-database-query-middle-object-cache/" title="优化你的 WordPress 之减少数据库查询次数（中级篇补充之 Object Cache）">优化你的 WordPress 之减少数据库查询次数（中级篇补充之 Object Cache）</a> (43)</li><li><a href="http://zou.lu/optimize-wordpress-database-query-middle/" title="优化你的 WordPress 之减少数据库查询次数（中级篇）">优化你的 WordPress 之减少数据库查询次数（中级篇）</a> (30)</li><li><a href="http://zou.lu/auto-hishslide-wordpress-plugin/" title="Auto HighSlide &#8211; 真正自动增加 WordPress 的 HighSlide 图片效果插件">Auto HighSlide &#8211; 真正自动增加 WordPress 的 HighSlide 图片效果插件</a> (162)</li><li><a href="http://zou.lu/planning-20090406/" title="接下来的计划">接下来的计划</a> (12)</li><li><a href="http://zou.lu/nice-titles-wordpress-plugin/" title="Nice Titles &#8211; 第二款链接增强效果WordPress插件">Nice Titles &#8211; 第二款链接增强效果WordPress插件</a> (28)</li></ul><hr /><div style="padding: 5px 10px; background: rgb(243, 245, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><p>© from <a href="//zou.lu/?from=feed">走点路博客</a>, 2009/10/26. | <a href="http://zou.lu/comment-info-detector/">WordPress 显示留言者信息插件 - Comment Info Detector</a> | <a href="http://zou.lu/comment-info-detector/#comments">254 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/comment-info-detector/" rel="tag">Comment Info Detector</a>, <a href="http://zou.lu/tags/wordpress/" rel="tag">WordPress</a>, <a href="http://zou.lu/tags/wordpress%e6%8f%92%e4%bb%b6/" rel="tag">WordPress插件</a> | <a href="//zou.lu/?p=116">Link</a> | <a href="http://zi.mu/domain"><font color="red">.me 域名全国最低价，首年仅需40元，续费130元促销中！</font></a></p></div>]]></content:encoded> <wfw:commentRss>http://zou.lu/comment-info-detector/feed/</wfw:commentRss> <slash:comments>254</slash:comments> </item> <item><title>起来，不愿寂寞的博主们！ - WPG 硬文</title><link>http://zou.lu/wpg/</link> <comments>http://zou.lu/wpg/#comments</comments> <pubDate>Sun, 27 Sep 2009 12:24:28 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[Google]]></category> <category><![CDATA[Web 2.0]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[Gtalk]]></category> <category><![CDATA[WPG]]></category><guid isPermaLink="false">http://zou.lu/wpg/</guid> <description><![CDATA[WPG，这不仅仅是一个群组，我们谈的不是技术，是寂寞！ WPG，这不仅仅是一个聚合，我们写的不是博客，是寂寞！ WPG，这不仅仅是一个论坛，我们发的不是帖子，是寂寞！ （我不是标题党，我不是标题党！） 本来我是不想写 WPG 的软文的，虽然作为老用户，可咱也不能赤裸裸在博客做免费广告嘛，因为，你不能让我写，我就马上去写，第一我要试一下，因为我不愿意写完了以后再加一些广告上去，博客“咣”一下，很有人气、很有魅力，这样读者出来一定会骂我，根本没有这样的组织，就证明上面那个是假的。后来我也经过证实他们确实是人性化的，我加入了大概一个月左右，感觉还不错，后来我在写软文的时候也要求他们不要再宣传我，因为我要让读者看到，我加入 WPG 之后博客是这个样子，你们加入 WPG 之后也会是这个样子！ 开玩笑了，出于老成员，我还是会自觉地在没有得到任何要求的情况下，轻松地写下了这篇软文，哦不，这当然不是软文，是硬得不能再硬的硬文！ WPG， WordPress Group 的缩写，是 Joya 等人开设的一个群组，最初只是一个 Gtalk 群，我在 《中文 WordPress 博主的 Gtalk 群，欢迎加围观、群殴》 一文中有所介绍，后来升级为一个类似 RSSA 或者 已经死亡的 CBN 的组织。 这是一个新兴的组织，成员来自五湖四海，有高中生大学生，有白领金领，有宅男宅女，有公务员没有五毛党，有医生护士系列，当然没有人兽SM系列，想歪了想歪了，正经点！ 这是一个充满激情的组织，平常用 Gtalk，只是和一些认识的朋友聊天，加入 WPG 以后，你可以和心目中的 MM，向往的帅锅面对面心与心交流，你会发现，Gtalk 其实用来交流的话，比 QQ肥企鹅 要好用，你会觉得，写博客是一件如此美好的事情。 这是一个稍微话唠的组织，经常隐身不在线不说话不冒泡是会被鄙视的，除非你是某方面的牛人或者是熟人推荐的朋友，一般自行加入的得满足以下潜规则即可： 1、需要有独立的博客 2、内容健康向上，符合国家法律规定。 3、必须为原创博客，拒绝转载为主的博客. 4、推荐使用 WordPress 博客程序，但是在满足2、3条的情况下欢迎其他博客平台，尤其是开源的博客平台。 5、在群组成员通过后即可加入。 潜规则专用页面，围观！ 当然，组织是有自己的地下基地的，相关网址如下： 官网：http://www.cnwpg.com/ 使用手册：http://www.cnwpg.com/intro/rules.html 普通聊天室：http://www.cnwpg.com/chat/index.html 成员：http://www.cnwpg.com/members/index.html 剧组：http://www.cnwpg.com/cast/index.html [...]]]></description> <content:encoded><![CDATA[<p><strong>WPG</strong>，这不仅仅是一个群组，我们谈的不是技术，是寂寞！</p><p><strong>WPG</strong>，这不仅仅是一个聚合，我们写的不是博客，是寂寞！</p><p><strong>WPG</strong>，这不仅仅是一个论坛，我们发的不是帖子，是寂寞！</p><p>（我不是标题党，我不是标题党！）</p><p><span id="more-109"></span></p><p><img style="display: block; float: none; margin-left: auto; margin-right: auto" src="//showfom.imgbed.com/pro/wpg.jpg" border="0" alt="中文 WordPress 博主的 Gtalk 群" /></p><p>本来我是不想写 <strong>WPG</strong> 的软文的，虽然作为老用户，可咱也不能赤裸裸在博客做免费广告嘛，因为，你不能让我写，我就马上去写，第一我要试一下，因为我不愿意写完了以后再加一些广告上去，博客“咣”一下，很有人气、很有魅力，这样读者出来一定会骂我，根本没有这样的组织，就证明上面那个是假的。后来我也经过证实他们确实是人性化的，我加入了大概一个月左右，感觉还不错，后来我在写软文的时候也要求他们不要再宣传我，因为我要让读者看到，我加入 <a href="http://www.cnwpg.com/" target="_blank">WPG</a> 之后博客是这个样子，你们加入 <a href="http://www.cnwpg.com/" target="_blank">WPG</a> 之后也会是这个样子！</p><p>开玩笑了，出于老成员，我还是会自觉地在没有得到任何要求的情况下，轻松地写下了这篇软文，哦不，这当然不是软文，是硬得不能再硬的硬文！</p><p>WPG， <strong><span style="color: #ff0000;">W</span>ord<span style="color: #ff0000;">P</span>ress <span style="color: #ff0000;">G</span>roup</strong> 的缩写，是 <a title="Joya 的博客" href="http://joya.in/" target="_blank">Joya</a> 等人开设的一个群组，最初只是一个 <strong>Gtalk </strong>群，我在 《<a title="中文 WordPress 博主的 Gtalk 群，欢迎加围观、群殴" href="http://zou.lu/gtalk-group/" target="_blank">中文 WordPress 博主的 Gtalk 群，欢迎加围观、群殴</a>》 一文中有所介绍，后来升级为一个类似 RSSA 或者 已经死亡的 CBN 的组织。</p><p>这是一个新兴的组织，成员来自五湖四海，有高中生大学生，有白领金领，有宅男宅女，有公务员没有五毛党，有医生护士系列，当然没有人兽SM系列，想歪了想歪了，正经点！</p><p>这是一个充满激情的组织，平常用 <strong>Gtalk</strong>，只是和一些认识的朋友聊天，加入 <strong>WPG </strong>以后，你可以和心目中的 <strong>MM</strong>，向往的帅锅面对面心与心交流，你会发现，<strong>Gtalk </strong>其实用来交流的话，比 <strong>QQ肥企鹅</strong> 要好用，你会觉得，写博客是一件如此美好的事情。</p><p>这是一个稍微话唠的组织，经常隐身不在线不说话不冒泡是会被鄙视的，除非你是某方面的牛人或者是熟人推荐的朋友，一般自行加入的得满足以下潜规则即可：</p><blockquote><p>1、需要有独立的博客<br /> 2、内容健康向上，符合国家法律规定。<br /> 3、必须为原创博客，拒绝转载为主的博客.<br /> 4、推荐使用 <strong>WordPress </strong>博客程序，但是在满足2、3条的情况下欢迎其他博客平台，尤其是开源的博客平台。<br /> 5、在群组成员通过后即可加入。</p></blockquote><p><a title="WPG 潜规则" href="http://www.cnwpg.com/intro/rules.html" target="_blank">潜规则专用页面，围观！</a></p><p>当然，组织是有自己的地下基地的，相关网址如下：</p><p>官网：<a title="http://www.cnwpg.com/" href="http://www.cnwpg.com/">http://www.cnwpg.com/</a></p><p>使用手册：<a title="http://www.cnwpg.com/intro/rules.html" href="http://www.cnwpg.com/intro/rules.html">http://www.cnwpg.com/intro/rules.html</a></p><p>普通聊天室：<a title="http://www.cnwpg.com/chat/index.html" href="http://www.cnwpg.com/chat/index.html">http://www.cnwpg.com/chat/index.html</a></p><p>成员：<a title="http://www.cnwpg.com/members/index.html" href="http://www.cnwpg.com/members/index.html">http://www.cnwpg.com/members/index.html</a></p><p>剧组：<a title="http://www.cnwpg.com/cast/index.html" href="http://www.cnwpg.com/cast/index.html">http://www.cnwpg.com/cast/index.html</a></p><p>论坛：<a title="http://www.cnwpg.com/bbs/" href="http://www.cnwpg.com/bbs/">http://www.cnwpg.com/bbs/</a></p><p>可见这是一个多么有创意，多么有实力，多么有技术，多么有野心，多么有阴谋的一个组织！</p><p>欢迎加入，最后，大喊一声：<span style="color: #ff0000; font-size: medium;"><strong>起来，不愿寂寞的博主们！</strong></span></p><p><strong>=================</strong></p><p><strong>PS：</strong>新增了一个读者墙页面：<a href="http://zou.lu/readers/">http://zou.lu/readers/</a> 把以前用过但是又遗弃的 <a title="Google Friends Connect" href="http://www.google.com/friendconnect/" target="_blank">Google Friends Connect</a> 加入，原因嘛……最近订阅的人气稍有下降，用 <strong>GFC</strong> 的话，貌似会自动增加到你的 <a title="Google Reader" href="https://www.google.com/reader/" target="_blank">Google Reader</a> 里，欢迎加入，你的支持是我写博客的最大动力！</p><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/gtalk-group/" title="中文 WordPress 博主的 Gtalk 群，欢迎加围观、群殴">中文 WordPress 博主的 Gtalk 群，欢迎加围观、群殴</a> (70)</li><li><a href="http://zou.lu/use-cook-free-domain-for-your-wordpress/" title="提高 WordPress 速度之独立域名图床">提高 WordPress 速度之独立域名图床</a> (155)</li><li><a href="http://zou.lu/wpjam/" title="WordPress Jam &#8211; WP 建站服务一条龙">WordPress Jam &#8211; WP 建站服务一条龙</a> (62)</li><li><a href="http://zou.lu/mobilepress-themes-fixed/" title="MobilePress 主题汉化并修改">MobilePress 主题汉化并修改</a> (72)</li><li><a href="http://zou.lu/private-themes/" title="换上私人主题 + 清理友链">换上私人主题 + 清理友链</a> (186)</li><li><a href="http://zou.lu/chinese-beauties-in-wordpress-ii/" title="WordPress 中文界的美女们（第二期，有照片）">WordPress 中文界的美女们（第二期，有照片）</a> (307)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (254)</li><li><a href="http://zou.lu/careful-about-wordpress-plugins/" title="千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件">千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件</a> (135)</li><li><a href="http://zou.lu/how-to-get-more-comments-on-your-blog/" title="如何获得更多的访客评论留言数">如何获得更多的访客评论留言数</a> (251)</li><li><a href="http://zou.lu/change-domain/" title="走自己牛逼的路，让那些傻逼去说吧">走自己牛逼的路，让那些傻逼去说吧</a> (158)</li></ul><hr /><div style="padding: 5px 10px; background: rgb(243, 245, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><p>© from <a href="//zou.lu/?from=feed">走点路博客</a>, 2009/09/27. | <a href="http://zou.lu/wpg/">起来，不愿寂寞的博主们！ - WPG 硬文</a> | <a href="http://zou.lu/wpg/#comments">124 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/gtalk/" rel="tag">Gtalk</a>, <a href="http://zou.lu/tags/wordpress/" rel="tag">WordPress</a>, <a href="http://zou.lu/tags/wpg/" rel="tag">WPG</a> | <a href="//zou.lu/?p=109">Link</a> | <a href="http://zi.mu/domain"><font color="red">.me 域名全国最低价，首年仅需40元，续费130元促销中！</font></a></p></div>]]></content:encoded> <wfw:commentRss>http://zou.lu/wpg/feed/</wfw:commentRss> <slash:comments>124</slash:comments> </item> <item><title>千里之堤溃于蚁穴 - 慎用 WordPress 插件</title><link>http://zou.lu/careful-about-wordpress-plugins/</link> <comments>http://zou.lu/careful-about-wordpress-plugins/#comments</comments> <pubDate>Sat, 26 Sep 2009 05:16:30 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[日志便笺]]></category> <category><![CDATA[QQ]]></category> <category><![CDATA[WordPress插件]]></category> <category><![CDATA[博客]]></category> <category><![CDATA[滔滔]]></category><guid isPermaLink="false">http://zou.lu/careful-about-wordpress-plugins/</guid> <description><![CDATA[纠结的，昨天服务器超级不稳定，博客速度超级慢，除了服务器或者线路问题以外，我开始查找自身的问题。 一开始以为自己博客评论多的缘故，评论多和人品和相貌有关系嘛，和速度有个毛关系…… 先是看服务器上别的网站的速度，结果有的快有的慢，基本能排除服务器被攻击的问题。然后…… 经过可爱的小猫猫的提醒，我先禁用了所有插件，然后打开博客，速度刷的一下，果然，某个插件在捣鬼！ 为了排查原因，我一个一个禁用插件，人品就是好，第一个插件就出现问题了，禁用以后速度就秒杀。 可是很奇怪，第一个插件我命名为&#160; Absolute Showfom ，都是集成的一些小插件小功能。按理说就那么几行代码，能出什么问题呢？ 后来仔细排查，终于抓到元凶 —— 都是QQ的滔滔捣的鬼！ 就这么几行代码： &#60;?php //滔滔更新开始 if(!class_exists('http_fetch')){ &#160;&#160;&#160; function http_fetch($url) { &#160;&#160;&#160;&#160;&#160;&#160;&#160; if(function_exists('curl_init')) { &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $curl = curl_init($url); &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; curl_setopt($curl, CURLOPT_RETURNTRANSFER, TRUE); &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $rtrn = curl_exec($curl); &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; curl_close($curl); &#160;&#160;&#160;&#160;&#160;&#160;&#160; } else { &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $rtrn = file_get_contents($url); &#160;&#160;&#160;&#160;&#160;&#160;&#160; }&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160; return $rtrn; &#160;&#160;&#160; } } function taotao($num=10){ [...]]]></description> <content:encoded><![CDATA[<p>纠结的，昨天服务器超级不稳定，博客速度超级慢，除了服务器或者线路问题以外，我开始查找自身的问题。</p><p>一开始以为自己博客评论多的缘故，评论多和人品和相貌有关系嘛，和速度有个毛关系……</p><p>先是看服务器上别的网站的速度，结果有的快有的慢，基本能排除服务器被攻击的问题。然后……</p><p> <span id="more-107"></span></p><p>经过<a href="http://imcat.in/" target="_blank">可爱的小猫猫</a>的提醒，我先禁用了所有插件，然后打开博客，速度刷的一下，果然，某个插件在捣鬼！</p><p>为了排查原因，我一个一个禁用插件，人品就是好，第一个插件就出现问题了，禁用以后速度就秒杀。</p><p>可是很奇怪，第一个插件我命名为&#160; <strong>Absolute Showfom</strong> ，都是集成的一些小插件小功能。按理说就那么几行代码，能出什么问题呢？</p><p><a href="//showfom.imgbed.com/WordPress_BA77/image.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Absolute Showfom " border="0" alt="Absolute Showfom " src="//showfom.imgbed.com/WordPress_BA77/image_thumb.png" width="508" height="90" /></a></p><p>后来仔细排查，终于抓到元凶 —— 都是QQ的滔滔捣的鬼！</p><p>就这么几行代码：</p><div style="background-color: rgb(30,30,39); font-family: &quot;None&quot;,&quot;Consolas&quot;,&quot;Lucida Console&quot;,&quot;Courier New&quot;; color: rgb(255,255,255)" class="source"><span style="background-color: rgb(15,20,15); font-style: italic; color: rgb(255,0,7); font-weight: bold">&lt;?php</span> <br /><span style="background-color: rgb(15,20,15); font-style: italic; color: rgb(0,136,0)">//滔滔更新开始</span> <br /><span style="color: rgb(251,102,10); font-weight: bold">if</span>(<span style="color: rgb(255,255,255)">!</span><span style="color: rgb(255,255,255)">class_exists</span>(<span style="color: rgb(0,134,210)">'http_fetch'</span><span style="color: rgb(255,255,255)">)){</span> <br />&#160;&#160;&#160; <span style="color: rgb(251,102,10); font-weight: bold">function</span> <span style="color: rgb(255,0,134); font-weight: bold">http_fetch</span>(<span style="color: rgb(251,102,10)">$url</span>) <span style="color: rgb(255,255,255)">{</span> <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color: rgb(251,102,10); font-weight: bold">if</span>(<span style="color: rgb(255,255,255)">function_exists</span>(<span style="color: rgb(0,134,210)">'curl_init'</span>)) <span style="color: rgb(255,255,255)">{</span> <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color: rgb(251,102,10)">$curl</span> <span style="color: rgb(255,255,255)">=</span> <span style="color: rgb(255,255,255)">curl_init</span>(<span style="color: rgb(251,102,10)">$url</span>); <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color: rgb(255,255,255)">curl_setopt</span>(<span style="color: rgb(251,102,10)">$curl</span><span style="color: rgb(255,255,255)">,</span> <span style="color: rgb(255,255,255)">CURLOPT_RETURNTRANSFER</span><span style="color: rgb(255,255,255)">,</span> <span style="color: rgb(251,102,10); font-weight: bold">TRUE</span>); <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color: rgb(251,102,10)">$rtrn</span> <span style="color: rgb(255,255,255)">=</span> <span style="color: rgb(255,255,255)">curl_exec</span>(<span style="color: rgb(251,102,10)">$curl</span>); <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color: rgb(255,255,255)">curl_close</span>(<span style="color: rgb(251,102,10)">$curl</span>); <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color: rgb(255,255,255)">}</span> <span style="color: rgb(251,102,10); font-weight: bold">else</span> <span style="color: rgb(255,255,255)">{</span> <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color: rgb(251,102,10)">$rtrn</span> <span style="color: rgb(255,255,255)">=</span> <span style="color: rgb(255,255,255)">file_get_contents</span>(<span style="color: rgb(251,102,10)">$url</span>); <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color: rgb(255,255,255)">}</span>&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color: rgb(251,102,10); font-weight: bold">return</span> <span style="color: rgb(251,102,10)">$rtrn</span>; <br />&#160;&#160;&#160; <span style="color: rgb(255,255,255)">}</span> <br /><span style="color: rgb(255,255,255)">}</span> <br /><span style="color: rgb(251,102,10); font-weight: bold">function</span> <span style="color: rgb(255,0,134); font-weight: bold">taotao</span>(<span style="color: rgb(251,102,10)">$num</span><span style="color: rgb(255,255,255)">=</span><span style="color: rgb(0,134,247); font-weight: bold">10</span><span style="color: rgb(255,255,255)">){</span> <br />&#160;&#160;&#160; <span style="color: rgb(251,102,10)">$qq</span> <span style="color: rgb(255,255,255)">=</span> <span style="color: rgb(0,134,210)">&quot;235701&quot;</span>;<span style="background-color: rgb(15,20,15); font-style: italic; color: rgb(0,136,0)">//这里填你的QQ号</span> <br />&#160;&#160;&#160; <span style="color: rgb(251,102,10)">$taotao_sr</span> <span style="color: rgb(255,255,255)">=</span> <span style="color: rgb(251,102,10); font-weight: bold">array</span>(<span style="color: rgb(0,134,210)">'网页'</span><span style="color: rgb(255,255,255)">,</span> <span style="color: rgb(0,134,210)">'QQ机器人'</span><span style="color: rgb(255,255,255)">,</span> <span style="color: rgb(0,134,210)">'QQ空间'</span><span style="color: rgb(255,255,255)">,</span> <span style="color: rgb(0,134,210)">'QQ签名'</span><span style="color: rgb(255,255,255)">,</span> <span style="color: rgb(0,134,210)">'短信'</span><span style="color: rgb(255,255,255)">,</span> <span style="color: rgb(0,134,210)">'手机上网'</span><span style="color: rgb(255,255,255)">,</span> <span style="color: rgb(0,134,210)">'MSN机器人'</span><span style="color: rgb(255,255,255)">,</span> <span style="color: rgb(0,134,210)">'MSN签名'</span><span style="color: rgb(255,255,255)">,</span> <span style="color: rgb(0,134,210)">'手机QQ'</span><span style="color: rgb(255,255,255)">,</span> <span style="color: rgb(0,134,210)">'彩信'</span><span style="color: rgb(255,255,255)">,</span> <span style="color: rgb(0,134,210)">'订阅'</span><span style="color: rgb(255,255,255)">,</span> <span style="color: rgb(0,134,210)">&quot;&quot;</span><span style="color: rgb(255,255,255)">,</span> <span style="color: rgb(0,134,210)">'QQ状态'</span>); <br />&#160;&#160;&#160; <span style="color: rgb(251,102,10)">$url</span> <span style="color: rgb(255,255,255)">=</span> <span style="color: rgb(0,134,210)">&quot;http://www.taotao.com/cgi-bin/msgMgr?type=3&amp;num=</span><span style="color: rgb(0,134,210)">$num</span><span style="color: rgb(0,134,210)">&amp;qq=</span><span style="color: rgb(0,134,210)">$qq</span><span style="color: rgb(0,134,210)">&quot;</span>; <br />&#160;&#160;&#160; <span style="color: rgb(251,102,10)">$result</span> <span style="color: rgb(255,255,255)">=</span> <span style="color: rgb(255,255,255)">http_fetch</span>(<span style="color: rgb(251,102,10)">$url</span>); <br />&#160;&#160;&#160; <span style="color: rgb(251,102,10)">$xml</span> <span style="color: rgb(255,255,255)">=</span> <span style="color: rgb(255,255,255)">simplexml_load_string</span>(<span style="color: rgb(251,102,10)">$result</span>); <br />&#160;&#160;&#160; <span style="color: rgb(251,102,10)">$md</span> <span style="color: rgb(255,255,255)">=</span> <span style="color: rgb(251,102,10)">$xml</span><span style="color: rgb(255,255,255)">-&gt;</span><span style="color: rgb(255,0,134); font-weight: bold">info</span><span style="color: rgb(255,255,255)">-&gt;</span><span style="color: rgb(255,0,134); font-weight: bold">md</span>; <br /><span style="color: rgb(251,102,10)">$taotao_string</span> <span style="color: rgb(255,255,255)">=</span> <span style="color: rgb(0,134,210)">''</span>;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160; <span style="color: rgb(251,102,10); font-weight: bold">foreach</span> (<span style="color: rgb(251,102,10)">$md</span><span style="color: rgb(255,255,255)">-&gt;</span><span style="color: rgb(255,0,134); font-weight: bold">ml</span> <span style="color: rgb(251,102,10); font-weight: bold">as</span> <span style="color: rgb(251,102,10)">$ml</span><span style="color: rgb(255,255,255)">){</span>&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color: rgb(251,102,10)">$taotao_string</span> <span style="color: rgb(255,255,255)">.=</span> <span style="color: rgb(0,134,210)">''</span><span style="color: rgb(255,255,255)">.</span>(<span style="color: rgb(255,255,255)">string</span>)<span style="color: rgb(251,102,10)">$ml</span><span style="color: rgb(255,255,255)">-&gt;</span><span style="color: rgb(255,0,134); font-weight: bold">cn</span><span style="color: rgb(255,255,255)">.</span><span style="color: rgb(0,134,210)">' '</span><span style="color: rgb(255,255,255)">.</span><span style="color: rgb(255,255,255)">LJ</span>(<span style="color: rgb(251,102,10)">$ml</span><span style="color: rgb(255,255,255)">-&gt;</span><span style="color: rgb(255,0,134); font-weight: bold">t</span>)<span style="color: rgb(255,255,255)">.</span><span style="color: rgb(0,134,210)">''</span>;&#160; <br />&#160;&#160;&#160; <span style="color: rgb(255,255,255)">}</span>&#160; <br /><span style="color: rgb(251,102,10)">$taotao_string</span> <span style="color: rgb(255,255,255)">.=</span> <span style="color: rgb(0,134,210)">''</span>; <br />&#160;&#160;&#160; <span style="color: rgb(251,102,10); font-weight: bold">return</span>&#160; <span style="color: rgb(251,102,10)">$taotao_string</span>; <br /><span style="color: rgb(255,255,255)">}</span> <br /><span style="color: rgb(251,102,10); font-weight: bold">function</span> <span style="color: rgb(255,0,134); font-weight: bold">LJ</span>(<span style="color: rgb(251,102,10)">$t</span><span style="color: rgb(255,255,255)">=</span><span style="color: rgb(0,134,210)">''</span>) <span style="color: rgb(255,255,255)">{</span> <br />&#160;&#160;&#160; <span style="color: rgb(251,102,10)">$imt_taotao_t_array</span><span style="color: rgb(255,255,255)">=</span><span style="color: rgb(255,255,255)">explode</span>(<span style="color: rgb(0,134,210)">&quot;,&quot;</span><span style="color: rgb(255,255,255)">,</span><span style="color: rgb(251,102,10)">$t</span>); <br />&#160;&#160;&#160; <span style="color: rgb(251,102,10); font-weight: bold">if</span> (<span style="color: rgb(255,255,255)">count</span>(<span style="color: rgb(251,102,10)">$imt_taotao_t_array</span>) <span style="color: rgb(255,255,255)">&lt;</span> <span style="color: rgb(0,134,247); font-weight: bold">2</span>) <span style="color: rgb(255,255,255)">{</span> <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color: rgb(251,102,10); font-weight: bold">return</span> <span style="color: rgb(0,134,210)">&quot;&quot;</span>; <br />&#160;&#160;&#160; <span style="color: rgb(255,255,255)">}</span> <br />&#160;&#160;&#160; <span style="color: rgb(251,102,10)">$n</span> <span style="color: rgb(255,255,255)">=</span> <span style="color: rgb(251,102,10)">$imt_taotao_t_array</span><span style="color: rgb(255,255,255)">[</span><span style="color: rgb(0,134,247); font-weight: bold">0</span><span style="color: rgb(255,255,255)">];</span> <br />&#160;&#160;&#160; <span style="color: rgb(251,102,10)">$v</span> <span style="color: rgb(255,255,255)">=</span> <span style="color: rgb(251,102,10)">$imt_taotao_t_array</span><span style="color: rgb(255,255,255)">[</span><span style="color: rgb(0,134,247); font-weight: bold">1</span><span style="color: rgb(255,255,255)">];</span> <br />&#160;&#160;&#160; <span style="color: rgb(251,102,10)">$s</span> <span style="color: rgb(255,255,255)">=</span> <span style="color: rgb(0,134,210)">''</span>; <br /><span style="color: rgb(255,255,255)">}</span> <br /><span style="color: rgb(251,102,10); font-weight: bold">function</span> <span style="color: rgb(255,0,134); font-weight: bold">imt_taotao</span><span style="color: rgb(255,255,255)">(){</span> <br />&#160;&#160;&#160; <span style="color: rgb(251,102,10)">$imt_taotao_string</span> <span style="color: rgb(255,255,255)">=</span> <span style="color: rgb(0,134,210)">''</span>; <br />&#160;&#160;&#160; <span style="color: rgb(251,102,10)">$imt_taotao_string</span> <span style="color: rgb(255,255,255)">.=</span><span style="color: rgb(0,134,210)">'&lt;p&gt;'</span><span style="color: rgb(255,255,255)">.</span><span style="color: rgb(255,255,255)">taotao</span>(<span style="color: rgb(0,134,247); font-weight: bold">1</span>)<span style="color: rgb(255,255,255)">.</span><span style="color: rgb(0,134,210)">'&lt;/p&gt;'</span>; <br />&#160;&#160;&#160; <span style="color: rgb(251,102,10)">$imt_taotao_string</span> <span style="color: rgb(255,255,255)">.=</span><span style="color: rgb(0,134,210)">''</span>; <br />&#160;&#160;&#160; <span style="color: rgb(251,102,10); font-weight: bold">echo</span> <span style="color: rgb(251,102,10)">$imt_taotao_string</span>; <br /><span style="color: rgb(255,255,255)">}</span> <br /><span style="background-color: rgb(15,20,15); font-style: italic; color: rgb(255,0,7); font-weight: bold">?&gt;</span></div><p>原来昨天开始，腾讯肥企鹅的服务器一直不稳定，我说怎么QQ农场半天都进不去呢，滔滔反应超慢，也可能是限制了某些外部服务器获取数据，也许……天知道，一个阉割版的Twitter，一个抄袭版的山寨Twitter，滔滔，滔滔你个毛，还不是被老子强..奸得淫水滔滔吗？！</p><p>php 里的 curl函数，貌似就需要服务器请求远程服务器，查询了一下<a href="http://www.jb51.net/article/16224.htm" target="_blank">资料</a>之后，可以很确定是滔滔惹的祸，就是说这个插件占用了服务器大量的资源去获取滔滔的数据，结果，萎靡不正 日。</p><p>所以，总结了一下经验，连我这种老鸟都手足无措的事情，提醒在座的各位，谨慎使用 WordPress 插件，尤其是需要获取远程服务器信息的一些插件，比如同步消息之类的，万一哪天远程的服务器挂了，你的服务器不断查询不断获取，结果就是拖慢了自己的服务器。</p><p>昨天一直联系易联的客服，结果找不到北，很是不爽，先搬到 Wopus 的新服务器居住一会，算是对易联的惩罚吧，貌似听说PR要更新了，神哇，看在我交换了四五个PR为5的链接的份上，给我点RP吧！</p><p>再次唠叨下，我们只是普通的客户，但是博客是自己的心血，自己的博客速度不行肯定很着急，为啥就不能好好沟通呢？</p><p><a href="//showfom.imgbed.com/WordPress_BA77/image_3.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="帕雷桑特的“性感泥鳅”造型 " border="0" alt="帕雷桑特的“性感泥鳅”造型 " src="//showfom.imgbed.com/WordPress_BA77/image_thumb_3.png" width="529" height="354" /></a></p></p><p>另外，要直接调用滔滔的朋友，可以用js的方法，嗯，<a href="http://ooxx.me/" target="_blank">大猫</a>的<a href="http://miao.in/" target="_blank">庙</a>里直接偷来的，版权木有，主要是博客上同步QQ签名，很帅吧。</p><p>使用了<strong> jQuery</strong> 效果，务必确保你的博客加载了<strong> jQuery</strong> ，很多插件都会傻乎乎不顾一切加入的哈哈</p><p>相关 <strong>jQuery </strong>代码：</p><pre style="border-bottom: rgb(204,204,153) 1px solid; border-left: rgb(204,204,153) 1px solid; background-color: rgb(255,255,204); border-top: rgb(204,204,153) 1px solid; border-right: rgb(204,204,153) 1px solid"><span style="font-style: italic; color: rgb(136,136,136)" title="javascript/javascript/single_comment/start">//</span><span style="font-style: italic; color: rgb(136,136,136)" title="javascript/javascript/single_comment">taotao http://www.taotao.com/cgi-bin/msgj?qq=235701&amp;num=5&amp;t=0</span>
<span style="font-style: italic; color: rgb(136,136,136)" title="javascript/javascript/single_comment/start">//</span><span style="font-style: italic; color: rgb(136,136,136)" title="javascript/javascript/single_comment">// 修改下面的 235701 为你的QQ号</span>

<span style="color: rgb(0,0,0)" title="javascript/javascript">$</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">.</span><span style="color: rgb(85,85,153)" title="javascript/javascript/oodynamic">ajax</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">(</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">{</span>
		<span style="color: rgb(153,51,51)" title="javascript/javascript/method">type</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">:</span> <span style="color: rgb(255,0,0)" title="javascript/javascript/double_string/start">&quot;</span><span style="color: rgb(255,0,0)" title="javascript/javascript/double_string">GET</span><span style="color: rgb(255,0,0)" title="javascript/javascript/double_string/end">&quot;</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">,</span><span style="color: rgb(0,0,0)" title="javascript/javascript">
		url</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">:</span> <span style="color: rgb(255,0,0)" title="javascript/javascript/single_string/start">'</span><span style="color: rgb(255,0,0)" title="javascript/javascript/single_string">http://taotao.qq.com/v1/qz_first/firstjson?uin=235701</span><span style="color: rgb(255,0,0)" title="javascript/javascript/single_string/end">'</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">,</span><span style="color: rgb(0,0,0)" title="javascript/javascript">

		success</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">:</span><span style="color: rgb(0,0,0)" title="javascript/javascript"> callback</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">,</span><span style="color: rgb(0,0,0)" title="javascript/javascript">
		dataType</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">:</span> <span style="color: rgb(255,0,0)" title="javascript/javascript/single_string/start">'</span><span style="color: rgb(255,0,0)" title="javascript/javascript/single_string">script</span><span style="color: rgb(255,0,0)" title="javascript/javascript/single_string/end">'</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">,</span><span style="color: rgb(0,0,0)" title="javascript/javascript">
		scriptCharset</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">:</span><span style="color: rgb(255,0,0)" title="javascript/javascript/single_string/start">'</span><span style="color: rgb(255,0,0)" title="javascript/javascript/single_string">GB2312</span><span style="color: rgb(255,0,0)" title="javascript/javascript/single_string/end">'</span>

	<span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">}</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">)</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">;</span>
<span style="color: rgb(0,0,0); font-weight: bold" title="javascript/javascript/keyword">var</span><span style="color: rgb(0,0,0)" title="javascript/javascript"> callback </span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">=</span> <span style="color: rgb(0,0,0); font-weight: bold" title="javascript/javascript/keyword">function</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">(</span><span style="color: rgb(0,0,0)" title="javascript/javascript">json</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">)</span> <span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">{</span>

	<span style="color: rgb(0,0,0); font-weight: bold" title="javascript/javascript/keyword">if</span> <span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">(</span><span style="color: rgb(0,0,0)" title="javascript/javascript">json </span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">&amp;</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">&amp;</span> <span style="color: rgb(0,0,0); font-weight: bold" title="javascript/javascript/keyword">typeof</span><span style="color: rgb(0,0,0)" title="javascript/javascript"> json </span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">=</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">=</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">=</span> <span style="color: rgb(255,0,0)" title="javascript/javascript/single_string/start">'</span><span style="color: rgb(255,0,0)" title="javascript/javascript/single_string">object</span><span style="color: rgb(255,0,0)" title="javascript/javascript/single_string/end">'</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">)</span> <span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">{</span>

		<span style="color: rgb(0,0,0); font-weight: bold" title="javascript/javascript/keyword">var</span> <span style="color: rgb(153,51,51)" title="javascript/javascript/method">title</span> <span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">=</span><span style="color: rgb(0,0,0)" title="javascript/javascript"> json</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">.</span><span style="color: rgb(85,85,153)" title="javascript/javascript/oodynamic">items</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">[</span><span style="color: rgb(17,17,238)" title="javascript/javascript/num/int">0</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">]</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">.</span><span style="color: rgb(153,51,51)" title="javascript/javascript/method">title</span> <span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">|</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">|</span> <span style="color: rgb(255,0,0)" title="javascript/javascript/single_string/start">'</span><span style="color: rgb(255,0,0)" title="javascript/javascript/single_string/end">'</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">;</span><span style="color: rgb(0,0,0)" title="javascript/javascript">

		$</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">(</span><span style="color: rgb(255,0,0)" title="javascript/javascript/single_string/start">'</span><span style="color: rgb(255,0,0)" title="javascript/javascript/single_string">#taotao</span><span style="color: rgb(255,0,0)" title="javascript/javascript/single_string/end">'</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">)</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">.</span><span style="color: rgb(85,85,153)" title="javascript/javascript/oodynamic">slideUp</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">(</span><span style="color: rgb(255,0,0)" title="javascript/javascript/single_string/start">'</span><span style="color: rgb(255,0,0)" title="javascript/javascript/single_string">slow</span><span style="color: rgb(255,0,0)" title="javascript/javascript/single_string/end">'</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">,</span> <span style="color: rgb(0,0,0); font-weight: bold" title="javascript/javascript/keyword">function</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">(</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">)</span> <span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">{</span><span style="color: rgb(0,0,0)" title="javascript/javascript">$</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">(</span><span style="color: rgb(51,153,51); font-weight: bold" title="javascript/javascript/object">this</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">)</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">.</span><span style="color: rgb(153,51,51)" title="javascript/javascript/method">text</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">(</span><span style="color: rgb(153,51,51)" title="javascript/javascript/method">title</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">)</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">.</span><span style="color: rgb(85,85,153)" title="javascript/javascript/oodynamic">slideDown</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">(</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">)</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">}</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">)</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">;</span>

	<span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">}</span>
<span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">}</span>

<span style="font-style: italic; color: rgb(136,136,136)" title="javascript/javascript/single_comment/start">//</span><span style="font-style: italic; color: rgb(136,136,136)" title="javascript/javascript/single_comment">try</span>
<span style="color: rgb(0,0,0); font-weight: bold" title="javascript/javascript/keyword">try</span> <span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">{</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">}</span> <span style="color: rgb(0,0,0); font-weight: bold" title="javascript/javascript/keyword">catch</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">(</span><span style="color: rgb(0,0,0)" title="javascript/javascript">err</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">)</span> <span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">{</span>

	<span style="color: rgb(0,0,0); font-weight: bold" title="javascript/javascript/keyword">var</span><span style="color: rgb(0,0,0)" title="javascript/javascript"> txt</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">;</span><span style="color: rgb(0,0,0)" title="javascript/javascript">
	txt </span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">=</span> <span style="color: rgb(255,0,0)" title="javascript/javascript/double_string/start">&quot;</span><span style="color: rgb(255,0,0)" title="javascript/javascript/double_string">Error description: </span><span style="color: rgb(255,0,0)" title="javascript/javascript/double_string/end">&quot;</span> <span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">+</span><span style="color: rgb(0,0,0)" title="javascript/javascript"> err</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">.</span><span style="color: rgb(153,51,51)" title="javascript/javascript/method">description</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">;</span>

	<span style="color: rgb(153,51,51)" title="javascript/javascript/method">alert</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">(</span><span style="color: rgb(0,0,0)" title="javascript/javascript">txt</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">)</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">;</span>
<span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">}</span>

<span style="font-style: italic; color: rgb(136,136,136)" title="javascript/javascript/single_comment/start">//</span><span style="font-style: italic; color: rgb(136,136,136)" title="javascript/javascript/single_comment">ready</span>
<span style="color: rgb(0,0,0)" title="javascript/javascript">$</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">(</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">)</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">.</span><span style="color: rgb(85,85,153)" title="javascript/javascript/oodynamic">ready</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">(</span><span style="color: rgb(0,0,0); font-weight: bold" title="javascript/javascript/keyword">function</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">(</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">)</span> <span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">{</span>

<span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">}</span><span style="color: rgb(0,128,0)" title="javascript/javascript/symbol">)</span></pre><p>然后在主题里调用</p><pre>&lt;p id=&quot;taotao&quot;&gt;loading...&lt;/p&gt;</pre><p>即可</p><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/planning-20090406/" title="接下来的计划">接下来的计划</a> (12)</li><li><a href="http://zou.lu/mobilepress-themes-fixed/" title="MobilePress 主题汉化并修改">MobilePress 主题汉化并修改</a> (72)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (254)</li><li><a href="http://zou.lu/how-to-get-more-comments-on-your-blog/" title="如何获得更多的访客评论留言数">如何获得更多的访客评论留言数</a> (251)</li><li><a href="http://zou.lu/comments-text-replace/" title="WordPress 精简版评论文明用语插件">WordPress 精简版评论文明用语插件</a> (116)</li><li><a href="http://zou.lu/4-occult-events/" title="8月6号灵异事件">8月6号灵异事件</a> (113)</li><li><a href="http://zou.lu/we-love-wp/" title="We Love WP &#8211; 稀奇古怪的网站也和我们同一个内核">We Love WP &#8211; 稀奇古怪的网站也和我们同一个内核</a> (65)</li><li><a href="http://zou.lu/wordpress-plugins-i-used/" title="我使用的 WordPress 插件">我使用的 WordPress 插件</a> (90)</li><li><a href="http://zou.lu/notes-for-wordpress-28-upgrading/" title="升级到 WordPress 2.8 以后要注意的事项">升级到 WordPress 2.8 以后要注意的事项</a> (61)</li><li><a href="http://zou.lu/optimize-wordpress-database-query-middle-object-cache/" title="优化你的 WordPress 之减少数据库查询次数（中级篇补充之 Object Cache）">优化你的 WordPress 之减少数据库查询次数（中级篇补充之 Object Cache）</a> (43)</li></ul><hr /><div style="padding: 5px 10px; background: rgb(243, 245, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><p>© from <a href="//zou.lu/?from=feed">走点路博客</a>, 2009/09/26. | <a href="http://zou.lu/careful-about-wordpress-plugins/">千里之堤溃于蚁穴 - 慎用 WordPress 插件</a> | <a href="http://zou.lu/careful-about-wordpress-plugins/#comments">135 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/qq/" rel="tag">QQ</a>, <a href="http://zou.lu/tags/wordpress/" rel="tag">WordPress</a>, <a href="http://zou.lu/tags/wordpress%e6%8f%92%e4%bb%b6/" rel="tag">WordPress插件</a>, <a href="http://zou.lu/tags/%e5%8d%9a%e5%ae%a2/" rel="tag">博客</a>, <a href="http://zou.lu/tags/%e6%bb%94%e6%bb%94/" rel="tag">滔滔</a> | <a href="//zou.lu/?p=107">Link</a> | <a href="http://zi.mu/domain"><font color="red">.me 域名全国最低价，首年仅需40元，续费130元促销中！</font></a></p></div>]]></content:encoded> <wfw:commentRss>http://zou.lu/careful-about-wordpress-plugins/feed/</wfw:commentRss> <slash:comments>135</slash:comments> </item> <item><title>如何获得更多的访客评论留言数</title><link>http://zou.lu/how-to-get-more-comments-on-your-blog/</link> <comments>http://zou.lu/how-to-get-more-comments-on-your-blog/#comments</comments> <pubDate>Sun, 20 Sep 2009 08:29:20 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[Web 2.0]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[Blogger]]></category> <category><![CDATA[人气]]></category> <category><![CDATA[博客]]></category> <category><![CDATA[留言]]></category> <category><![CDATA[评论]]></category><guid isPermaLink="false">http://zou.lu/how-to-get-more-comments-on-your-blog/</guid> <description><![CDATA[最近，经常有 PLMM 来问我：Showfom 小帅锅，为什么你的博客人气总是那么高，有那么多人来留言，我好崇拜哦！ 无奈之下，只能写一篇文章来告诉大家自己的博客如何才能获得每篇文章评论如淫，哦不，是流水！（淫荡版？正常版？算了，我随便写了，以下内容都是顺手打的。） 一、明确自己开博客的目的 写博客为的是啥？人气，金钱，魅力？最重要的还是人气了，没有人气，哪怕你的博客写得再好而没有人来问津，同样会是一个失败的博客（当然某些刻意不让别人看的博客除外，比如某个人的 https 站点嗯嗯） 我说过无数次，我写博客的目的无非是从网上认识一些志同道合的朋友，很多时候，写出来的文章无所谓，仔细看下面满屏的评论确实最津津乐道的，就是说，我开博客的目的就是让人们认识我，顺带交个朋友之类的，并不为名利，访问数我从来不在乎，在乎的是来评论的条数，如是而已。 二、获取评论的几个方法 新开的博客，没人知道，当然不会有很多人那么好运气来访问并且留言，除非你是电视上都能看到的名人或者是混迹网络多年的大侠，否则不会有一群朋友来捧场，当然就别提评论数目了。 （注：我这里写的都是独立博客尤其是 WordPress 博客获得更多评论的方法，至于其他的BSP之类的，只要有某个两点被编辑推荐到首页，其他的就不用说了，都是人哇，活生生的人……） 当然叫几个朋友来捧场是很不错的，一开始他们可能会俩留言并且恭喜开博之类的，但是你的博客没有内容吸引访客，除了真心的朋友，谁吃的空每天来看你尿了几次床拉了几次屎吐了几次空气呢？ 所以，内容是王道，假如你不想走捷径，那么，就好好充实你的博客内容吧，原创，必须的；质量高，必须的；SEO优化做好，必须的。慢慢地，人气就会高起来，坚持不懈才是硬道理。 至于什么内容，技术类的还是生活类的，大致可以用一句话概括：技术类的除非是做出大众型的项目，否则正常人看不懂你的技术，除非来留言的本身也是搞技术的，志同道合才会有更多的评论嘛；生活类的，只要广识天下网友，人气高了肯定不缺评论，当然发个艳照门之类的那是歪门邪道，我不推荐；又有技术又有生活的，比如小帅锅我的博客嘛……嘿嘿 这是个不是秘密的秘密了 当然，可能你自认为博客的内容不是很好，至少自己是那么看，那么，Showfom 小帅锅就推荐几个获取更多评论的捷径，这也是本文的目的。 ㈠ 常规方式获得更多评论 ①、加入 WordPress 博客相关论坛并且踊跃发言 这点国内我并不看好，国内有这么几个论坛： http://wordpress.org.cn/ 那个小白论坛我从来不去发言，一直潜水着，小白很多，当然人也很多，只是去年出过某件事情，所以对这个论坛印象并不好，具体就不说了，看这个文章吧：http://cn.ilemoned.com/archives/wordpress-org-cn-calumniates http://wfans.org/forums/ 去年出了那个事情以后开的，高手很多，一开始人气很高，后来……额，只要发帖，尤其是技术贴，每天还是会有IP来的，嗯。 http://bbs.wopus.org/ 木鸡鸡的酋长的论坛，现在人气也下降了，不过能认识很多写博客的朋友。 http://ushost.me/ 胡戈戈的主机论坛，有空去看看哦。 其他的我都不太清楚，总之 WordPress 写博客有一点原则，不懂 Google 之，然后再问之才是最好的方法，国内的论坛气氛我并不看好，最没技术含量的论坛人气最高，最看好的论坛现在人烟稀少，很囧。 ②、加入 WordPress 博客相关群 我可不是打广告，Gtalk 群详见我博客首页侧边栏的 WPG 大横幅：http://zou.lu/gtalk-group/ QQ群国内很多，我自己加入的几个都报一下群号： 雪深的博客群：52482161 付饶MM的Blogger群：57144702 不知道是谁建立的博客群：256329 还有一些群都是和网站相关的群，可以在各个网站查找，比如站趣、Wopus等 ③、加入 WordPress 博客相关联盟 [...]]]></description> <content:encoded><![CDATA[<p>最近，经常有 <strong>PLMM </strong>来问我：<strong>Showfom 小帅锅</strong>，为什么你的博客人气总是那么高，有那么多人来留言，我好崇拜哦！</p><p>无奈之下，只能写一篇文章来告诉大家自己的博客如何才能获得每篇文章评论如淫，哦不，是流水！（淫荡版？正常版？算了，我随便写了，以下内容都是顺手打的。）</p><p><span id="more-106"></span></p><h2>一、明确自己开博客的目的</h2><p>写博客为的是啥？人气，金钱，魅力？最重要的还是人气了，没有人气，哪怕你的博客写得再好而没有人来问津，同样会是一个失败的博客（当然某些刻意不让别人看的博客除外，比如某个人的 <strong>https 站点</strong>嗯嗯）</p><p>我说过无数次，我写博客的目的无非是从网上认识一些志同道合的朋友，很多时候，写出来的文章无所谓，仔细看下面满屏的评论确实最津津乐道的，就是说，我开博客的目的就是让人们认识我，顺带交个朋友之类的，并不为名利，访问数我从来不在乎，在乎的是来评论的条数，如是而已。</p><h2>二、获取评论的几个方法</h2><p>新开的博客，没人知道，当然不会有很多人那么好运气来访问并且留言，除非你是电视上都能看到的名人或者是混迹网络多年的大侠，否则不会有一群朋友来捧场，当然就别提评论数目了。</p><p>（注：我这里写的都是独立博客尤其是<strong> WordPress</strong> 博客获得更多评论的方法，至于其他的<strong>BSP</strong>之类的，只要有某个两点被编辑推荐到首页，其他的就不用说了，都是人哇，活生生的人……）</p><p>当然叫几个朋友来捧场是很不错的，一开始他们可能会俩留言并且恭喜开博之类的，但是你的博客没有内容吸引访客，除了真心的朋友，谁吃的空每天来看你尿了几次床拉了几次屎吐了几次空气呢？</p><p>所以，内容是王道，假如你不想走捷径，那么，就好好充实你的博客内容吧，原创，必须的；质量高，必须的；<strong>SEO</strong>优化做好，必须的。慢慢地，人气就会高起来，坚持不懈才是硬道理。</p><p>至于什么内容，技术类的还是生活类的，大致可以用一句话概括：技术类的除非是做出大众型的项目，否则正常人看不懂你的技术，除非来留言的本身也是搞技术的，志同道合才会有更多的评论嘛；生活类的，只要广识天下网友，人气高了肯定不缺评论，当然发个艳照门之类的那是歪门邪道，我不推荐；又有技术又有生活的，比如小帅锅我的博客嘛……嘿嘿 这是个不是秘密的秘密了 <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_redface.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_redface" src="//showfom.imgbed.com/49865197e013_E3B3/icon_redface_thumb.gif" alt="icon_redface" width="24" height="24" /></a></p><p>当然，可能你自认为博客的内容不是很好，至少自己是那么看，那么，<strong><a title="Showfom's Blog" href="http://zou.lu/">Showfom 小帅锅</a></strong>就推荐几个获取更多评论的捷径，这也是本文的目的。</p><p><strong><span style="color: #008000;">㈠ 常规方式获得更多评论</span></strong></p><p><span style="color: #808000;">①、加入 WordPress 博客相关论坛并且踊跃发言</span></p><p>这点国内我并不看好，国内有这么几个论坛：</p><p><a title="http://wordpress.org.cn/" href="http://wordpress.org.cn/">http://wordpress.org.cn/</a> 那个小白论坛我从来不去发言，一直潜水着，小白很多，当然人也很多，只是去年出过某件事情，所以对这个论坛印象并不好，具体就不说了，看这个文章吧：<a title="http://cn.ilemoned.com/archives/wordpress-org-cn-calumniates" href="http://cn.ilemoned.com/archives/wordpress-org-cn-calumniates">http://cn.ilemoned.com/archives/wordpress-org-cn-calumniates</a></p><p><a title="http://wfans.org/forums/" href="http://wfans.org/forums/">http://wfans.org/forums/</a> 去年出了那个事情以后开的，高手很多，一开始人气很高，后来……额，只要发帖，尤其是技术贴，每天还是会有IP来的，嗯。</p><p><a href="http://bbs.wopus.org/">http://bbs.wopus.org/</a> 木鸡鸡的酋长的论坛，现在人气也下降了，不过能认识很多写博客的朋友。</p><p><a href="http://ushost.me/">http://ushost.me/</a> 胡戈戈的主机论坛，有空去看看哦。</p><p>其他的我都不太清楚，总之 <strong>WordPress </strong>写博客有一点原则，不懂<strong> Google</strong> 之，然后再问之才是最好的方法，国内的论坛气氛我并不看好，最没技术含量的论坛人气最高，最看好的论坛现在人烟稀少，很囧。</p><p><span style="color: #808000;">②、加入 WordPress 博客相关群</span></p><p>我可不是打广告，<strong>Gtalk 群</strong>详见我博客首页侧边栏的<strong> WPG 大横幅</strong>：<a title="http://zou.lu/gtalk-group/" href="http://zou.lu/gtalk-group/">http://zou.lu/gtalk-group/</a></p><p><strong>QQ群</strong>国内很多，我自己加入的几个都报一下群号：</p><p><a href="http://xueshen.net/" target="_blank">雪深</a>的博客群：<strong>52482161</strong></p><p><a href="http://furao.me/" target="_blank">付饶MM</a>的<strong>Blogger</strong>群：<strong>57144702</strong></p><p>不知道是谁建立的博客群：<strong>256329</strong></p><p>还有一些群都是和网站相关的群，可以在各个网站查找，比如<a href="http://eachsite.org/" target="_blank">站趣</a>、<a href="http://www.wopus.org/" target="_blank">Wopus</a>等</p><p><span style="color: #808000;">③、加入 WordPress 博客相关联盟</span></p><p>国内好的联盟不多了，以前的CBN等等都倒闭鸟，我目前加入的就 <strong>RSSA</strong> 和<strong> WPG</strong>（也算是组织吧 <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_mrgreen.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_mrgreen" src="//showfom.imgbed.com/49865197e013_E3B3/icon_mrgreen_thumb.gif" alt="icon_mrgreen" width="24" height="24" /></a>）。</p><p><strong>RSSA </strong>详见： <a title="http://rssa.org.cn/" href="http://rssa.org.cn/">http://rssa.org.cn/</a></p><p><strong>WPG </strong>详见：<a title="http://www.airencn.com/wpg/" href="http://www.airencn.com/wpg/">http://www.airencn.com/wpg/</a></p><p>加入了相关的论坛、<strong>QQ/Gtalk群</strong>、联盟网站以后，和大家先混熟，熟人好说话嘛。假如是技术类的博客，觉得自己某个文章灰常出色，可以直接去论坛发帖，当然别忘了留下文章的地址，假如是一个主题或者插件的帖子，而且质量高的话，会赢得无数回访以及留言，嗯，有一句话可以通用：<strong>提出意见请在我博客留言，我会认真回复！</strong></p><p><strong>QQ/Gtalk群</strong>就更好，混熟了以后，发表文章就去群里发个消息，其实群很好，加大了博主们的交流，想怎么说就怎么说哈哈。</p><p>联盟的话，只能看你的文章的质量了，能认识联盟的头头搞好关系最好，到时候推荐推荐你的博客，推荐推荐你的文章，人气就是这么来滴。</p><p>以上三种方法是最常见的也是短期内最有效的，适合新手。</p><p><strong><span style="color: #008000;">㈡ 适合老鸟的葵花宝典</span></strong></p><p>玩 <strong>Twitter </strong>等微型博客时间长以后，获得很多<strong> followers</strong> 以后，你会发现，人气来的很容易。比如 <a title="Showfom's Twitter" href="https://twitter.com/Showfom" target="_blank">@Showfom</a> 小帅锅的 <strong>Twitter</strong> 粉丝大概维持在1500人左右，差不多有200 - 300人是每天活跃的用户，每次自己发的链接，内容一般般的可以获得20 -30个IP，内容很出色的，可以获得200 - 300个IP，被RT无数的，可以获得2000 - 3000个IP。</p><p><strong>Twitter</strong> 的好处就是，混久了以后人都认识，你的博客的访客都是认识的朋友，来留个言多正常，不留言就不正常了哈哈。</p><p>这个方法很适合每天泡在网络上的无聊人士，嗯，推特综合症严重患者尤其适合。</p><p><strong><span style="color: #008000;">㈢ 适合新手老鸟的终极大法</span></strong></p><p>新手和老鸟各自适合的方法都说了一下，那么，接下来就说说新手老鸟都适合的方法。一个字：不断留言不断评论！</p><p>对，没错，就是你去别人的博客不断留言不断评论。为啥很多人都说在不同的博客不同的地方都可以看到 Showfom 还有 卢松松 的身影呢？对比我们的博客，看看留言评论的人数就知道了。</p><p>那是一种友情回访造成的结果，就拿我来说，我订阅了100多个独立博客，并且在不断增加中，每当发现自己关注的朋友博客有更新，立马跑去留言，人气稍差的可以抢到沙发，不要客气，直接沙发回访；人气稍高点的也应该认真留言，你的认真评论才是最博主最大的鼓舞！</p><p>推荐用 <a title="Google Reader" href="https://www.google.com/reader/" target="_blank"><strong>Google Reader</strong></a> 订阅博客，直接在订阅处输入对方的博客地址即可，<strong>Google Reader</strong> 会自动识别 <strong>Feed 源</strong>，而且 <strong>Google Reader</strong> 的更新速度是最快的，什么鲜果抓虾有道，天朝的服务，可信不？</p><h2>三、博客以及评论留言需要注意的事项</h2><p>好了，我的方法都已经告诉你们了，而且那么详细，不来捧场留个言都对我过意不去了嗯哼，下面说说自己的博客评论设置以及自己去他人博客评论留言需要注意的地方。</p><p><strong><span style="color: #008000;">㈠ WordPress 评论设置</span></strong></p><p><span style="color: #808000;">① 开启嵌套回复</span></p><p>我不是很喜欢用 <strong>@</strong> 回复，在<strong> Twitter</strong> 上可行，因为可以通过 <strong>API</strong> 知道你回复的是哪条推，但是，一个博客文章页面，那么长一大串评论，谁吃的空去点一下或者拉上去看一下你回复的是哪一条呢？况且 <strong>WordPress 2.7+</strong> 以后，评论嵌套回复是内置的，假如你的博客主题不支持，那只能说是作者考虑不周全了，毕竟青菜萝卜各有所爱。</p><p><strong>Showfom 小帅锅</strong>的做法是： 支持默认嵌套回复的主题就直接上嵌套回复，在后台的 设置 &gt; 讨论 里开启；不支持默认嵌套回复的主题用 <a title="WordPress Thread Comment" href="http://wordpress.org/extend/plugins/wordpress-thread-comment/" target="_blank">WordPress Thread Comment</a><strong> </strong> 插件，而且就算以后更换的主题能嵌套回复，这个由国人开发的插件能完美转移到默认的嵌套回复，不用自己设置任何东东。</p><p><span style="color: #808000;">② 开启评论回复邮件通知</span></p><p>这点是很有必要的，可以用到的插件有 <a title="我爱吃水煮鱼" href="http://fairyfish.net/" target="_blank">水煮鱼</a>开发的支持默认嵌套回复的 <a title="Comment Reply Notification" href="http://wordpress.org/extend/plugins/comment-reply-notification/" target="_blank">Comment Reply Notification</a> ； <a href="http://wordpress.org/extend/plugins/wordpress-thread-comment/" target="_blank">WordPress Thread Comment</a> 插件则是自带，在后台设置里开启即可。</p><p>假如你愿意尊重来评论的朋友，这两个插件都有选项，让访客自行选择是否新回复发送邮件通知；我这个主题对这个选项不兼容，所以我就默认开启，反正我都会尽量回复每个朋友的留言，熟悉的就乱说一通，不熟悉的就认真回复，假如你不喜欢这个功能，请告诉我，谢谢。</p><p><span style="color: #808000;">③ 开启评论留言表情功能</span></p><p>嗯，换表情了，<strong>QQ表情V1</strong> 更新到 <strong>QQ表情V2</strong> ，很多朋友抱怨我博客的表情不提供下载，额，腾讯肥企鹅的表情也，有点侵权了吧，不过用表情是喜欢 <strong>QQ表情 </strong>而已，没有商业用途，让他们怎么说怎么说去吧，文末会放出 <strong>QQ表情系列</strong> V1 V2下载。</p><p>为什么这么说呢？一个有意思的表情，哪怕是 WordPress 自带的万年不变超级难看的表情，有时候也比言语要更容易表达，不信你试试，开启表情和关闭表情，评论留言的效果对比会如何？哈哈。</p><p>开启 WordPress 评论表情的傻瓜方法：</p><p>安装 <strong><a href="http://wordpress.org/extend/plugins/custom-smilies-se/" target="_blank">Custom Smilies</a></strong> 插件（别下载错了，有两个插件同名的，用这个链接：<a title="http://wordpress.org/extend/plugins/custom-smilies-se/" href="http://wordpress.org/extend/plugins/custom-smilies-se/">http://wordpress.org/extend/plugins/custom-smilies-se/</a>），后台激活，表情设置选项里简单设置，假如你的主题 <strong>comments.php</strong> 符合标准，直接开启“<strong>使用名为 comment_form 的 action，如果你的主题支持它的话。</strong>”选项，自动给你加上表情，假如不支持的话，请移步<a href="http://goto8848.net/projects/custom-smilies/" target="_blank">这里</a>阅读安装方法。</p><p><span style="color: #808000;">④ 开启头像功能</span></p><p><a title="Gravatar 头像" href="http://www.gravatar.com/" target="_blank">Gravatar</a> 全球通用 <strong>Email 头像</strong>，玩 WordPress 还不知道这点的真的很难想象，切记，这是你自己的形象问题，无论喜欢否，还是使用吧！不支持头像的主题根本就不是好主题，除非有特殊用途。</p><p><span style="color: #808000;">⑤ 记住访客信息</span></p><p>你喜欢每次去一个博客留言，然后下次进去再重复输入信息吗？默认的 WordPress 已经帮你记住了访客的 cookies ，主题只需要一个符合标准的 comments.php 即可记住访客信息，不能记住？看看你是否使用了 Hyper Cache 等插件，要缓存的话，千万别用 Hyper Cache ，新版本更新那么大还是不支持记住访客 cookies，推荐用 WP Super Cache 等缓存插件，都是能记住访客的 cookies 的。</p><p><strong><span style="color: #008000;">㈡ 去他人博客评论留言注意事项</span></strong></p><p>① 假如博主不喜欢别人抢沙发板凳，请别自作聪明直接一个沙发就完事，大多数情况下还是认真留个言为好</p><p>② 千万别做人肉 Spam，一旦发现，立马强.奸评论之！</p><p>③ 除非和博主很熟悉，否则别说些无厘头的乱七八糟的话，表现像个正常人好，当然，在我这里评论留言你想说啥就说啥，无所谓的哈哈。</p><p>④ 中文博客尽量用中文评论，嗯，道理不说了。</p><p>⑤ 切记留言一定要有头像（<a title="Gravatar 头像" href="http://www.gravatar.com/" target="_blank">http://www.gravatar.com/</a> 用 Email 地址申请即可），要加上自己博客的链接，Email要真实，方便回访以及让博主认识你。</p><p>=====</p><p>最后，应某人的要求，推荐一个博客，嗯，是我带着走到独立博客的：<strong>SiqianLee</strong> <a href="http://siqianlee.com/">http://siqianlee.com/</a> 去年加入我们2KCN团队，也是大学生，博客记录记录心情生活而已，欢迎去围观……</p><p><strong>QQ表情</strong>全套下载（解压以后 覆盖<strong> wp-includes/images/smilies/</strong> 里的同名文件即可，一共22个，个别我特意替换了，喜欢喜欢）：</p><p>V1 圆脸</p><p><a href="//showfom.imgbed.com/49865197e013_E3B3/icon_arrow.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_arrow" src="//showfom.imgbed.com/49865197e013_E3B3/icon_arrow_thumb.gif" alt="icon_arrow" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_biggrin.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_biggrin" src="//showfom.imgbed.com/49865197e013_E3B3/icon_biggrin_thumb.gif" alt="icon_biggrin" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_confused.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_confused" src="//showfom.imgbed.com/49865197e013_E3B3/icon_confused_thumb.gif" alt="icon_confused" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_cool.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_cool" src="//showfom.imgbed.com/49865197e013_E3B3/icon_cool_thumb.gif" alt="icon_cool" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_cry.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_cry" src="//showfom.imgbed.com/49865197e013_E3B3/icon_cry_thumb.gif" alt="icon_cry" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_eek.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_eek" src="//showfom.imgbed.com/49865197e013_E3B3/icon_eek_thumb.gif" alt="icon_eek" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_evil.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_evil" src="//showfom.imgbed.com/49865197e013_E3B3/icon_evil_thumb.gif" alt="icon_evil" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_exclaim.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_exclaim" src="//showfom.imgbed.com/49865197e013_E3B3/icon_exclaim_thumb.gif" alt="icon_exclaim" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_idea.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_idea" src="//showfom.imgbed.com/49865197e013_E3B3/icon_idea_thumb.gif" alt="icon_idea" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_lol.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_lol" src="//showfom.imgbed.com/49865197e013_E3B3/icon_lol_thumb.gif" alt="icon_lol" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_mad.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_mad" src="//showfom.imgbed.com/49865197e013_E3B3/icon_mad_thumb.gif" alt="icon_mad" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_mrgreen_3.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_mrgreen" src="//showfom.imgbed.com/49865197e013_E3B3/icon_mrgreen_thumb_3.gif" alt="icon_mrgreen" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_neutral.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_neutral" src="//showfom.imgbed.com/49865197e013_E3B3/icon_neutral_thumb.gif" alt="icon_neutral" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_question.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_question" src="//showfom.imgbed.com/49865197e013_E3B3/icon_question_thumb.gif" alt="icon_question" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_razz.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_razz" src="//showfom.imgbed.com/49865197e013_E3B3/icon_razz_thumb.gif" alt="icon_razz" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_redface_3.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_redface" src="//showfom.imgbed.com/49865197e013_E3B3/icon_redface_thumb_3.gif" alt="icon_redface" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_rolleyes.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_rolleyes" src="//showfom.imgbed.com/49865197e013_E3B3/icon_rolleyes_thumb.gif" alt="icon_rolleyes" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_sad.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_sad" src="//showfom.imgbed.com/49865197e013_E3B3/icon_sad_thumb.gif" alt="icon_sad" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_smile.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_smile" src="//showfom.imgbed.com/49865197e013_E3B3/icon_smile_thumb.gif" alt="icon_smile" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_surprised.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_surprised" src="//showfom.imgbed.com/49865197e013_E3B3/icon_surprised_thumb.gif" alt="icon_surprised" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_twisted.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_twisted" src="//showfom.imgbed.com/49865197e013_E3B3/icon_twisted_thumb.gif" alt="icon_twisted" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_wink.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_wink" src="//showfom.imgbed.com/49865197e013_E3B3/icon_wink_thumb.gif" alt="icon_wink" width="24" height="24" /></a></p><p>V2 方块</p><p><a href="//showfom.imgbed.com/49865197e013_E3B3/icon_arrow_3.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_arrow" src="//showfom.imgbed.com/49865197e013_E3B3/icon_arrow_thumb_3.gif" alt="icon_arrow" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_biggrin_3.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_biggrin" src="//showfom.imgbed.com/49865197e013_E3B3/icon_biggrin_thumb_3.gif" alt="icon_biggrin" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_confused_3.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_confused" src="//showfom.imgbed.com/49865197e013_E3B3/icon_confused_thumb_3.gif" alt="icon_confused" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_cool_3.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_cool" src="//showfom.imgbed.com/49865197e013_E3B3/icon_cool_thumb_3.gif" alt="icon_cool" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_cry_3.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_cry" src="//showfom.imgbed.com/49865197e013_E3B3/icon_cry_thumb_3.gif" alt="icon_cry" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_eek_3.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_eek" src="//showfom.imgbed.com/49865197e013_E3B3/icon_eek_thumb_3.gif" alt="icon_eek" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_evil_3.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_evil" src="//showfom.imgbed.com/49865197e013_E3B3/icon_evil_thumb_3.gif" alt="icon_evil" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_exclaim_3.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_exclaim" src="//showfom.imgbed.com/49865197e013_E3B3/icon_exclaim_thumb_3.gif" alt="icon_exclaim" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_idea_3.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_idea" src="//showfom.imgbed.com/49865197e013_E3B3/icon_idea_thumb_3.gif" alt="icon_idea" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_lol_3.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_lol" src="//showfom.imgbed.com/49865197e013_E3B3/icon_lol_thumb_3.gif" alt="icon_lol" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_mad_3.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_mad" src="//showfom.imgbed.com/49865197e013_E3B3/icon_mad_thumb_3.gif" alt="icon_mad" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_mrgreen.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_mrgreen" src="//showfom.imgbed.com/49865197e013_E3B3/icon_mrgreen_thumb.gif" alt="icon_mrgreen" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_neutral_3.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_neutral" src="//showfom.imgbed.com/49865197e013_E3B3/icon_neutral_thumb_3.gif" alt="icon_neutral" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_question_3.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_question" src="//showfom.imgbed.com/49865197e013_E3B3/icon_question_thumb_3.gif" alt="icon_question" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_razz_3.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_razz" src="//showfom.imgbed.com/49865197e013_E3B3/icon_razz_thumb_3.gif" alt="icon_razz" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_redface_4.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_redface" src="//showfom.imgbed.com/49865197e013_E3B3/icon_redface_thumb_4.gif" alt="icon_redface" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_rolleyes_3.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_rolleyes" src="//showfom.imgbed.com/49865197e013_E3B3/icon_rolleyes_thumb_3.gif" alt="icon_rolleyes" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_sad_3.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_sad" src="//showfom.imgbed.com/49865197e013_E3B3/icon_sad_thumb_3.gif" alt="icon_sad" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_smile_3.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_smile" src="//showfom.imgbed.com/49865197e013_E3B3/icon_smile_thumb_3.gif" alt="icon_smile" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_surprised_3.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_surprised" src="//showfom.imgbed.com/49865197e013_E3B3/icon_surprised_thumb_3.gif" alt="icon_surprised" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_twisted_3.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_twisted" src="//showfom.imgbed.com/49865197e013_E3B3/icon_twisted_thumb_3.gif" alt="icon_twisted" width="24" height="24" /></a> <a href="//showfom.imgbed.com/49865197e013_E3B3/icon_wink_3.gif" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline" title="icon_wink" src="//showfom.imgbed.com/49865197e013_E3B3/icon_wink_thumb_3.gif" alt="icon_wink" width="24" height="24" /></a></p><p>下载 | <strong>Download</strong>： <a href="//showfom.imgbed.com/uploads/qq-smilies-v1.zip" target="_blank">V1 圆脸</a> | <a href="//showfom.imgbed.com/uploads/qq-smilies-v2.zip" target="_blank">V2 方脸</a></p><p><strong><span style="font-family: Trebuchet MS; font-size: large;"> </span></strong></p><p><span style="font-family: Trebuchet MS; font-size: large;"><strong> </strong></span></p><blockquote><p align="center"><span style="font-family: Trebuchet MS; color: #ff0000; font-size: large;"><strong>That's All. Come on Comments !</strong></span></p></blockquote><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/planning-20090406/" title="接下来的计划">接下来的计划</a> (12)</li><li><a href="http://zou.lu/careful-about-wordpress-plugins/" title="千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件">千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件</a> (135)</li><li><a href="http://zou.lu/my-blog-idea/" title="我的博客理念">我的博客理念</a> (213)</li><li><a href="http://zou.lu/4-occult-events/" title="8月6号灵异事件">8月6号灵异事件</a> (113)</li><li><a href="http://zou.lu/we-love-wp/" title="We Love WP &#8211; 稀奇古怪的网站也和我们同一个内核">We Love WP &#8211; 稀奇古怪的网站也和我们同一个内核</a> (65)</li><li><a href="http://zou.lu/the-greatest-blog/" title="本世纪最伟大的博客诞生">本世纪最伟大的博客诞生</a> (119)</li><li><a href="http://zou.lu/bulid-a-new-wordpress-blog/" title="看我如何新建一个WordPress">看我如何新建一个WordPress</a> (16)</li><li><a href="http://zou.lu/how-to-become-a-niubi-blogger/" title="教你如何做一个牛逼的Blogger">教你如何做一个牛逼的Blogger</a> (45)</li><li><a href="http://zou.lu/hello-world/" title="Hello world!">Hello world!</a> (18)</li><li><a href="http://zou.lu/what-i-do-not-know-about-the-expo/" title="我不懂得世博会">我不懂得世博会</a> (132)</li></ul><hr /><div style="padding: 5px 10px; background: rgb(243, 245, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><p>© from <a href="//zou.lu/?from=feed">走点路博客</a>, 2009/09/20. | <a href="http://zou.lu/how-to-get-more-comments-on-your-blog/">如何获得更多的访客评论留言数</a> | <a href="http://zou.lu/how-to-get-more-comments-on-your-blog/#comments">251 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/blogger/" rel="tag">Blogger</a>, <a href="http://zou.lu/tags/wordpress/" rel="tag">WordPress</a>, <a href="http://zou.lu/tags/%e4%ba%ba%e6%b0%94/" rel="tag">人气</a>, <a href="http://zou.lu/tags/%e5%8d%9a%e5%ae%a2/" rel="tag">博客</a>, <a href="http://zou.lu/tags/%e7%95%99%e8%a8%80/" rel="tag">留言</a>, <a href="http://zou.lu/tags/%e8%af%84%e8%ae%ba/" rel="tag">评论</a> | <a href="//zou.lu/?p=106">Link</a> | <a href="http://zi.mu/domain"><font color="red">.me 域名全国最低价，首年仅需40元，续费130元促销中！</font></a></p></div>]]></content:encoded> <wfw:commentRss>http://zou.lu/how-to-get-more-comments-on-your-blog/feed/</wfw:commentRss> <slash:comments>251</slash:comments> </item> <item><title>我的博客理念</title><link>http://zou.lu/my-blog-idea/</link> <comments>http://zou.lu/my-blog-idea/#comments</comments> <pubDate>Mon, 14 Sep 2009 11:56:46 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[Web 2.0]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[日志便笺]]></category> <category><![CDATA[Blogger]]></category> <category><![CDATA[博客]]></category> <category><![CDATA[扯淡]]></category><guid isPermaLink="false">http://zou.lu/my-blog-idea/</guid> <description><![CDATA[看过很多国内外朋友的博客，见过很多各式各样的形形色色的博主，一千个人心目中有一千个哈姆雷特，同样，一千个人里会有一千种博客，说说我的博客理念吧，或许对你有点帮助，或许你就当是一个傻逼在扯淡而已。 两年前第一次知道 WordPress，那时还是2.3+，插件得FTP上传，主题得FTP上传，后台简陋而且很慢，主题不多，功能很简洁。发展到现在的 WordPress 已经成了一种文化，据说全球有超过 1000 万个独立博客使用 WordPress ，至于是真是假，就没有证据了。 在上回 WCC 中，詹斌老师讲他用 WordPress 如何做站做博客，我下面和久酷悄悄说，其实用 WordPress 做垃圾站更加容易，容易得让人匪夷所思。一串关键词，一两个插件，一个主题，Over，That's All. 当然插件我是不会共享的，自己寻找即可，这种违背了良心的做法，当然啦，为了美元，谁会和美元过意不去嘛，反正访问一下又不会少块肉，哈哈。 废话就不说了，说说我的博客理念。 一、留言和评论 在我的博客理念中，留言和评论数目始终是大于大于大于再大于访问量的，Comments &#62; Pageviews ，反正偶的博客不盈利，访问量再大，除了能出点名，满足自己的虚荣心，还有什么呢？来留言和评论的朋友，尤其是认真读了文章以后说出自己的想法的朋友，我一定会认真回复你的留言，这才是心与心的交流，否则，开个博客干啥，还不如写个私人日记，关闭访问，自得其乐，哈哈。 我开博客唯一的原因就是为了交到更多的朋友，让更多的朋友认识我，并且正常交流，留言和评论就是一种很好的交流方式。在这个互联网的世界，在这块土地上留下你的脚印，这才是对写博客的博主最大的尊重。 所以，我不反对沙发，甚至我狠赞同沙发文化，沙发文化是中国特有的网络文化吧，还记得我在某个老外的博客里教她 Sofa 的意思呢哈哈！ 沙发是一种幸运，沙发是一种美德，沙发是评价你博客人气的第一印象，沙发能得到我的香吻一枚 (￣3￣)ゞ[亲亲] 如何才能提高博客的留言数呢？这是个不是秘密的秘密，以后有空我再仔细介绍，看看我的小博客的留言数，嗯，很是让我满意哈哈（虚荣心虚荣心在做鬼哇！） &#160; 二、原创和友情链接 在我的博客理念中，原创才是硬道理，中国的网络坏境下，各大 BSP 上的版权早就被强..奸了（Via），所以独立博客才是维护自己原创作品的唯一道路。 当然，在中国不可避免盗版、侵犯版权一说，我是无所谓，谁愿意转载就转载，留个链接就行，不留链接的反正是不得好死的那种我也管不着，但是我狠讨厌垃圾站、采集站，尤其是中文的，还假惺惺来到你的博客留言评论，装做一副无辜的样子，看评论还挺有道理，其实他是为了一个 link 而已（Google 能辨别 no follow 无所谓，百度那个2B是妓..女都要.操.的），草泥马的，越看越恶心，对于这种人肉 Spam，Aw 曾经抱怨过无数次，我的做法就是：直接强奸他的留言，从哪儿来回哪儿去，爷的博客不欢迎你！ 说道这里就必须说说友情链接了，这段时间我得清理一下友情链接，一些从未交流过的朋友必须撤下，友情链接友情链接，重在友情二字而不是链接二字。很多小白来逛你的博客第一件事就是想交换链接，这是很不礼貌的。博主都不认识你，都没怎么交流过，就算你的网站博客再怎么强大，有友情吗？ 所以，在我的博客理念中，友情链接注重的是友情，什么 PR，什么 Alexa，都见鬼去吧，咱认识时间长，就算你放到内页就算你用 frame 框架输出友链就算你统统加上 no follow ，我也照样做友链，而且是首页 do [...]]]></description> <content:encoded><![CDATA[<p>看过很多国内外朋友的博客，见过很多各式各样的形形色色的博主，一千个人心目中有一千个哈姆雷特，同样，一千个人里会有一千种博客，说说我的博客理念吧，或许对你有点帮助，或许你就当是一个傻逼在扯淡而已。</p><p> <span id="more-104"></span><p><a href="//showfom.imgbed.com/c7b90287488d_11862/image.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="博客" border="0" alt="博客" src="//showfom.imgbed.com/c7b90287488d_11862/image_thumb.png" width="503" height="336" /></a></p><p>两年前第一次知道<strong> WordPress</strong>，那时还是<strong>2.3+，</strong>插件得<strong>FTP</strong>上传，主题得<strong>FTP</strong>上传，后台简陋而且很慢，主题不多，功能很简洁。发展到现在的 WordPress 已经成了一种文化，据说全球有超过<strong> 1000 万</strong>个<strong>独立博客</strong>使用 <strong>WordPress </strong>，至于是真是假，就没有证据了。</p><p>在上回 <a href="http://zou.lu/wordcamp-2009-ends/" target="_blank">WCC</a> 中，詹斌老师讲他用 <strong>WordPress</strong> 如何做站做博客，我下面和久酷悄悄说，其实用<strong> WordPress</strong> 做垃圾站更加容易，容易得让人匪夷所思。一串关键词，一两个插件，一个主题，<strong>Over，That's All.</strong></p><p>当然插件我是不会共享的，自己寻找即可，这种违背了良心的做法，当然啦，为了美元，谁会和美元过意不去嘛，反正访问一下又不会少块肉，哈哈。</p><p>废话就不说了，说说我的博客理念。</p><h2>一、留言和评论</h2><p>在我的博客理念中，留言和评论数目始终是大于大于大于再大于访问量的，<strong>Comments &gt; Pageviews</strong> ，反正偶的博客不盈利，访问量再大，除了能出点名，满足自己的虚荣心，还有什么呢？来留言和评论的朋友，尤其是认真读了文章以后说出自己的想法的朋友，我一定会认真回复你的留言，这才是心与心的交流，否则，开个博客干啥，还不如写个私人日记，关闭访问，自得其乐，哈哈。</p><p>我开博客唯一的原因就是为了交到更多的朋友，让更多的朋友认识我，并且正常交流，留言和评论就是一种很好的交流方式。在这个互联网的世界，在这块土地上留下你的脚印，这才是对写博客的博主最大的尊重。</p><p>所以，我不反对沙发，甚至我狠赞同沙发文化，沙发文化是中国特有的网络文化吧，还记得我在某个老外的博客里教她 Sofa 的意思呢哈哈！</p><blockquote><p>沙发是一种幸运，沙发是一种美德，沙发是评价你博客人气的第一印象，沙发能得到我的香吻一枚 (￣3￣)ゞ[亲亲]</p></blockquote><p>如何才能提高博客的留言数呢？这是个不是秘密的秘密，以后有空我再仔细介绍，看看我的小博客的留言数，嗯，很是让我满意哈哈（虚荣心虚荣心在做鬼哇！）</p><p>&#160;</p><h2>二、原创和友情链接</h2><p>在我的博客理念中，原创才是硬道理，中国的网络坏境下，各大 <strong>BSP</strong> 上的版权早就被强..奸了（<a title="版权与受益权 —— 中国博客与美国博客最根本的区别" href="http://blog.sina.com.cn/s/blog_4e123ebb0100ew38.html" target="_blank">Via</a>），所以独立博客才是维护自己原创作品的唯一道路。</p><p>当然，在中国不可避免盗版、侵犯版权一说，我是无所谓，谁愿意转载就转载，留个链接就行，不留链接的反正是不得好死的那种我也管不着，但是我狠讨厌垃圾站、采集站，尤其是中文的，还假惺惺来到你的博客留言评论，装做一副无辜的样子，看评论还挺有道理，其实他是为了一个 <strong>link</strong> 而已（<strong>Google</strong> 能辨别<strong> no follow</strong> 无所谓，百度那个<strong>2B</strong>是<strong>妓..女</strong>都要.<strong>操.</strong>的），草泥马的，越看越恶心，对于这种<strong><font color="#ff0000">人肉 Spam</font></strong>，<a href="http://www.awflasher.com/blog/" target="_blank">Aw</a> 曾经<a href="http://www.awflasher.com/blog/tag/spam" target="_blank">抱怨过</a>无数次，我的做法就是：直接强奸他的留言，从哪儿来回哪儿去，爷的博客不欢迎你！</p><p>说道这里就必须说说友情链接了，这段时间我得清理一下友情链接，一些从未交流过的朋友必须撤下，友情链接友情链接，重在友情二字而不是链接二字。很多小白来逛你的博客第一件事就是想交换链接，这是很不礼貌的。博主都不认识你，都没怎么交流过，就算你的网站博客再怎么强大，有友情吗？</p><p>所以，在我的博客理念中，友情链接注重的是友情，什么 <strong>PR</strong>，什么 <strong>Alexa</strong>，都见鬼去吧，咱认识时间长，就算你放到内页就算你用 <strong>frame</strong> 框架输出友链就算你统统加上 <strong>no follow</strong> ，我也照样做友链，而且是首页 <strong>do follow</strong>。</p><p>&#160;</p><h3>三、个性化</h3><p>在我的博客理念中，个性化是很重要的一点。一个一点都没个性的博客，文章都是别人说过来说过去，主题都是滥用的那种，除了偶尔访问，我不是很乐意订阅，除非你和我是网上认识的朋友。</p><p>个性个性，从域名到主题到插件到内容，我的博客个性吧？您的呢？</p><p>&#160;</p><p><strong>PS：调查一下，用订阅器阅读的朋友出来冒个泡啦，您是喜欢看我伪技术类的文章还是生活心情类的文章？麻烦出来告诉我一下，好让我有个方向，谢谢。</strong></p><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/how-to-get-more-comments-on-your-blog/" title="如何获得更多的访客评论留言数">如何获得更多的访客评论留言数</a> (251)</li><li><a href="http://zou.lu/the-greatest-blog/" title="本世纪最伟大的博客诞生">本世纪最伟大的博客诞生</a> (119)</li><li><a href="http://zou.lu/planning-20090406/" title="接下来的计划">接下来的计划</a> (12)</li><li><a href="http://zou.lu/how-to-become-a-niubi-blogger/" title="教你如何做一个牛逼的Blogger">教你如何做一个牛逼的Blogger</a> (45)</li><li><a href="http://zou.lu/hello-world/" title="Hello world!">Hello world!</a> (18)</li><li><a href="http://zou.lu/blog-summary-2009/" title="博客2009年终总结">博客2009年终总结</a> (161)</li><li><a href="http://zou.lu/dedicated-ip/" title="为什么需要独立IP？">为什么需要独立IP？</a> (134)</li><li><a href="http://zou.lu/blog-party/" title="惠眼识博 &#8211; 除了帽子什么都可以绿">惠眼识博 &#8211; 除了帽子什么都可以绿</a> (104)</li><li><a href="http://zou.lu/careful-about-wordpress-plugins/" title="千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件">千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件</a> (135)</li><li><a href="http://zou.lu/4-occult-events/" title="8月6号灵异事件">8月6号灵异事件</a> (113)</li></ul><hr /><div style="padding: 5px 10px; background: rgb(243, 245, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><p>© from <a href="//zou.lu/?from=feed">走点路博客</a>, 2009/09/14. | <a href="http://zou.lu/my-blog-idea/">我的博客理念</a> | <a href="http://zou.lu/my-blog-idea/#comments">213 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/blogger/" rel="tag">Blogger</a>, <a href="http://zou.lu/tags/%e5%8d%9a%e5%ae%a2/" rel="tag">博客</a>, <a href="http://zou.lu/tags/%e6%89%af%e6%b7%a1/" rel="tag">扯淡</a> | <a href="//zou.lu/?p=104">Link</a> | <a href="http://zi.mu/domain"><font color="red">.me 域名全国最低价，首年仅需40元，续费130元促销中！</font></a></p></div>]]></content:encoded> <wfw:commentRss>http://zou.lu/my-blog-idea/feed/</wfw:commentRss> <slash:comments>213</slash:comments> </item> <item><title>走自己牛逼的路，让那些傻逼去说吧</title><link>http://zou.lu/change-domain/</link> <comments>http://zou.lu/change-domain/#comments</comments> <pubDate>Thu, 10 Sep 2009 03:41:12 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[Web 2.0]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[日志便笺]]></category> <category><![CDATA[.lu域名]]></category> <category><![CDATA[域名]]></category> <category><![CDATA[更换域名]]></category><guid isPermaLink="false">http://zou.lu/change-domain/</guid> <description><![CDATA[于是乎，换域名！ 好马配好鞍，才子配佳人，牛逼的博客必须配备一个好域名，伟大的意大利诗人阿利盖利·但丁在自己的神作《神曲》里就为本博客写过description：“走自己牛逼的路，让那些个傻逼去说吧！” 将近800年以后，但丁的语言成真，Showfom 小帅锅的博客注定要成为历史上最个性的博客，连博客的描述都是几百年前就有的，能不牛逼吗？ 走路，走自己的路，路是自己选择的，路是可以自己创造的。 当无数人都在用.com .net .cn 甚至 .org .ru .me .in .im 的时候，Showfom 已经走出这个枷锁，用上了 .lu 这个很奇怪很稀奇很独特很有个性的域名。 zou.lu 走点路，是的，我的博客，已经走上了一条个性的路。 什么PR，什么Alexa，什么排名，都是一串数字而已！ 是网络，让我们相遇；是网络，让我们相聚；是网络，让我们走得更近。 走点路吧，你会发现这个世界是如此之美好。 走点路吧，你会觉得有个性的博客才最牛逼。 这个博客是我第三次重新开博，新的博客第一篇文章就开始说，我在乎的是评论的朋友，留言的朋友，关注我的朋友，而不是陌生的访客，有博客的朋友来留言我必定回访，用垃圾站来留言的朋友我必定强奸你的留言。没错，这就是我的地盘，我的地盘我做主！ 今年流行短域名，短网址，bit.ly 启用了 j.mp ；老肥的博客在我的帮助下购得了心爱的域名 fis.io ；Helloell 小朋友在我的勾引下购得 ell.im ； Joya 姐姐在我的诱惑下拿到了 joya.in ； 那么，下一个是谁呢？没错，就是你！ 大家都喜欢了.com .net .cn 之类的传统域名，用上 .me .in .im 的朋友已经被归类为不正常人士，那么，我要做的，就是更加不正常，更加有个性，个性域名，没错，我一定要推广你。 为什么以前都没人用过这样的个性域名呢？原因无非有两个： 一、想注册但是不知道去哪里买。 二、想在国内买但是价格实在太高。 这里是某两个国内注册商的页面： 如此高昂的价格，谁写个博客愿意花上1000左右的钱买个域名，仅仅一个域名而已？而且，国内注册域名，哪天你被卖了都不知道。 而我，作为个性域名，短域名的推广大使，在这里郑重宣布，如果你找我注册域名，一定会享受到低廉的价格，高贵的品质。 （PS：我是 1API [...]]]></description> <content:encoded><![CDATA[<p><font size="5" face="微软雅黑"><strong>于是乎，换域名！</strong></font></p><p> <span id="more-101"></span><p>好马配好鞍，才子配佳人，牛逼的博客必须配备一个好域名，伟大的意大利诗人阿利盖利·但丁在自己的神作《神曲》里就为本博客写过<strong>description</strong>：“走自己牛逼的路，让那些个傻逼去说吧！”</p><p>将近800年以后，但丁的语言成真，<strong>Showfom 小帅锅</strong>的博客注定要成为历史上最个性的博客，连博客的描述都是几百年前就有的，能不牛逼吗？</p><p>走路，走自己的路，路是自己选择的，路是可以自己创造的。</p><p>当无数人都在用<strong>.com .net .cn</strong> 甚至<strong> .org .ru .me .in .im</strong> 的时候，<strong>Showfom</strong> 已经走出这个枷锁，用上了 .lu 这个很奇怪很稀奇很独特很有个性的域名。</p><p><strong><font color="#0080ff" size="4"><a href="http://zou.lu/" target="_blank">zou.lu</a></font></strong> 走点路，是的，我的博客，已经走上了一条个性的路。</p><p><strong>什么PR，什么Alexa，什么排名，都是一串数字而已！</strong></p><blockquote><p>是网络，让我们相遇；是网络，让我们相聚；是网络，让我们走得更近。</p><p>走点路吧，你会发现这个世界是如此之美好。</p><p>走点路吧，你会觉得有个性的博客才最牛逼。</p></blockquote><p>这个博客是我第三次重新开博，新的博客第一篇文章就开始说，我在乎的是评论的朋友，留言的朋友，关注我的朋友，而不是陌生的访客，有博客的朋友来留言我必定回访，用垃圾站来留言的朋友我必定强奸你的留言。没错，这就是我的地盘，我的地盘我做主！</p><p>今年流行短域名，短网址，bit.ly 启用了 j.mp ；老肥的博客在我的帮助下购得了心爱的域名 <a href="http://fis.io/" target="_blank">fis.io</a> ；Helloell 小朋友在我的勾引下购得 <a href="http://ell.im/" target="_blank">ell.im</a> ； Joya 姐姐在我的诱惑下拿到了 <a href="http://joya.in/" target="_blank">joya.in</a> ； 那么，下一个是谁呢？没错，就是你！</p><p>大家都喜欢了.com .net .cn 之类的传统域名，用上 .me .in .im 的朋友已经被归类为不正常人士，那么，我要做的，就是更加不正常，更加有个性，个性域名，没错，我一定要推广你。</p><p>为什么以前都没人用过这样的个性域名呢？原因无非有两个：</p><h2>一、想注册但是不知道去哪里买。 <br /></h2><h2>二、想在国内买但是价格实在太高。</h2><p>这里是某两个国内注册商的页面：</p><p><a href="//showfom.imgbed.com/14c62a854668_9E9A/image.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title=".lu 域名" border="0" alt=".lu 域名" src="//showfom.imgbed.com/14c62a854668_9E9A/image_thumb.png" width="268" height="39" /></a></p><p><a href="//showfom.imgbed.com/14c62a854668_9E9A/image_3.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title=".lu 域名" border="0" alt=".lu 域名" src="//showfom.imgbed.com/14c62a854668_9E9A/image_thumb_3.png" width="604" height="64" /></a></p><p>如此高昂的价格，谁写个博客愿意花上<strong><font color="#ff0000">1000</font></strong>左右的钱买个域名，仅仅一个域名而已？而且，国内注册域名，哪天你被卖了都不知道。</p><p>而我，作为个性域名，短域名的推广大使，在这里郑重宣布，如果你找我注册域名，一定会享受到低廉的价格，高贵的品质。</p><p>（PS：我是 <a href="http://www.hexonet.net/" target="_blank">1API</a> 的高级用户，自封金牌代理，享受最优惠的价格）</p><p>就拿 <strong>.lu</strong> 域名来说吧，最短注册字母为三个，可以任意挑选未注册的域名，如果找我注册，正常价格是<strong><font color="#ff0000">250</font></strong>左右一个（自己注册的话），优惠期间（第一次尝试，前十名找我注册的都有优惠，我直接拿我的代理价卖给你，一个只要<strong><font color="#ff0000">200</font></strong>），童叟无欺，欢迎联系我注册短域名。</p><p>=======================</p><p>广告到此为止，还是说说更换域名但是不更换空间的事情吧，<strong>WordPress</strong> 更换域名很简单，只要四个步骤：</p><p>1、新建一个目录并且绑定你的新域名</p><p>2、把旧的博客里的文件全部复制过去，是的，是复制，<strong>CP面板</strong>，<strong>DA面板</strong>都支持直接复制，千万别用转移。</p><p>3、进入 <strong>phpmyadmin </strong>，找到你的数据表，先备份，然后运行SQL，输入以下语句即可：</p><div style="background-color: rgb(30,30,39); font-family: &quot;None&quot;,&quot;Consolas&quot;,&quot;Lucida Console&quot;,&quot;Courier New&quot;; color: rgb(255,255,255)" class="source"><span style="color: rgb(255,255,255)">UPDATE wp_options SET option_value = replace(option_value, 'http://showfom.com', 'http://zou.lu') WHERE option_name = 'home' OR option_name = 'siteurl';</span></p><p><span style="color: rgb(255,255,255)">UPDATE wp_posts SET post_content = replace(post_content, 'http://showfom.com', 'http://zou.lu');</span></p><p><span style="color: rgb(255,255,255)">UPDATE wp_posts SET guid = replace(guid, 'http://showfom.com', 'http://zou.lu');</span></p><p><span style="color: rgb(255,255,255)">UPDATE wp_comments SET comment_author_url= replace(comment_author_url, 'http://showfom.com', 'http://zou.lu');</span></div></p><p>4、在旧的博客目录修改<strong> .htaccess</strong> 文件</p><div style="background-color: rgb(30,30,39); font-family: &quot;None&quot;,&quot;Consolas&quot;,&quot;Lucida Console&quot;,&quot;Courier New&quot;; color: rgb(255,255,255)" class="source"><span style="color: rgb(255,255,255)">RewriteEngine on</span> <br /><span style="color: rgb(255,255,255)">RewriteCond %{HTTP_HOST} showfom.com</span> <br /><span style="color: rgb(255,255,255)">RewriteRule ^(.*) http://zou.lu/$1 [R]</span></div><p>Over，一切安好，如果主题插件之类还保留着以前的设置、链接的话，直接自行修改即可。</p><p>我是多么纯洁，没有用大家猜测的很淫荡的域名，多纯洁多高尚多那啥的域名！</p><p>先写到这里，下一篇日志预告：<strong><font color="#ff0000">我可以代理注册的所有域名列表以及价格。</font></strong></p><p><strong><font color="#0080ff">还是那句话，博客，是自己彰显个性的地方，嗯，得一个一个通知交换过链接的朋友修改链接了，如果您在订阅器里看到此文章，请修改一下链接，谢谢。</font></strong></p><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/domains/" title="个性后缀域名注册+价格列表">个性后缀域名注册+价格列表</a> (243)</li><li><a href="http://zou.lu/use-cook-free-domain-for-your-wordpress/" title="提高 WordPress 速度之独立域名图床">提高 WordPress 速度之独立域名图床</a> (155)</li><li><a href="http://zou.lu/some-ideas/" title="近期的一些计划和想法">近期的一些计划和想法</a> (83)</li><li><a href="http://zou.lu/invest_in_dot_co_domain_name-2/" title="域名投资：.co域名7月21日开放注册">域名投资：.co域名7月21日开放注册</a> (74)</li><li><a href="http://zou.lu/domain-hacks/" title="如何挑选适合自己的个性创意域名">如何挑选适合自己的个性创意域名</a> (162)</li><li><a href="http://zou.lu/how-to-choose-hosting-and-domains/" title="如何挑选合适的国外域名和空间">如何挑选合适的国外域名和空间</a> (160)</li><li><a href="http://zou.lu/change-and-change/" title="这些心神不宁的事">这些心神不宁的事</a> (205)</li><li><a href="http://zou.lu/wpjam/" title="WordPress Jam &#8211; WP 建站服务一条龙">WordPress Jam &#8211; WP 建站服务一条龙</a> (62)</li><li><a href="http://zou.lu/mobilepress-themes-fixed/" title="MobilePress 主题汉化并修改">MobilePress 主题汉化并修改</a> (72)</li><li><a href="http://zou.lu/private-themes/" title="换上私人主题 + 清理友链">换上私人主题 + 清理友链</a> (186)</li></ul><hr /><div style="padding: 5px 10px; background: rgb(243, 245, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><p>© from <a href="//zou.lu/?from=feed">走点路博客</a>, 2009/09/10. | <a href="http://zou.lu/change-domain/">走自己牛逼的路，让那些傻逼去说吧</a> | <a href="http://zou.lu/change-domain/#comments">158 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/lu%e5%9f%9f%e5%90%8d/" rel="tag">.lu域名</a>, <a href="http://zou.lu/tags/wordpress/" rel="tag">WordPress</a>, <a href="http://zou.lu/tags/%e5%9f%9f%e5%90%8d/" rel="tag">域名</a>, <a href="http://zou.lu/tags/%e6%9b%b4%e6%8d%a2%e5%9f%9f%e5%90%8d/" rel="tag">更换域名</a> | <a href="//zou.lu/?p=101">Link</a> | <a href="http://zi.mu/domain"><font color="red">.me 域名全国最低价，首年仅需40元，续费130元促销中！</font></a></p></div>]]></content:encoded> <wfw:commentRss>http://zou.lu/change-domain/feed/</wfw:commentRss> <slash:comments>158</slash:comments> </item> <item><title>更换空间 + 再次提速之 Gravatar 头像缓存</title><link>http://zou.lu/change-hosting-and-cache-gravatar/</link> <comments>http://zou.lu/change-hosting-and-cache-gravatar/#comments</comments> <pubDate>Wed, 02 Sep 2009 04:01:34 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[日志便笺]]></category> <category><![CDATA[Gravatar]]></category> <category><![CDATA[WordPress优化]]></category> <category><![CDATA[缓存]]></category><guid isPermaLink="false">http://zou.lu/change-hosting-and-cache-gravatar/</guid> <description><![CDATA[博客得追求速度，速度得靠空间和优化，最近网通有点抽风，为了心爱的博客，不得不再次提速。 这次搬家到易联了，Tension 开办的公司，暑假我去过他们公司蹭饭，见到可爱的秋爱大叔（听说他回老家了），顺便蹭饭蹭网哈哈。 小T长得一表人才的说，是个技术狂，哦不，是设计狂，做的几款主题都很精致，那天还吹牛说他直接写的主题能“完美兼容所有的浏览器”哈哈。 暑假去了趟北京，上回 WordCamp 又去了趟北京，真的和北京很有缘分。 以前用的酋长的空间挺不错的，但是最近网络抽风厉害，网通和电信的线路就这样了，易联的速度还过得去，当然我用电信的时候，Wopus 的速度和易联的速度还是差不多的，也就不多做评论了。 现在我博客的速度如何，至少我这里网通还是很快，上传速度是慢了点，不过没那么多东西要传，还是能忍受哈。 易联总共有三个套餐：http://www.elinkhost.com/ 我买的是第二个： 顺便帮小T童鞋推广一下，购买付款之前，有个优惠码的选项，填写 Showfom.Com （注意大小写），即可获得85折的优惠，要是你博客流量不大，可以选择入门型的，一年就255块，很划算。 一起用易联的博友们有：异次元软件世界、Sivan、 帕兰、 Sofish 等朋友，基本上都是认识的几个家伙，人品过得去，不会乱来的哈哈，所以可以放心使用啦。 空间问题算是解决了，接下来就要再次加快速度，继以前几篇优化的文章之后，这次教大家如何优化 Gravatar 头像本地缓存。 ========= 上个月海底光缆断了，结果网通访问 Gravatar 超慢，博客留言里的头像基本都显示不了，假如能把头像直接缓存到本地，那速度绝对大大加快，那么能否实现这种功能呢？答案是肯定的。 首先，看一下默认 Gravatar 头像的地址，比如我的： http://www.gravatar.com/avatar/8406d089bc81b664a2610b8d214c1428 可以看到，后面一串数字和字母的组合，就是 Email 的 md5 值，那么，只要用服务器下载来头像，然后直接用这种形式展现出头像，修改模板的 comments.php 文件，理论上很简单，实际上呢？也很简单…… 说一下方法吧： 1、下载一个 GRAVATAR CACHE 的程序，注意，不是 WordPress 插件，只是一个缓存头像的程序。 下载地址：http://scott.yang.id.au/code/gravatar-cache/#toc-download 最新版本是 0.2 ，07年发布的，原理简单嘛，照样可以用。 2、下载以后解压，打开 index.php ，根据你的需要修改如下代码： $config = array( 'gravatar' [...]]]></description> <content:encoded><![CDATA[<p>博客得追求速度，速度得靠空间和优化，最近网通有点抽风，为了心爱的博客，不得不再次提速。</p><p><span id="more-98"></span></p><p>这次搬家到<a href="http://www.elinkhost.com/" target="_blank">易联</a>了，<a href="http://tension.name/" target="_blank">Tension</a> 开办的公司，暑假我去过他们公司<a href="http://zou.lu/back-home-2009/" target="_blank">蹭饭</a>，见到可爱的<a href="http://qiuai.name/" target="_blank">秋爱</a>大叔（听说他回老家了），顺便蹭饭蹭网哈哈。</p><p>小T长得一表人才的说，是个技术狂，哦不，是设计狂，做的几款主题都很精致，那天还吹牛说他直接写的主题能“完美兼容所有的浏览器”哈哈。</p><p>暑假去了趟北京，上回 <a href="http://zou.lu/wordcamp-2009-ends/" target="_blank">WordCamp</a> 又去了趟北京，真的和北京很有缘分。</p><p>以前用的酋长的空间挺不错的，但是最近网络抽风厉害，网通和电信的线路就这样了，易联的速度还过得去，当然我用电信的时候，<a href="http://wopus.org/" target="_blank">Wopus</a> 的速度和易联的速度还是差不多的，也就不多做评论了。</p><p>现在我博客的速度如何，至少我这里网通还是很快，上传速度是慢了点，不过没那么多东西要传，还是能忍受哈。</p><p>易联总共有三个套餐：<a href="http://www.elinkhost.com/" target="_blank">http://www.elinkhost.com/</a></p><p>我买的是第二个：</p><p><a href="//showfom.imgbed.com/Gravatar_A90C/image.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="易联" src="//showfom.imgbed.com/Gravatar_A90C/image_thumb.png" border="0" alt="易联" width="186" height="244" /></a></p><p>顺便帮小T童鞋推广一下，购买付款之前，有个优惠码的选项，填写<span style="font-size: medium;"> <strong><span style="color: #ff0000;">Showfom.Com</span></strong></span> （注意大小写），即可获得85折的优惠，要是你博客流量不大，可以选择入门型的，一年就255块，很划算。</p><p>一起用易联的博友们有：<a href="http://www.iplaysoft.com/" target="_blank">异次元软件世界</a>、<a href="http://sivan.in/blog/" target="_blank">Sivan</a>、 <a href="http://paranimage.com/" target="_blank">帕兰</a>、 <a href="http://www.happinesz.cn/" target="_blank">Sofish</a> 等朋友，基本上都是认识的几个家伙，人品过得去，不会乱来的哈哈，所以可以放心使用啦。</p><p>空间问题算是解决了，接下来就要再次加快速度，继以前几篇优化的文章之后，这次教大家如何优化 <a href="http://www.gravatar.com/" target="_blank">Gravatar</a> 头像本地缓存。</p><p>=========</p><p>上个月海底光缆断了，结果网通访问 Gravatar 超慢，博客留言里的头像基本都显示不了，假如能把头像直接缓存到本地，那速度绝对大大加快，那么能否实现这种功能呢？答案是肯定的。</p><p>首先，看一下默认<strong> Gravatar</strong> 头像的地址，比如我的：</p><p><a title="http://www.gravatar.com/avatar/8406d089bc81b664a2610b8d214c1428" href="http://www.gravatar.com/avatar/8406d089bc81b664a2610b8d214c1428">http://www.gravatar.com/avatar/8406d089bc81b664a2610b8d214c1428</a></p><p>可以看到，后面一串数字和字母的组合，就是 Email 的 md5 值，那么，只要用服务器下载来头像，然后直接用这种形式展现出头像，修改模板的 comments.php 文件，理论上很简单，实际上呢？也很简单……</p><p>说一下方法吧：</p><p>1、下载一个 <strong>GRAVATAR CACHE</strong> 的程序，注意，不是<strong> WordPress</strong> 插件，只是一个缓存头像的程序。</p><p>下载地址：<a title="http://scott.yang.id.au/code/gravatar-cache/#toc-download" href="http://scott.yang.id.au/code/gravatar-cache/#toc-download">http://scott.yang.id.au/code/gravatar-cache/#toc-download</a></p><p>最新版本是 0.2 ，07年发布的，原理简单嘛，照样可以用。</p><p>2、下载以后解压，打开 <em><strong>index.php</strong> </em>，根据你的需要修改如下代码：</p><div class="source" style="background-color: #1e1e27; font-family: &quot;None&quot;,&quot;Consolas&quot;,&quot;Lucida Console&quot;,&quot;Courier New&quot;; color: #ffffff"><span style="color: #fb660a">$config</span> <span style="color: #ffffff">=</span> <span style="color: #fb660a; font-weight: bold">array</span>(<br /> <span style="color: #0086d2">'gravatar'</span> <span style="color: #ffffff">=&gt;</span> <span style="color: #0086d2">'http://www.gravatar.com/avatar.php'</span><span style="color: #ffffff">,</span><br /> <span style="color: #0086d2">'rating'</span> <span style="color: #ffffff">=&gt;</span> <span style="color: #0086d2">'PG'</span><span style="color: #ffffff">,</span> <span style="background-color: #0f140f; font-style: italic; color: #008800">//默认头像等级</span><br /> <span style="color: #0086d2">'size'</span> <span style="color: #ffffff">=&gt;</span> <span style="color: #0086f7; font-weight: bold">64</span><span style="color: #ffffff">,</span> <span style="background-color: #0f140f; font-style: italic; color: #008800">//默认头像宽度高度</span><br /> <span style="color: #0086d2">'default'</span> <span style="color: #ffffff">=&gt;</span> <span style="color: #0086d2">''</span><span style="color: #ffffff">,</span><br /> <span style="color: #0086d2">'border'</span> <span style="color: #ffffff">=&gt;</span> <span style="color: #0086d2">''</span><span style="color: #ffffff">,</span><br /> <span style="color: #0086d2">'referrer'</span> <span style="color: #ffffff">=&gt;</span> <span style="color: #0086d2">''</span><span style="color: #ffffff">,</span><br /> <span style="color: #0086d2">'pos_expiry'</span> <span style="color: #ffffff">=&gt;</span> <span style="color: #0086f7; font-weight: bold">604800</span><span style="color: #ffffff">,</span><br /> <span style="color: #0086d2">'neg_expiry'</span> <span style="color: #ffffff">=&gt;</span> <span style="color: #0086f7; font-weight: bold">43200</span><span style="color: #ffffff">,</span><br /> <span style="color: #0086d2">'neg_handler'</span> <span style="color: #ffffff">=&gt;</span> <span style="color: #0086d2">'file'</span><span style="color: #ffffff">,</span><br /> <span style="color: #0086d2">'proxy'</span> <span style="color: #ffffff">=&gt;</span> <span style="color: #0086d2">''</span><span style="color: #ffffff">,</span><br /> <span style="color: #0086d2">'basedir'</span> <span style="color: #ffffff">=&gt;</span> <span style="color: #ffffff">dirname</span>(<span style="color: #fb660a; font-weight: bold">__FILE__</span><span style="color: #ffffff">),</span><br /> <span style="color: #0086d2">'x-sendfile'</span> <span style="color: #ffffff">=&gt;</span> <span style="color: #fb660a; font-weight: bold">false</span><span style="color: #ffffff">,</span><br /> <span style="color: #0086d2">'debug'</span> <span style="color: #ffffff">=&gt;</span> <span style="color: #fb660a; font-weight: bold">false</span><br /> );</div><p>接着，在<strong> profile</strong> 目录，创建一个名为 <strong>avatar.php</strong> 的文件，用非记事本输入以下字符：</p><div class="source" style="background-color: #1e1e27; font-family: &quot;None&quot;,&quot;Consolas&quot;,&quot;Lucida Console&quot;,&quot;Courier New&quot;; color: #ffffff"><span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">&lt;?php</span><br /> <span style="color: #fb660a">$config</span><span style="color: #ffffff">[</span><span style="color: #0086d2">'default'</span><span style="color: #ffffff">]</span> <span style="color: #ffffff">=</span> <span style="color: #0086d2">'http://默认头像URL/'</span>; <span style="background-color: #0f140f; font-style: italic; color: #008800">//无头像时返回的默认头像路径</span><br /> <span style="color: #fb660a">$config</span><span style="color: #ffffff">[</span><span style="color: #0086d2">'rating'</span><span style="color: #ffffff">]</span> <span style="color: #ffffff">=</span> <span style="color: #0086d2">'X'</span>;<span style="background-color: #0f140f; font-style: italic; color: #008800">//gravatar的内容级别</span><br /> <span style="color: #fb660a">$config</span><span style="color: #ffffff">[</span><span style="color: #0086d2">'size'</span><span style="color: #ffffff">]</span> <span style="color: #ffffff">=</span> <span style="color: #0086f7; font-weight: bold">50</span>;<span style="background-color: #0f140f; font-style: italic; color: #008800">//头像尺寸</span><br /> <span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">?&gt;</span></div><p>保存为 <strong>UTF-8</strong> 编码哦</p><p>接着，打开<strong> .htaccess</strong> 文件：</p><div class="source" style="background-color: #1e1e27; font-family: &quot;None&quot;,&quot;Consolas&quot;,&quot;Lucida Console&quot;,&quot;Courier New&quot;; color: #ffffff"><span style="color: #ffffff">&lt;IfModule mod_rewrite.c&gt;</span><br /> <span style="color: #ffffff">RewriteEngine On</span><br /> <span style="color: #ffffff">RewriteCond %{REQUEST_FILENAME} !-f</span><br /> <span style="color: #ffffff">RewriteCond %{REQUEST_FILENAME} !-d</span><br /> <span style="color: #ffffff">RewriteRule . /index.php [L]</span><br /> <span style="color: #ffffff">&lt;/IfModule&gt;</span></div><p>假如你存放的目录为 <strong>gravatar</strong> 则倒数第二行要修改为<strong> RewriteRule . /gravatar/index.php [L]</strong></p><p>然后上传 即可</p><p><strong>Nginx</strong> 下的规则是：</p><div class="source" style="background-color: #1e1e27; font-family: &quot;None&quot;,&quot;Consolas&quot;,&quot;Lucida Console&quot;,&quot;Courier New&quot;; color: #ffffff"><span style="color: #ffffff">if (!-f $request_filename){</span><br /> <span style="color: #ffffff"> set $rule_0 1$rule_0;</span><br /> <span style="color: #ffffff">}</span><br /> <span style="color: #ffffff">if (!-d $request_filename){</span><br /> <span style="color: #ffffff"> set $rule_0 2$rule_0;</span><br /> <span style="color: #ffffff">}</span><br /> <span style="color: #ffffff">if ($rule_0 = "21"){</span><br /> <span style="color: #ffffff"> rewrite /. /index.php last;</span><br /> <span style="color: #ffffff">}</span></div><p>接着后台修改主题文件的 <strong>comments.php</strong>， 找到类似以下代码：</p><div class="source" style="background-color: #1e1e27; font-family: &quot;None&quot;,&quot;Consolas&quot;,&quot;Lucida Console&quot;,&quot;Courier New&quot;; color: #ffffff"><span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">&lt;?php</span> <span style="color: #fb660a; font-weight: bold">echo</span> <span style="color: #ffffff">get_avatar</span>( <span style="color: #fb660a">$comment</span><span style="color: #ffffff">,</span> <span style="color: #0086f7; font-weight: bold">50</span> ); <span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">?&gt;</span></div><p>替换成：</p><div class="source" style="background-color: #1e1e27; font-family: &quot;None&quot;,&quot;Consolas&quot;,&quot;Lucida Console&quot;,&quot;Courier New&quot;; color: #ffffff"><span style="color: #ffffff">&lt;img src="http://你的缓存地址/cache/avatar/</span><span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">&lt;?php</span> <span style="color: #fb660a; font-weight: bold">echo</span> <span style="color: #ffffff">md5</span>(<span style="color: #ffffff">strtolower</span>(<span style="color: #fb660a">$comment</span><span style="color: #ffffff">-&gt;</span><span style="color: #ff0086; font-weight: bold">comment_author_email</span>)); <span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">?&gt;</span><span style="color: #ffffff">" alt="" /&gt;</span></div><p>即可。</p><p>假如你的主题符合 <strong>WordPress 2.7+ </strong>标准，没有此代码，只有一行这样的代码：</p><div class="source" style="background-color: #1e1e27; font-family: &quot;None&quot;,&quot;Consolas&quot;,&quot;Lucida Console&quot;,&quot;Courier New&quot;; color: #ffffff"><span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">&lt;?php</span> <span style="color: #ffffff">wp_list_comments</span>(); <span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">?&gt;</span></div><p>那么就得修改 <strong>comments.php</strong> 和 <strong>functions.php</strong> 了， 甚至，可以参考一些<strong> WordPress 2.7+</strong> 的皮肤，留言样式是自定义的，比如 <a href="http://www.neoease.com/" target="_blank">mg12</a> 制作的 iNove 主题（他的留言样式都是自定义的，参考<strong> comments.php</strong> 和 <strong>functions.php</strong>）</p><p>举个简单的例子：</p><p><strong>comments.php</strong> 里自定义 <strong>wp_list_comments();</strong></p><div class="source" style="background-color: #1e1e27; font-family: &quot;None&quot;,&quot;Consolas&quot;,&quot;Lucida Console&quot;,&quot;Courier New&quot;; color: #ffffff"><span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">&lt;?php</span> <span style="color: #ffffff">wp_list_comments</span>(<span style="color: #fb660a; font-weight: bold">array</span> (<span style="color: #0086d2">'type'</span> <span style="color: #ffffff">=&gt;</span> <span style="color: #0086d2">'comment'</span><span style="color: #ffffff">,</span><span style="color: #0086d2">'callback'</span> <span style="color: #ffffff">=&gt;</span> <span style="color: #0086d2">'custom_comments'</span>)); <span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">?&gt;</span></div><p><strong>functions.php</strong> 里再自定义评论样式</p><div class="source" style="background-color: #1e1e27; font-family: &quot;None&quot;,&quot;Consolas&quot;,&quot;Lucida Console&quot;,&quot;Courier New&quot;; color: #ffffff"><span style="color: #ffffff">// custom comments</span><br /> <span style="color: #ffffff">function custom_comments($comment, $args, $depth) {</span><br /> <span style="color: #ffffff"> $GLOBALS['comment'] = $comment;</span><br /> <span style="color: #ffffff"> global $commentcount;</span><br /> <span style="color: #ffffff"> if(!$commentcount) {</span><br /> <span style="color: #ffffff"> $commentcount = 0;</span><br /> <span style="color: #ffffff"> }</span><br /> <span style="color: #ffffff">?&gt;</span><br /> <span style="color: #ffffff"> &lt;li class="comment </span><span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">&lt;?php</span> <span style="color: #fb660a; font-weight: bold">if</span>(<span style="color: #fb660a">$comment</span><span style="color: #ffffff">-&gt;</span><span style="color: #ff0086; font-weight: bold">comment_author_email</span> <span style="color: #ffffff">==</span> <span style="color: #ffffff">get_the_author_email</span>()) <span style="color: #ffffff">{</span><span style="color: #fb660a; font-weight: bold">echo</span> <span style="color: #0086d2">'admincomment'</span><span style="color: #ffffff">;}</span> <span style="color: #fb660a; font-weight: bold">else</span> <span style="color: #ffffff">{</span><span style="color: #fb660a; font-weight: bold">echo</span> <span style="color: #0086d2">'regularcomment'</span><span style="color: #ffffff">;}</span> <span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">?&gt;</span><span style="color: #ffffff">" id="comment-</span><span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">&lt;?php</span> <span style="color: #ffffff">comment_ID</span>() <span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">?&gt;</span><span style="color: #ffffff">"&gt;</span><br /> <span style="color: #ffffff"> &lt;div class="author"&gt;</span><br /> <span style="color: #ffffff"> &lt;div class="pic"&gt;</span><br /> <span style="color: #ffffff"> &lt;img src="http://你的缓存地址/cache/avatar/</span><span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">&lt;?php</span> <span style="color: #fb660a; font-weight: bold">echo</span> <span style="color: #ffffff">md5</span>(<span style="color: #ffffff">strtolower</span>(<span style="color: #fb660a">$comment</span><span style="color: #ffffff">-&gt;</span><span style="color: #ff0086; font-weight: bold">comment_author_email</span>)); <span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">?&gt;</span><span style="color: #ffffff">" alt="" /&gt; </span><br /> <span style="color: #ffffff"> &lt;/div&gt;</span><br /> <span style="color: #ffffff"> &lt;div class="name"&gt;</span><br /> <span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">&lt;?php</span> <span style="color: #fb660a; font-weight: bold">if</span> (<span style="color: #ffffff">get_comment_author_url</span>()) <span style="color: #ffffff">:</span> <span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">?&gt;</span><br /> <span style="color: #ffffff"> &lt;a id="commentauthor-</span><span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">&lt;?php</span> <span style="color: #ffffff">comment_ID</span>() <span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">?&gt;</span><span style="color: #ffffff">" class="url" href="</span><span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">&lt;?php</span> <span style="color: #ffffff">comment_author_url</span>() <span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">?&gt;</span><span style="color: #ffffff">" rel="external nofollow"&gt;</span><br /> <span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">&lt;?php</span> <span style="color: #fb660a; font-weight: bold">else</span> <span style="color: #ffffff">:</span> <span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">?&gt;</span><br /> <span style="color: #ffffff"> &lt;span id="commentauthor-</span><span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">&lt;?php</span> <span style="color: #ffffff">comment_ID</span>() <span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">?&gt;</span><span style="color: #ffffff">"&gt;</span><br /> <span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">&lt;?php</span> <span style="color: #fb660a; font-weight: bold">endif</span>; <span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">?&gt;</span></p><p><span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">&lt;?php</span> <span style="color: #ffffff">comment_author</span>(); <span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">?&gt;</span></p><p><span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">&lt;?php</span> <span style="color: #fb660a; font-weight: bold">if</span>(<span style="color: #ffffff">get_comment_author_url</span>()) <span style="color: #ffffff">:</span> <span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">?&gt;</span><br /> <span style="color: #ffffff"> &lt;/a&gt;</span><br /> <span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">&lt;?php</span> <span style="color: #fb660a; font-weight: bold">else</span> <span style="color: #ffffff">:</span> <span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">?&gt;</span><br /> <span style="color: #ffffff"> &lt;/span&gt;</span><br /> <span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">&lt;?php</span> <span style="color: #fb660a; font-weight: bold">endif</span>; <span style="background-color: #0f140f; font-style: italic; color: #ff0007; font-weight: bold">?&gt;</span><br /> <span style="color: #ffffff"> &lt;/div&gt;</span><br /> <span style="color: #ffffff"> &lt;/div&gt;</span></div><p>具体的样式，即 <strong>functions.php</strong> 里的代码得参考你自己的评论样式，不再详细叙述，总之就是找到原来放置头像的地方，修改成：</p><blockquote><p>&lt;img src="http://你的缓存地址/cache/avatar/&lt;?php echo md5(strtolower($comment-&gt;comment_author_email)); ?&gt;" alt="" /&gt;</p></blockquote><p>即可</p><p>再不懂的，我也无能为力了，囧……<strong>WordPress 2.7+</strong> 以后的 <strong>comments.php</strong> 就是麻烦……</p><p>（方法来自 <a href="http://ishawn.net/">iShawn</a> 的博客 ： <a href="http://ishawn.net/my-blog-related/cache-gravatar-into-local-server.html">如何缓存 Gravatar 至本地服务器</a>）</p><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/optimize-wordpress-themes-html-codes/" title="优化你的 WordPress 之精简全站 HTML 代码（终极篇）">优化你的 WordPress 之精简全站 HTML 代码（终极篇）</a> (89)</li><li><a href="http://zou.lu/optimize-wordpress-themes-css-and-js-codes/" title="优化你的 WordPress 之压缩 CSS/JS 代码（进阶篇补充）">优化你的 WordPress 之压缩 CSS/JS 代码（进阶篇补充）</a> (79)</li><li><a href="http://zou.lu/optimize-wordpress-database-query-middle-object-cache/" title="优化你的 WordPress 之减少数据库查询次数（中级篇补充之 Object Cache）">优化你的 WordPress 之减少数据库查询次数（中级篇补充之 Object Cache）</a> (43)</li><li><a href="http://zou.lu/optimize-wordpress-database-query-middle/" title="优化你的 WordPress 之减少数据库查询次数（中级篇）">优化你的 WordPress 之减少数据库查询次数（中级篇）</a> (30)</li><li><a href="http://zou.lu/optimize-wordpress-themes-codes-normal/" title="优化你的 WordPress 之精简 HTML 代码（进阶篇）">优化你的 WordPress 之精简 HTML 代码（进阶篇）</a> (32)</li><li><a href="http://zou.lu/optimize-wordpress-database-query-rookie/" title="优化你的 WordPress 之减少数据库查询次数（初级篇）">优化你的 WordPress 之减少数据库查询次数（初级篇）</a> (28)</li></ul><hr /><div style="padding: 5px 10px; background: rgb(243, 245, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><p>© from <a href="//zou.lu/?from=feed">走点路博客</a>, 2009/09/02. | <a href="http://zou.lu/change-hosting-and-cache-gravatar/">更换空间 + 再次提速之 Gravatar 头像缓存</a> | <a href="http://zou.lu/change-hosting-and-cache-gravatar/#comments">135 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/gravatar/" rel="tag">Gravatar</a>, <a href="http://zou.lu/tags/wordpress%e4%bc%98%e5%8c%96/" rel="tag">WordPress优化</a>, <a href="http://zou.lu/tags/%e7%bc%93%e5%ad%98/" rel="tag">缓存</a> | <a href="//zou.lu/?p=98">Link</a> | <a href="http://zi.mu/domain"><font color="red">.me 域名全国最低价，首年仅需40元，续费130元促销中！</font></a></p></div>]]></content:encoded> <wfw:commentRss>http://zou.lu/change-hosting-and-cache-gravatar/feed/</wfw:commentRss> <slash:comments>135</slash:comments> </item> <item><title>不用任何插件实现 WordPress 的彩色标签云</title><link>http://zou.lu/colorful-tag-cloud-without-any-plugin-in-wordpress/</link> <comments>http://zou.lu/colorful-tag-cloud-without-any-plugin-in-wordpress/#comments</comments> <pubDate>Fri, 28 Aug 2009 05:25:34 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[Tag Cloud]]></category> <category><![CDATA[WordPress主题]]></category><guid isPermaLink="false">http://zou.lu/colorful-tag-cloud-without-any-plugin-in-wordpress/</guid> <description><![CDATA[侧边栏的标签云（Tag Cloud）一直是 WordPress 2.3+ 以后的内置功能，一般直接调用函数 wp_tag_cloud 或者在 Widgets 里开启即可，但是默认的全部是一个颜色，只是大小不一样，很是不顺眼，虽然可以用 Simple Tags 之类的插件，但是总感觉不爽，所以我介绍一个不用任何插件就能显示彩色标签云的方法。 方法是 Alex 的英文站那里看来的，直接拿来主义和大家分享之。 PS：貌似是冰古兄弟原创。 后台编辑 主题 的 functions.php , 输入以下代码 function colorCloud($text) { $text = preg_replace_callback('&#124;&#60;a (.+?)&#62;&#124;i', 'colorCloudCallback', $text); return $text; } function colorCloudCallback($matches) { $text = $matches[1]; $color = dechex(rand(0,16777215)); $pattern = '/style=(\'&#124;\&#34;)(.*)(\'&#124;\&#34;)/i'; $text = preg_replace($pattern, &#34;style=\&#34;color:#{$color};$2;\&#34;&#34;, $text); return &#34;&#60;a $text&#62;&#34;; } [...]]]></description> <content:encoded><![CDATA[<p>侧边栏的标签云（<strong>Tag Cloud</strong>）一直是 WordPress 2.3+ 以后的内置功能，一般直接调用函数 <a href="http://codex.wordpress.org/Template_Tags/wp_tag_cloud">wp_tag_cloud</a> 或者在 Widgets 里开启即可，但是默认的全部是一个颜色，只是大小不一样，很是不顺眼，虽然可以用 <a title="Simple Tags" href="http://wordpress.org/extend/plugins/simple-tags/" target="_blank">Simple Tags</a> 之类的插件，但是总感觉不爽，所以我介绍一个不用任何插件就能显示彩色标签云的方法。</p><p> <span id="more-97"></span></p><p>方法是 <a title="Just A blog" href="http://www.caxblog.com/" target="_blank">Alex</a> 的<a title="Keep Walking" href="http://www.aowaa.com/" target="_blank">英文站</a>那里<a title="How to Add Colorful Tag Cloud without Any Plugin in WordPress" href="http://www.aowaa.com/how-to-add-colorful-tag-cloud-without-any-plugin-in-wordpress/" target="_blank">看来</a>的，直接拿来主义和大家分享之。</p><p>PS：貌似是<a href="http://bingu.net/">冰古</a>兄弟<a href="http://wanwp.com/tips-tricks/howto-make-a-colorful-tag-cloud/">原创</a>。</p><p>后台编辑 主题 的 <strong>functions.php</strong> , 输入以下代码</p><div style="background-color: rgb(249,247,237); font-family: &quot;[object HTMLOptionElement]&quot;,&quot;Consolas&quot;,&quot;Lucida Console&quot;,&quot;Courier New&quot;; color: rgb(0,0,0)" class="source"><span style="color: rgb(76,131,23)"></span></div><div style="background-color: rgb(249,247,237); font-family: &quot;[object HTMLOptionElement]&quot;,&quot;Consolas&quot;,&quot;Lucida Console&quot;,&quot;Courier New&quot;; color: rgb(0,0,0)" class="source"><span style="color: rgb(0,0,170)">function</span> <span style="color: rgb(0,170,0)">colorCloud</span>(<span style="color: rgb(170,0,0)">$text</span>) <span style="color: rgb(0,0,0)">{</span> <br /><span style="color: rgb(170,0,0)">$text</span> <span style="color: rgb(0,0,0)">=</span> <span style="color: rgb(0,170,170)">preg_replace_callback</span>(<span style="color: rgb(170,85,0)">'|&lt;a (.+?)&gt;|i'</span><span style="color: rgb(0,0,0)">,</span> <span style="color: rgb(170,85,0)">'colorCloudCallback'</span><span style="color: rgb(0,0,0)">,</span> <span style="color: rgb(170,0,0)">$text</span>); <br /><span style="color: rgb(0,0,170)">return</span> <span style="color: rgb(170,0,0)">$text</span>; <br /><span style="color: rgb(0,0,0)">}</span> <br /><span style="color: rgb(0,0,170)">function</span> <span style="color: rgb(0,170,0)">colorCloudCallback</span>(<span style="color: rgb(170,0,0)">$matches</span>) <span style="color: rgb(0,0,0)">{</span> <br /><span style="color: rgb(170,0,0)">$text</span> <span style="color: rgb(0,0,0)">=</span> <span style="color: rgb(170,0,0)">$matches</span><span style="color: rgb(0,0,0)">[</span><span style="color: rgb(0,153,153)">1</span><span style="color: rgb(0,0,0)">];</span> <br /><span style="color: rgb(170,0,0)">$color</span> <span style="color: rgb(0,0,0)">=</span> <span style="color: rgb(0,170,170)">dechex</span>(<span style="color: rgb(0,170,170)">rand</span>(<span style="color: rgb(0,153,153)">0</span><span style="color: rgb(0,0,0)">,</span><span style="color: rgb(0,153,153)">16777215</span>)); <br /><span style="color: rgb(170,0,0)">$pattern</span> <span style="color: rgb(0,0,0)">=</span> <span style="color: rgb(170,85,0)">'/style=(\'|\&quot;)(.*)(\'|\&quot;)/i'</span>; <br /><span style="color: rgb(170,0,0)">$text</span> <span style="color: rgb(0,0,0)">=</span> <span style="color: rgb(0,170,170)">preg_replace</span>(<span style="color: rgb(170,0,0)">$pattern</span><span style="color: rgb(0,0,0)">,</span> <span style="color: rgb(170,85,0)">&quot;style=</span><span style="color: rgb(170,85,0)">\&quot;</span><span style="color: rgb(170,85,0)">color:#</span><span style="color: rgb(170,85,0)">{</span><span style="color: rgb(170,0,0)">$color</span><span style="color: rgb(170,85,0)">}</span><span style="color: rgb(170,85,0)">;$2;</span><span style="color: rgb(170,85,0)">\&quot;</span><span style="color: rgb(170,85,0)">&quot;</span><span style="color: rgb(0,0,0)">,</span> <span style="color: rgb(170,0,0)">$text</span>); <br /><span style="color: rgb(0,0,170)">return</span> <span style="color: rgb(170,85,0)">&quot;&lt;a </span><span style="color: rgb(170,85,0)">$text</span><span style="color: rgb(170,85,0)">&gt;&quot;</span>; <br /><span style="color: rgb(0,0,0)">}</span> <br /><span style="color: rgb(0,0,0)">add_filter</span>(<span style="color: rgb(170,85,0)">'wp_tag_cloud'</span><span style="color: rgb(0,0,0)">,</span> <span style="color: rgb(170,85,0)">'colorCloud'</span><span style="color: rgb(0,0,0)">,</span> <span style="color: rgb(0,153,153)">1</span>);</p></div><p>可以看到，颜色是随机的，可以自行修改 <span style="color: rgb(170,0,0)">$color</span> <span style="color: rgb(0,0,0)">=</span> <span style="color: rgb(0,170,170)">dechex</span>(<span style="color: rgb(0,170,170)">rand</span>(<span style="color: rgb(0,153,153)">0</span><span style="color: rgb(0,0,0)">,</span><span style="color: rgb(0,153,153)">16777215</span>));&#160; 这行来修改范围，这样就很炫耀哈哈。</p><p>然后在侧边栏<strong> sidebar.php</strong> 里调用如下代码：</p><div style="background-color: rgb(255,255,255); font-family: &quot;None&quot;,&quot;Consolas&quot;,&quot;Lucida Console&quot;,&quot;Courier New&quot;; color: rgb(0,0,0)" class="source"><span style="color: rgb(76,131,23)">&lt;?php</span> <span style="color: rgb(0,0,0)">wp_tag_cloud</span>(<span style="color: rgb(170,85,0)">'smallest=8&amp;largest=24&amp;number=50'</span>); <span style="color: rgb(76,131,23)">?&gt; <br /></span></div><p>即可，8 是最小的 tag 的字体大小（用的最少的 tag），24 是最大的（用的最多的 tag），50 是 tag 的数目，可以自行修改。</p><p>假如你是个主题高手，直接集成在主题里那一定很帅！</p><p>效果可以看我首页右边的侧边栏：</p><p><a href="//showfom.imgbed.com/WordPress_BCC8/image.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="侧边栏彩色标签云" border="0" alt="侧边栏彩色标签云" src="//showfom.imgbed.com/WordPress_BCC8/image_thumb.png" width="242" height="215" /></a></p><p>PS：我坚决不用代码高亮插件，直接 HTML 能搞定的东西，何必用插件呢，推荐网站<a title="发芽网" href="http://fayaa.com/" target="_blank">发芽网</a>，有很多种样式，直接 HTML 输出代码，代码高亮从此告别插件！</p><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/mobilepress-themes-fixed/" title="MobilePress 主题汉化并修改">MobilePress 主题汉化并修改</a> (72)</li><li><a href="http://zou.lu/private-themes/" title="换上私人主题 + 清理友链">换上私人主题 + 清理友链</a> (186)</li><li><a href="http://zou.lu/wordpress-themes-from-web-design-lessons/" title="推荐几款 Web Design Lessons 的主题（超赞！）">推荐几款 Web Design Lessons 的主题（超赞！）</a> (17)</li><li><a href="http://zou.lu/wordpress-themes-releases-for-0414-2/" title="今日推荐4款WordPress主题">今日推荐4款WordPress主题</a> (19)</li><li><a href="http://zou.lu/make-a-wordpress-archives-page/" title="手动建立一个WordPress存档页面">手动建立一个WordPress存档页面</a> (7)</li><li><a href="http://zou.lu/use-cook-free-domain-for-your-wordpress/" title="提高 WordPress 速度之独立域名图床">提高 WordPress 速度之独立域名图床</a> (155)</li><li><a href="http://zou.lu/wpjam/" title="WordPress Jam &#8211; WP 建站服务一条龙">WordPress Jam &#8211; WP 建站服务一条龙</a> (62)</li><li><a href="http://zou.lu/chinese-beauties-in-wordpress-ii/" title="WordPress 中文界的美女们（第二期，有照片）">WordPress 中文界的美女们（第二期，有照片）</a> (307)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (254)</li><li><a href="http://zou.lu/wpg/" title="起来，不愿寂寞的博主们！ &#8211; WPG 硬文">起来，不愿寂寞的博主们！ &#8211; WPG 硬文</a> (124)</li></ul><hr /><div style="padding: 5px 10px; background: rgb(243, 245, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><p>© from <a href="//zou.lu/?from=feed">走点路博客</a>, 2009/08/28. | <a href="http://zou.lu/colorful-tag-cloud-without-any-plugin-in-wordpress/">不用任何插件实现 WordPress 的彩色标签云</a> | <a href="http://zou.lu/colorful-tag-cloud-without-any-plugin-in-wordpress/#comments">110 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/tag-cloud/" rel="tag">Tag Cloud</a>, <a href="http://zou.lu/tags/wordpress/" rel="tag">WordPress</a>, <a href="http://zou.lu/tags/wordpress%e4%b8%bb%e9%a2%98/" rel="tag">WordPress主题</a> | <a href="//zou.lu/?p=97">Link</a> | <a href="http://zi.mu/domain"><font color="red">.me 域名全国最低价，首年仅需40元，续费130元促销中！</font></a></p></div>]]></content:encoded> <wfw:commentRss>http://zou.lu/colorful-tag-cloud-without-any-plugin-in-wordpress/feed/</wfw:commentRss> <slash:comments>110</slash:comments> </item> <item><title>WordCamp 2009 归来</title><link>http://zou.lu/wordcamp-2009-ends/</link> <comments>http://zou.lu/wordcamp-2009-ends/#comments</comments> <pubDate>Mon, 24 Aug 2009 07:41:21 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[Web 2.0]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[Twitter]]></category> <category><![CDATA[WordCamp]]></category><guid isPermaLink="false">http://zou.lu/wordcamp-2009-ends/</guid> <description><![CDATA[昨晚本来码好一大段文字了，但是突然停电，码好的废话全部消失，哎……早上电脑又坏了，开不了机，后来拆开装上拆开装上N多次以后勉强开机，现在机箱还横着放着，过几天去颐高修修，我估计主板老化了，囧。 嗯，不说废话了，昨天从北京回到石家庄，然后去拿电脑帮同学配电脑，忙忙碌碌一天过去，晚上又发生停电事件，哎。 其实前天的 WordCamp China 2009 聚会挺不错的，虽然最吸引人的还是 Twitter 大屏幕，嗯，开始说正题和废话了，以下内容以废话和话唠为主，请慎入！ 关于 WordCamp 里发生的事情，我就不一一说了，本来昨晚兴致高涨全部写好，一下子都没了我也懒得再叙述，官方赞助有详细报道：http://tech.163.com/special/00093L4A/wordcamp2009.html 说个题外话，网易赞助、微软赞助，赞助就赞助嘛，结果，花了20买的Tee，全面有 WordPress 的 logo ，很漂亮，后面来个网易科技的 logo，科技你个毛啊，我又没要买网易科技，这个衣服我是穿不出去了哎。微软嘛，虽然王超群@cqwang 在Twitter上和我互相 follow 过，我并不是针对他，王超群的演讲很吸引人，但是……微软的软文做得不是时机，看下面坐着的人，有几个人去听，基本都在看 Twitter 大屏幕 哈哈。 开始照片说话（照片全部是久酷拍的或者是我让久酷拍的，慢慢欣赏哦）： 美女 Noiry 是去年和今年的主持人，一直是很热门的话题，场内色狼很多，PP都拍得很漂亮： 然后是首先演讲的“斯科拉”，额，不是火箭队的斯科拉啦，是奥特曼（Automattic）公司派来的Nikolay Bachiyski &#160; 然后是很愤青的zhanbin童鞋的演讲： &#160; 然后是微软的王超群@cqwang演讲： 然后无聊的上午结束，中饭就地解决（网易赞助哈哈，不吃白不吃） 下午一开始还是很无聊，唯一吸引大家的还是 Twitter 接龙，我不幸被@xzzxyd点名，囧 （whisperer 那个猥琐的人拍摄！） 现场的 Twitter 大屏幕： 雷猴发送 Twitter 方式： 然后我就按照照片来介绍，可爱的Chada童鞋！ &#160;&#160; 帅哥@dofy： 网易的帅哥@ecvip： 主题达人吴钊@mg12： 主机达人江东@cosbeta： 给Opera做软文的Truth： MJJ的酋长： 貌似是网易的人： [...]]]></description> <content:encoded><![CDATA[<p>昨晚本来码好一大段文字了，但是突然停电，码好的废话全部消失，哎……早上电脑又坏了，开不了机，后来拆开装上拆开装上N多次以后勉强开机，现在机箱还横着放着，过几天去颐高修修，我估计主板老化了，囧。</p><p>嗯，不说废话了，昨天从北京回到石家庄，然后去拿电脑帮同学配电脑，忙忙碌碌一天过去，晚上又发生停电事件，哎。</p><p>其实前天的 <strong>WordCamp China 2009</strong> 聚会挺不错的，虽然最吸引人的还是<strong> Twitter 大屏幕</strong>，嗯，开始说正题和废话了，以下内容以废话和话唠为主，请慎入！</p><p> <span id="more-96"></span><p>关于 WordCamp 里发生的事情，我就不一一说了，本来昨晚兴致高涨全部写好，一下子都没了我也懒得再叙述，官方赞助有详细报道：<a title="WordCamp 2009 北京" href="http://tech.163.com/special/00093L4A/wordcamp2009.html" target="_blank">http://tech.163.com/special/00093L4A/wordcamp2009.html</a></p><p>说个题外话，网易赞助、微软赞助，赞助就赞助嘛，结果，花了20买的Tee，全面有 WordPress 的 logo ，很漂亮，后面来个网易科技的 logo，科技你个毛啊，我又没要买网易科技，这个衣服我是穿不出去了哎。微软嘛，虽然王超群@<a href="https://twitter.com/cqwang" target="_blank">cqwang</a> 在Twitter上和我互相 follow 过，我并不是针对他，王超群的演讲很吸引人，但是……微软的软文做得不是时机，看下面坐着的人，有几个人去听，基本都在看<strong> Twitter 大屏幕</strong> 哈哈。</p><p>开始照片说话（照片全部是<a title="久酷" href="http://www.jiucool.com/" target="_blank">久酷</a>拍的或者是我让久酷拍的，慢慢欣赏哦）：</p><p>美女 <a title="Noiry" href="http://noiry.com/nuo" target="_blank">Noiry</a> 是去年和今年的主持人，一直是很热门的话题，场内色狼很多，PP都拍得很漂亮：</p><p><a href="//showfom.imgbed.com/WordCamp2009_CE7D/2.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="美女主持2" border="0" alt="美女主持2" src="//showfom.imgbed.com/WordCamp2009_CE7D/2_thumb.jpg" width="260" height="200" /></a> <a href="//showfom.imgbed.com/WordCamp2009_CE7D/3.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="美女主持3" border="0" alt="美女主持3" src="//showfom.imgbed.com/WordCamp2009_CE7D/3_thumb.jpg" width="260" height="200" /></a> <a href="//showfom.imgbed.com/WordCamp2009_CE7D/538a154df519.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="美女主持" border="0" alt="美女主持" src="//showfom.imgbed.com/WordCamp2009_CE7D/_thumb.jpg" width="260" height="200" /></a></p><p>然后是首先演讲的“斯科拉”，额，不是火箭队的斯科拉啦，是奥特曼（Automattic）公司派来的<a title="Nikolay Bachiyski 演讲" href="http://tech.163.com/09/0822/09/5HAH344D00093L9L.html" target="_blank">Nikolay Bachiyski</a></p><p><a href="//showfom.imgbed.com/WordCamp2009_CE7D/NikolayBachiyski2.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Nikolay Bachiyski2" border="0" alt="Nikolay Bachiyski2" src="//showfom.imgbed.com/WordCamp2009_CE7D/NikolayBachiyski2_thumb.jpg" width="260" height="200" /></a>&#160;</p><p>然后是很愤青的<a href="http://zhanbin.net/" target="_blank">zhanbin</a>童鞋的演讲：</p><p><a href="//showfom.imgbed.com/WordCamp2009_CE7D/2_3.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="詹膑2" border="0" alt="詹膑2" src="//showfom.imgbed.com/WordCamp2009_CE7D/2_thumb_3.jpg" width="260" height="200" /></a>&#160;</p><p>然后是微软的王超群@<a href="https://twitter.com/cqwang" target="_blank">cqwang</a>演讲：</p><p><a href="//showfom.imgbed.com/WordCamp2009_CE7D/cqwang2.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="cqwang2" border="0" alt="cqwang2" src="//showfom.imgbed.com/WordCamp2009_CE7D/cqwang2_thumb.jpg" width="260" height="200" /></a></p><p>然后无聊的上午结束，中饭就地解决（网易赞助哈哈，不吃白不吃）</p><p>下午一开始还是很无聊，唯一吸引大家的还是 Twitter 接龙，我不幸被@<a title="xzzxyd&#39;s twitter" href="https://twitter.com/xzzxyd" target="_blank">xzzxyd</a>点名，囧</p><p><a href="//showfom.imgbed.com/WordCamp2009_CE7D/DSCF6678.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="DSCF6678" border="0" alt="DSCF6678" src="//showfom.imgbed.com/WordCamp2009_CE7D/DSCF6678_thumb.jpg" width="260" height="206" /></a> <a href="//showfom.imgbed.com/WordCamp2009_CE7D/DSCF6680.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="DSCF6680" border="0" alt="DSCF6680" src="//showfom.imgbed.com/WordCamp2009_CE7D/DSCF6680_thumb.jpg" width="260" height="206" /></a></p><p>（<a href="http://www.whisperer.name/" target="_blank">whisperer</a> 那个猥琐的人<a title="围观" href="http://www.whisperer.name/2009/08/attending-the-wordcamp-china/" target="_blank">拍摄</a>！）</p><p>现场的 Twitter 大屏幕：</p><p><a href="//showfom.imgbed.com/WordCamp2009_CE7D/Twitter.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Twitter大屏幕" border="0" alt="Twitter大屏幕" src="//showfom.imgbed.com/WordCamp2009_CE7D/Twitter_thumb.jpg" width="260" height="200" /></a></p><p>雷猴发送 Twitter 方式：</p><p><a href="//showfom.imgbed.com/WordCamp2009_CE7D/1171d0a80656.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="雷猴" border="0" alt="雷猴" src="//showfom.imgbed.com/WordCamp2009_CE7D/_thumb_3.jpg" width="260" height="200" /></a></p><p>然后我就按照照片来介绍，可爱的<a href="http://yeplife.org/" target="_blank">Chada</a>童鞋！</p></p><p><a href="//showfom.imgbed.com/WordCamp2009_CE7D/Chada.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Chada" border="0" alt="Chada" src="//showfom.imgbed.com/WordCamp2009_CE7D/Chada_thumb.jpg" width="260" height="200" /></a>&#160;&#160;</p><p>帅哥@<a href="https://twitter.com/dofy" target="_blank">dofy</a>：</p><p><a href="//showfom.imgbed.com/WordCamp2009_CE7D/Dofy.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Dofy" border="0" alt="Dofy" src="//showfom.imgbed.com/WordCamp2009_CE7D/Dofy_thumb.jpg" width="260" height="200" /></a></p><p>网易的帅哥@<a href="https://twitter.com/ecvip" target="_blank">ecvip</a>：</p><p><a href="//showfom.imgbed.com/WordCamp2009_CE7D/ecvip.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="ecvip" border="0" alt="ecvip" src="//showfom.imgbed.com/WordCamp2009_CE7D/ecvip_thumb.jpg" width="260" height="200" /></a></p><p>主题达人<a href="http://www.neoease.com/" target="_blank">吴钊</a>@<a href="https://twitter.com/mg12" target="_blank">mg12</a>：</p><p><a href="//showfom.imgbed.com/WordCamp2009_CE7D/mg12.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="mg12" border="0" alt="mg12" src="//showfom.imgbed.com/WordCamp2009_CE7D/mg12_thumb.jpg" width="260" height="200" /></a></p><p>主机达人<a href="http://www.storyday.com/" target="_blank">江东</a>@<a href="https://twitter.com/cosbeta" target="_blank">cosbeta</a>：</p><p><a href="//showfom.imgbed.com/WordCamp2009_CE7D/7ed7db641a07.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="东哥" border="0" alt="东哥" src="//showfom.imgbed.com/WordCamp2009_CE7D/_thumb_4.jpg" width="260" height="200" /></a></p><p><a href="//showfom.imgbed.com/WordCamp2009_CE7D/e6f6504d361e.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="江东" border="0" alt="江东" src="//showfom.imgbed.com/WordCamp2009_CE7D/_thumb_5.jpg" width="260" height="200" /></a></p><p><a href="//showfom.imgbed.com/WordCamp2009_CE7D/c5e01073e7b8.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="江东的电脑" border="0" alt="江东的电脑" src="//showfom.imgbed.com/WordCamp2009_CE7D/_thumb_6.jpg" width="260" height="200" /></a></p><p>给Opera做软文的Truth：</p><p><a href="//showfom.imgbed.com/WordCamp2009_CE7D/Truth.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Truth" border="0" alt="Truth" src="//showfom.imgbed.com/WordCamp2009_CE7D/Truth_thumb.jpg" width="260" height="200" /></a></p><p>MJJ的<a href="http://www.qiuzhang.org/" target="_blank">酋长</a>：</p><p><a href="//showfom.imgbed.com/WordCamp2009_CE7D/ebb3a0b9a049.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="酋长" border="0" alt="酋长" src="//showfom.imgbed.com/WordCamp2009_CE7D/_thumb_7.jpg" width="260" height="200" /></a></p><p>貌似是网易的人：</p><p><a href="//showfom.imgbed.com/WordCamp2009_CE7D/406d24809796.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="网易" border="0" alt="网易" src="//showfom.imgbed.com/WordCamp2009_CE7D/_thumb_8.jpg" width="260" height="200" /></a></p><p>久酷和江东的合影：</p><p><a href="//showfom.imgbed.com/WordCamp2009_CE7D/8b0030c466df.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="久酷和江东" border="0" alt="久酷和江东" src="//showfom.imgbed.com/WordCamp2009_CE7D/_thumb_9.jpg" width="260" height="200" /></a></p><p>我和<a href="http://www.storyday.com/" target="_blank">江东</a>的合影：</p><p><a href="//showfom.imgbed.com/WordCamp2009_CE7D/2_4.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="我和江东2" border="0" alt="我和江东2" src="//showfom.imgbed.com/WordCamp2009_CE7D/2_thumb_4.jpg" width="200" height="260" /></a></p><p><a href="//showfom.imgbed.com/WordCamp2009_CE7D/a24d1e78d5be.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="我和江东" border="0" alt="我和江东" src="//showfom.imgbed.com/WordCamp2009_CE7D/_thumb_10.jpg" width="260" height="200" /></a></p><p>美女姐姐<a href="http://www.nomote.com/" target="_blank">Nomote</a>：</p><p><a href="//showfom.imgbed.com/WordCamp2009_CE7D/Nomote.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Nomote" border="0" alt="Nomote" src="//showfom.imgbed.com/WordCamp2009_CE7D/Nomote_thumb.jpg" width="260" height="200" /></a></p><p><a href="//showfom.imgbed.com/WordCamp2009_CE7D/Nomote2.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="我和Nomote2" border="0" alt="我和Nomote2" src="//showfom.imgbed.com/WordCamp2009_CE7D/Nomote2_thumb.jpg" width="260" height="200" /></a></p><p><a href="//showfom.imgbed.com/WordCamp2009_CE7D/Nomote_3.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="我和Nomote" border="0" alt="我和Nomote" src="//showfom.imgbed.com/WordCamp2009_CE7D/Nomote_thumb_3.jpg" width="260" height="200" /></a>&#160;</p><p>那个，是我啦：</p><p><a href="//showfom.imgbed.com/WordCamp2009_CE7D/7e94dbddec08.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="吃饭、" border="0" alt="吃饭、" src="//showfom.imgbed.com/WordCamp2009_CE7D/_thumb_11.jpg" width="260" height="200" /></a></p><p>四人帮合影（<a href="http://yeplife.org/" target="_blank">Chada</a>、<a href="http://zou.lu/" target="_blank">Showfom</a>、<a href="http://www.nomote.com/" target="_blank">Nomote</a>、<a href="http://www.jiucool.com/" target="_blank">久酷</a>）：</p><p><a href="//showfom.imgbed.com/WordCamp2009_CE7D/532936dafc3d.jpg" class="highslide-image" onclick="return hs.expand(this);"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="合影" border="0" alt="合影" src="//showfom.imgbed.com/WordCamp2009_CE7D/_thumb_12.jpg" width="260" height="200" /></a></p><p>（晚上一起吃饭坐地铁逛街瞎聊的四人帮 欧也！）</p><p>暂时先这样，评论吧，Comments Please！</p><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/wordcamp-2009-beijing/" title="WordCamp 2009 北京 遐想">WordCamp 2009 北京 遐想</a> (120)</li><li><a href="http://zou.lu/gtalk-group/" title="中文 WordPress 博主的 Gtalk 群，欢迎加围观、群殴">中文 WordPress 博主的 Gtalk 群，欢迎加围观、群殴</a> (70)</li><li><a href="http://zou.lu/shortened-url-of-current-page-to-twitter/" title="打造 WordPress 的简易短网址">打造 WordPress 的简易短网址</a> (74)</li><li><a href="http://zou.lu/we-love-wp/" title="We Love WP &#8211; 稀奇古怪的网站也和我们同一个内核">We Love WP &#8211; 稀奇古怪的网站也和我们同一个内核</a> (65)</li><li><a href="http://zou.lu/use-cook-free-domain-for-your-wordpress/" title="提高 WordPress 速度之独立域名图床">提高 WordPress 速度之独立域名图床</a> (155)</li><li><a href="http://zou.lu/wpjam/" title="WordPress Jam &#8211; WP 建站服务一条龙">WordPress Jam &#8211; WP 建站服务一条龙</a> (62)</li><li><a href="http://zou.lu/send-feedburner-feed-to-twitter/" title="FeedBurner 开始提供同步 Twitter 服务">FeedBurner 开始提供同步 Twitter 服务</a> (50)</li><li><a href="http://zou.lu/mobilepress-themes-fixed/" title="MobilePress 主题汉化并修改">MobilePress 主题汉化并修改</a> (72)</li><li><a href="http://zou.lu/private-themes/" title="换上私人主题 + 清理友链">换上私人主题 + 清理友链</a> (186)</li><li><a href="http://zou.lu/chinese-beauties-in-wordpress-ii/" title="WordPress 中文界的美女们（第二期，有照片）">WordPress 中文界的美女们（第二期，有照片）</a> (307)</li></ul><hr /><div style="padding: 5px 10px; background: rgb(243, 245, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><p>© from <a href="//zou.lu/?from=feed">走点路博客</a>, 2009/08/24. | <a href="http://zou.lu/wordcamp-2009-ends/">WordCamp 2009 归来</a> | <a href="http://zou.lu/wordcamp-2009-ends/#comments">153 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/twitter/" rel="tag">Twitter</a>, <a href="http://zou.lu/tags/wordcamp/" rel="tag">WordCamp</a>, <a href="http://zou.lu/tags/wordpress/" rel="tag">WordPress</a> | <a href="//zou.lu/?p=96">Link</a> | <a href="http://zi.mu/domain"><font color="red">.me 域名全国最低价，首年仅需40元，续费130元促销中！</font></a></p></div>]]></content:encoded> <wfw:commentRss>http://zou.lu/wordcamp-2009-ends/feed/</wfw:commentRss> <slash:comments>153</slash:comments> </item> <item><title>WordPress 精简版评论文明用语插件</title><link>http://zou.lu/comments-text-replace/</link> <comments>http://zou.lu/comments-text-replace/#comments</comments> <pubDate>Thu, 13 Aug 2009 12:49:19 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[WordPress插件]]></category> <category><![CDATA[敏感词]]></category> <category><![CDATA[文明用语]]></category><guid isPermaLink="false">http://zou.lu/wordpress-%e7%b2%be%e7%ae%80%e7%89%88%e8%af%84%e8%ae%ba%e6%96%87%e6%98%8e%e7%94%a8%e8%af%ad%e6%8f%92%e4%bb%b6/</guid> <description><![CDATA[经常上那个C什么B的网站的童鞋都知道，那个小气的网站，只要 IP 和 Cookies不是在黑名单，发表的评论假如有敏感词的话，你的评论可以提交，但是会显示成”文明用语“，这就是文明用语一词的来源。 今天 @Scavin 青蛙童鞋在 Twitter 上大叫需要一款能过滤评论一些敏感词的插件。 身为小众的作者（我都不好意思了，大半年才更新过两篇文章哈哈），于是我自告奋勇接下了这个任务，顺便把这个简单的插件分享出来。 根据 WordPress 插件的 Hooks ，使用 add_filter 即可，虽然我不太懂 php，但是还是可以照样画葫芦的，直接参考水煮鱼的 Comments Link Redirect ，稍微修改，搞定了第一个版本，但是太简单，也不推荐，所以只是放出代码以供大家交流： 第一版主要代码： add_filter('comment_text', 'new_comments', 1); function new_comments($text = ''){ $text=str_replace("敏感词一", "文明用语", $text); $text=str_replace("敏感词二", "文明用语", $text); return $text; } 可以看到 $text=str_replace("敏感词一", "文明用语", $text); 这句只能用一个敏感词，需要多个敏感词的时候，只能一行一行加，太不方便了。 后来请教了著名的 php 砖家 小小子 ，趁着休息时间，在我再三纠缠下，终于弄出了第二版，直接用正则式表达判断，高级吧？深奥吧？砖家就是砖家，我这样的小白对砖家佩服得一塌糊涂，哇咔咔。要是我有这么高超的技术，哇咔咔，一天做一个 WordPress 插件，嗯，当然那是不可能的。本着学习的态度，先放一下第二版主要的代码以供大家学习： add_filter('comment_text', 'new_comments', 99); function [...]]]></description> <content:encoded><![CDATA[<p>经常上那个C什么B的网站的童鞋都知道，那个小气的网站，只要 IP 和 Cookies不是在黑名单，发表的评论假如有敏感词的话，你的评论可以提交，但是会显示成”文明用语“，这就是文明用语一词的来源。</p><p>今天 <a href="https://twitter.com/scavin">@Scavin</a> 青蛙童鞋在 Twitter 上<a href="https://twitter.com/scavin/status/3282315358">大叫</a>需要一款能过滤评论一些敏感词的插件。</p><p>身为小众的作者（我都不好意思了，大半年才更新过两篇文章哈哈），于是我自告奋勇接下了这个任务，顺便把这个简单的插件分享出来。<br /> <span id="more-92"></span></p><p>根据 WordPress <a href="http://codex.wordpress.org/Writing_a_Plugin">插件</a>的<a href="http://codex.wordpress.org/Plugin_API"> Hooks </a>，使用 <a href="http://codex.wordpress.org/Function_Reference/add_filter">add_filter</a> 即可，虽然我不太懂 php，但是还是可以照样画葫芦的，直接参考水煮鱼的 <a href="http://fairyfish.net/2009/01/22/comments-link-redirect/">Comments Link Redirect</a> ，稍微修改，搞定了第一个版本，但是太简单，也不推荐，所以只是放出代码以供大家交流：</p><p>第一版主要代码：</p><blockquote><p><span style="color: rgb(102, 0, 0); font-weight: bold;" title="php/php/functioncall">add_filter</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">(</span><span style="color: rgb(255, 0, 0);" title="php/php/single_string/start">'</span><span style="color: rgb(255, 0, 0);" title="php/php/single_string">comment_text</span><span style="color: rgb(255, 0, 0);" title="php/php/single_string/end">'</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">,</span> <span style="color: rgb(255, 0, 0);" title="php/php/single_string/start">'</span><span style="color: rgb(255, 0, 0);" title="php/php/single_string">new_comments</span><span style="color: rgb(255, 0, 0);" title="php/php/single_string/end">'</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">,</span> <span style="color: rgb(17, 17, 238);" title="php/php/num/int">1</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">)</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">;</span></p><p><span style="color: rgb(161, 161, 0);" title="php/php/keyword">function</span> <span style="color: rgb(102, 0, 0);" title="php/php/functionname">new_</span><a href="http://www.php.net/com"><span style="color: rgb(0, 0, 102);" title="php/php/function">com</span></a><span style="color: rgb(102, 0, 0); font-weight: bold;" title="php/php/functioncall">ments</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">(</span><span style="color: rgb(51, 51, 255);" title="php/php/varstart">$</span><span style="color: rgb(51, 51, 255);" title="php/php/var">text</span> <span style="color: rgb(0, 128, 0);" title="php/php/symbol">=</span> <span style="color: rgb(255, 0, 0);" title="php/php/single_string/start">'</span><span style="color: rgb(255, 0, 0);" title="php/php/single_string/end">'</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">)</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">{</span><br /> <span style="color: rgb(51, 51, 255);" title="php/php/varstart">$</span><span style="color: rgb(51, 51, 255);" title="php/php/var">text</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">=</span><a href="http://www.php.net/str_replace"><span style="color: rgb(0, 0, 102);" title="php/php/function">str_replace</span></a><span style="color: rgb(0, 128, 0);" title="php/php/symbol">(</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string/start">"</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string">敏感词一</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string/end">"</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">,</span> <span style="color: rgb(255, 0, 0);" title="php/php/double_string/start">"</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string">文明用语</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string/end">"</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">,</span> <span style="color: rgb(51, 51, 255);" title="php/php/varstart">$</span><span style="color: rgb(51, 51, 255);" title="php/php/var">text</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">)</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">;</span></p><p> <span style="color: rgb(51, 51, 255);" title="php/php/varstart">$</span><span style="color: rgb(51, 51, 255);" title="php/php/var">text</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">=</span><a href="http://www.php.net/str_replace"><span style="color: rgb(0, 0, 102);" title="php/php/function">str_replace</span></a><span style="color: rgb(0, 128, 0);" title="php/php/symbol">(</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string/start">"</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string">敏感词二</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string/end">"</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">,</span> <span style="color: rgb(255, 0, 0);" title="php/php/double_string/start">"</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string">文明用语</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string/end">"</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">,</span> <span style="color: rgb(51, 51, 255);" title="php/php/varstart">$</span><span style="color: rgb(51, 51, 255);" title="php/php/var">text</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">)</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">;</span></p><p> <a href="http://www.php.net/return"><span style="color: rgb(161, 161, 0);" title="php/php/keyword">return</span></a> <span style="color: rgb(51, 51, 255);" title="php/php/varstart">$</span><span style="color: rgb(51, 51, 255);" title="php/php/var">text</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">;</span><br /> <span style="color: rgb(0, 128, 0);" title="php/php/symbol">}</span></p></blockquote><p>可以看到 $text=str_replace("敏感词一", "文明用语", $text); 这句只能用一个<strong>敏感词</strong>，需要多个敏感词的时候，只能一行一行加，太不方便了。</p><p>后来请教了著名的 php 砖家 <a href="http://www.xiaoxiaozi.com/" title="小小子">小小子</a> ，趁着休息时间，在我再三纠缠下，终于弄出了第二版，直接用正则式表达判断，高级吧？深奥吧？砖家就是砖家，我这样的小白对砖家佩服得一塌糊涂，哇咔咔。要是我有这么高超的技术，哇咔咔，一天做一个<strong> WordPress 插件</strong>，嗯，当然那是不可能的。本着学习的态度，先放一下第二版主要的代码以供大家学习：</p><blockquote><p><span style="color: rgb(102, 0, 0); font-weight: bold;" title="php/php/functioncall">add_filter</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">(</span><span style="color: rgb(255, 0, 0);" title="php/php/single_string/start">'</span><span style="color: rgb(255, 0, 0);" title="php/php/single_string">comment_text</span><span style="color: rgb(255, 0, 0);" title="php/php/single_string/end">'</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">,</span> <span style="color: rgb(255, 0, 0);" title="php/php/single_string/start">'</span><span style="color: rgb(255, 0, 0);" title="php/php/single_string">new_comments</span><span style="color: rgb(255, 0, 0);" title="php/php/single_string/end">'</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">,</span> <span style="color: rgb(17, 17, 238);" title="php/php/num/int">99</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">)</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">;</span></p><p><span style="color: rgb(161, 161, 0);" title="php/php/keyword">function</span> <span style="color: rgb(102, 0, 0);" title="php/php/functionname">new_</span><a href="http://www.php.net/com"><span style="color: rgb(0, 0, 102);" title="php/php/function">com</span></a><span style="color: rgb(102, 0, 0); font-weight: bold;" title="php/php/functioncall">ments</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">(</span><span style="color: rgb(51, 51, 255);" title="php/php/varstart">$</span><span style="color: rgb(51, 51, 255);" title="php/php/var">text</span> <span style="color: rgb(0, 128, 0);" title="php/php/symbol">=</span> <span style="color: rgb(255, 0, 0);" title="php/php/single_string/start">'</span><span style="color: rgb(255, 0, 0);" title="php/php/single_string/end">'</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">)</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">{</span><br /> <span style="color: rgb(51, 51, 255);" title="php/php/varstart">$</span><span style="color: rgb(51, 51, 255);" title="php/php/var">arr</span> <span style="color: rgb(0, 128, 0);" title="php/php/symbol">=</span> <a href="http://www.php.net/array"><span style="color: rgb(161, 161, 0);" title="php/php/keyword">array</span></a><span style="color: rgb(0, 128, 0);" title="php/php/symbol">(</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string/start">"</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string">敏感词一</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string/end">"</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">,</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string/start">"</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string">敏感词二</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string/end">"</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">,</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string/start">"</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string">敏感词三</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string/end">"</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">)</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">;</span></p><p> <span style="color: rgb(51, 51, 255);" title="php/php/varstart">$</span><span style="color: rgb(51, 51, 255);" title="php/php/var">pattern</span> <span style="color: rgb(0, 128, 0);" title="php/php/symbol">=</span> <span style="color: rgb(255, 0, 0);" title="php/php/double_string/start">"</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string">/</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string/end">"</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">.</span><a href="http://www.php.net/implode"><span style="color: rgb(0, 0, 102);" title="php/php/function">implode</span></a><span style="color: rgb(0, 128, 0);" title="php/php/symbol">(</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string/start">"</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string">|</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string/end">"</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">,</span><span style="color: rgb(51, 51, 255);" title="php/php/varstart">$</span><span style="color: rgb(51, 51, 255);" title="php/php/var">arr</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">)</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">.</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string/start">"</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string">/</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string/end">"</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">;</span></p><p> <span style="color: rgb(51, 51, 255);" title="php/php/varstart">$</span><span style="color: rgb(51, 51, 255);" title="php/php/var">result</span> <span style="color: rgb(0, 128, 0);" title="php/php/symbol">=</span> <a href="http://www.php.net/preg_replace"><span style="color: rgb(0, 0, 102);" title="php/php/function">preg_replace</span></a><span style="color: rgb(0, 128, 0);" title="php/php/symbol">(</span><span style="color: rgb(51, 51, 255);" title="php/php/varstart">$</span><span style="color: rgb(51, 51, 255);" title="php/php/var">pattern</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">,</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string/start">"</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string">文明用语</span><span style="color: rgb(255, 0, 0);" title="php/php/double_string/end">"</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">,</span><span style="color: rgb(51, 51, 255);" title="php/php/varstart">$</span><span style="color: rgb(51, 51, 255);" title="php/php/var">text</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">)</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">;</span></p><p> <a href="http://www.php.net/return"><span style="color: rgb(161, 161, 0);" title="php/php/keyword">return</span></a> <span style="color: rgb(51, 51, 255);" title="php/php/varstart">$</span><span style="color: rgb(51, 51, 255);" title="php/php/var">result</span><span style="color: rgb(0, 128, 0);" title="php/php/symbol">;</span><br /> <span style="color: rgb(0, 128, 0);" title="php/php/symbol">}</span></p></blockquote><p>很帅吧？到底是砖家，嗯嗯，过几天的 <a href="http://zou.lu/wordcamp-2009-beijing/" title="参加 WordCamp 吧">WordCamp </a>上一定要膜拜膜拜 ， 欧也！</p><p>看得心动了？迫不及待要试试来巩固自己的评论系统了？好，立马放出（这个插件太简单了，我就不提交到官网去，多那啥哈哈）：</p><p>下载：<a href="http://showfom.googlecode.com/files/comments_text_replace.zip" title="下载 WordPress 精简版评论文明用语插件">http://showfom.googlecode.com/files/comments_text_replace.zip</a></p><p>使用方法：直接将<strong> comments_text_replace.php</strong> 放到 <strong>wp-content/plugins </strong>目录即可，后台激活，自己修改（可以增加减少）敏感词，至于敏感词的词汇，自己找去吧，在这个和谐的社会，我们需要和谐！</p><p><strong>PS：</strong>我这个版本太简单了，只能控制评论，并且后台看到的也是显示”文明用语“，想要稍微高级点的，可以试试江东写的<a href="http://www.storyday.com/html/y2009/2524_wenmingyongyu.html" title="文明用语插件">文明用语插件</a></p><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/mobilepress-themes-fixed/" title="MobilePress 主题汉化并修改">MobilePress 主题汉化并修改</a> (72)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (254)</li><li><a href="http://zou.lu/careful-about-wordpress-plugins/" title="千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件">千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件</a> (135)</li><li><a href="http://zou.lu/wordpress-plugins-i-used/" title="我使用的 WordPress 插件">我使用的 WordPress 插件</a> (90)</li><li><a href="http://zou.lu/notes-for-wordpress-28-upgrading/" title="升级到 WordPress 2.8 以后要注意的事项">升级到 WordPress 2.8 以后要注意的事项</a> (61)</li><li><a href="http://zou.lu/optimize-wordpress-database-query-middle-object-cache/" title="优化你的 WordPress 之减少数据库查询次数（中级篇补充之 Object Cache）">优化你的 WordPress 之减少数据库查询次数（中级篇补充之 Object Cache）</a> (43)</li><li><a href="http://zou.lu/optimize-wordpress-database-query-middle/" title="优化你的 WordPress 之减少数据库查询次数（中级篇）">优化你的 WordPress 之减少数据库查询次数（中级篇）</a> (30)</li><li><a href="http://zou.lu/auto-hishslide-wordpress-plugin/" title="Auto HighSlide &#8211; 真正自动增加 WordPress 的 HighSlide 图片效果插件">Auto HighSlide &#8211; 真正自动增加 WordPress 的 HighSlide 图片效果插件</a> (162)</li><li><a href="http://zou.lu/planning-20090406/" title="接下来的计划">接下来的计划</a> (12)</li><li><a href="http://zou.lu/nice-titles-wordpress-plugin/" title="Nice Titles &#8211; 第二款链接增强效果WordPress插件">Nice Titles &#8211; 第二款链接增强效果WordPress插件</a> (28)</li></ul><hr /><div style="padding: 5px 10px; background: rgb(243, 245, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><p>© from <a href="//zou.lu/?from=feed">走点路博客</a>, 2009/08/13. | <a href="http://zou.lu/comments-text-replace/">WordPress 精简版评论文明用语插件</a> | <a href="http://zou.lu/comments-text-replace/#comments">116 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/wordpress/" rel="tag">WordPress</a>, <a href="http://zou.lu/tags/wordpress%e6%8f%92%e4%bb%b6/" rel="tag">WordPress插件</a>, <a href="http://zou.lu/tags/%e6%95%8f%e6%84%9f%e8%af%8d/" rel="tag">敏感词</a>, <a href="http://zou.lu/tags/%e6%96%87%e6%98%8e%e7%94%a8%e8%af%ad/" rel="tag">文明用语</a> | <a href="//zou.lu/?p=92">Link</a> | <a href="http://zi.mu/domain"><font color="red">.me 域名全国最低价，首年仅需40元，续费130元促销中！</font></a></p></div>]]></content:encoded> <wfw:commentRss>http://zou.lu/comments-text-replace/feed/</wfw:commentRss> <slash:comments>116</slash:comments> </item> <item><title>WordCamp 2009 北京 遐想</title><link>http://zou.lu/wordcamp-2009-beijing/</link> <comments>http://zou.lu/wordcamp-2009-beijing/#comments</comments> <pubDate>Wed, 12 Aug 2009 11:08:55 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[Web 2.0]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[WordCamp]]></category><guid isPermaLink="false">http://zou.lu/?p=91</guid> <description><![CDATA[WordCamp 2009 将在2009年8月22号在北京清华科技园“阳光厅”举行，有欲望并且无聊并且喜欢凑热闹打算参加的童鞋们请猛击此处，条件肯定不会很苛刻，只要是个人，一般情况下用 WordPress 写博客，就有资格，报名交钱就可以去。 去年的时候，我还是一只小白，小白中的小白，有当时博客的截图为证： （点击看高清无码的大图） 每个人都是从那个阶段走过来的，一开始的时候谁的博客会一下子人气很旺？（除非你是明星或者做了惊天地泣鬼神的事情） 去年这个时候，我博客也不过是国内那么多 WordPress 博客的一片叶舟罢了，任何风浪都影响不到我，纯属自娱自乐的行为，而且网上认识的 Blogger 很少很少，后来，随着时间推移，认识的人多了，人气就会上来，嗯，写博客要人气只需两点：一是原创文章更新频率不高不低；二是多跑去别人的博客留言，抢个沙发啥的最好不过，然后慢慢积累，人气就会旺了。 我也不清楚我是否是个喜新厌旧的人，后来觉得以前的博客没什么意义，有几篇不是原创的文章看着很碍眼，所以今年4月份重新开始博客，在这一年多时间里，或者说第一次进入 WordPress 的圈子后，我觉得很有必要和一些独立博主见见面，交流交流也好，凑凑热闹也罢，总之是能增长见识的。 话说去年我还真不知道有这个东西，后来看了很多文章，WordPress 也用了一年多，所以今年决定过去，不过那天恰逢可能大概也许maybe要补考，老天保佑不是 22 号我们考试就是了…… 出席的名单在这里，我认识的有 Paveo 、cosbeta 、郑界涵 、Ksky 、dofy 酋长 Jason Ng simaopig 、Bzcai 等等等等，或许还有你呢，那还犹豫什么，拿起支付宝报名呗。 我的计划是这样的，先要狗狗（郑界涵小朋友）来接我，然后中午蹭饭，蹭饭的名单可能有：小小子和他媳妇，Bzcai大叔，狗狗就跟着我…… 多认识些人吧，其他的我也不多说了，虽然 WordPress 的效率不咋地，但是开源+插件主题如此丰富，我想除了 Movable Type，已经很难找到 WordPress 的竞争对手了。 最后，学久酷，解释一下 WordCamp 为何物： 名词解释，WordCamp WordCamp 是 WordPress 爱好者 及 开发人员 的大会。2007年的7月在旧金山举行了第一届 WordCamp，继第一个在海外举行的 WordCamp 就是2007年9月在北京举行的 WordCamp [...]]]></description> <content:encoded><![CDATA[<p><strong>WordCamp 2009 </strong> 将在2009年<strong>8月22号</strong>在北京清华科技园“阳光厅”举行，有欲望并且无聊并且喜欢凑热闹打算参加的童鞋们请<a title="WordCamp 2009 报名" href="http://2009.wordcampchina.org/register">猛击此处</a>，条件肯定不会很苛刻，只要是个人，一般情况下用<strong> WordPress </strong>写博客，就有资格，报名交钱就可以去。<br /> <span id="more-91"></span></p><p>去年的时候，我还是一只小白，小白中的小白，有当时博客的截图为证：</p><p style="text-align: center;"><a title="2008 年我的博客" href="http://tu.6.cn/pic/show/id/704146" target="_blank"><img class="aligncenter" src="//showfom.imgbed.com/depgsz.jpg" alt="2008 年我的博客" height="588" /></a></p><p>（点击看高清无码的大图）</p><p>每个人都是从那个阶段走过来的，一开始的时候谁的博客会一下子人气很旺？（除非你是明星或者做了惊天地泣鬼神的事情）</p><p>去年这个时候，我博客也不过是国内那么多 <strong>WordPress </strong>博客的一片叶舟罢了，任何风浪都影响不到我，纯属自娱自乐的行为，而且网上认识的 <strong>Blogger</strong> 很少很少，后来，随着时间推移，认识的人多了，人气就会上来，嗯，写博客要人气只需两点：一是原创文章更新频率不高不低；二是多跑去别人的博客留言，抢个沙发啥的最好不过，然后慢慢积累，人气就会旺了。</p><p>我也不清楚我是否是个喜新厌旧的人，后来觉得以前的博客没什么意义，有几篇不是原创的文章看着很碍眼，所以今年4月份<a title="重新开博" href="http://zou.lu/restart-blogging/">重新开始博客</a>，在这一年多时间里，或者说第一次进入 <strong>WordPress</strong> 的圈子后，我觉得很有必要和一些独立博主见见面，交流交流也好，凑凑热闹也罢，总之是能增长见识的。</p><p>话说去年我还真不知道有这个东西，后来看了很多文章，<strong>WordPress </strong>也用了一年多，所以今年决定过去，不过那天恰逢可能大概也许maybe要补考，老天保佑不是 22 号我们考试就是了……</p><p>出席的名单在这里，我认识的有 <a href="http://www.owind.com/">Paveo</a> 、<a href="http://storyday.com/">cosbeta</a> 、<a href="http://jiehan.org/">郑界涵</a> 、<a href="http://www.hebine.net/">Ksky</a> 、<a href="http://blog.dofy.net/">dofy</a> <a href="http://www.qiuzhang.org/">酋长</a> <a href="http://www.kenengba.com/">Jason Ng</a> <a href="http://www.xiaoxiaozi.com/">simaopig</a> 、<a href="http://bzcai.com/">Bzcai</a> 等等等等，或许还有你呢，那还犹豫什么，拿起支付宝<a title="WordCamp 报名" href="http://2009.wordcampchina.org/register">报名</a>呗。</p><p>我的计划是这样的，先要<a href="http://jiehan.org/">狗狗</a>（郑界涵小朋友）来接我，然后中午蹭饭，蹭饭的名单可能有：小小子和他媳妇，Bzcai大叔，狗狗就跟着我……</p><p>多认识些人吧，其他的我也不多说了，虽然 <strong>WordPress </strong>的效率不咋地，但是开源+插件主题如此丰富，我想除了 <a title="Movable Type 官方网站" href="http://www.movabletype.com/">Movable Type</a>，已经很难找到 <a title="WordPress 官方网站" href="http://wordpress.org/">WordPress</a> 的竞争对手了。</p><p>最后，学<a title="WordCamp 2009 北京" href="http://www.jiucool.com/wordcamp-2009-beijing/">久酷</a>，解释一下 <strong>WordCamp </strong>为何物：</p><blockquote><p>名词解释，<strong>WordCamp</strong></p><p><strong>WordCamp</strong> 是 <strong>WordPress 爱好者</strong> 及 <strong>开发人员</strong> 的大会。2007年的7月在旧金山举行了第一届<strong> WordCamp</strong>，继第一个在海外举行的<strong> WordCamp</strong> 就是2007年9月在北京举行的 <strong>WordCamp Beijing 2007</strong>。 继成功举办 <strong>WordCamp Beijing 2007</strong>之后。从2008年开始，主办方正式将大会更名为<strong> WordCamp China</strong>。<strong>WordCamp China </strong>作为中国的一个<strong> WordPress </strong>讨论交流平台，是一个面向所有<strong> WordPress </strong>爱好者，博客用户，及开发人员的聚会。大会将围绕 <strong>WordPress</strong>、围绕独立 <strong>Blogger</strong> 相关主题安排精彩的发言和互动讨论。</p><p>在这里，您可以与各位 <strong>Blogger</strong> 及技术开发者见面，传授技术，分享心得；在这里，您可以聆听到众多知名 Blogger 的讲座。在这过程中，您不仅会从中获益；更重要的是，在此感受思想自由交流的氛围，结识久闻其名的博友，相互切磋博客技艺。(来源：<a title="WordCamp" href="http://baike.baidu.com/view/1876648.htm">百度词条</a>)</p></blockquote><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/wordcamp-2009-ends/" title="WordCamp 2009 归来">WordCamp 2009 归来</a> (153)</li><li><a href="http://zou.lu/use-cook-free-domain-for-your-wordpress/" title="提高 WordPress 速度之独立域名图床">提高 WordPress 速度之独立域名图床</a> (155)</li><li><a href="http://zou.lu/wpjam/" title="WordPress Jam &#8211; WP 建站服务一条龙">WordPress Jam &#8211; WP 建站服务一条龙</a> (62)</li><li><a href="http://zou.lu/mobilepress-themes-fixed/" title="MobilePress 主题汉化并修改">MobilePress 主题汉化并修改</a> (72)</li><li><a href="http://zou.lu/private-themes/" title="换上私人主题 + 清理友链">换上私人主题 + 清理友链</a> (186)</li><li><a href="http://zou.lu/chinese-beauties-in-wordpress-ii/" title="WordPress 中文界的美女们（第二期，有照片）">WordPress 中文界的美女们（第二期，有照片）</a> (307)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (254)</li><li><a href="http://zou.lu/wpg/" title="起来，不愿寂寞的博主们！ &#8211; WPG 硬文">起来，不愿寂寞的博主们！ &#8211; WPG 硬文</a> (124)</li><li><a href="http://zou.lu/careful-about-wordpress-plugins/" title="千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件">千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件</a> (135)</li><li><a href="http://zou.lu/how-to-get-more-comments-on-your-blog/" title="如何获得更多的访客评论留言数">如何获得更多的访客评论留言数</a> (251)</li></ul><hr /><div style="padding: 5px 10px; background: rgb(243, 245, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><p>© from <a href="//zou.lu/?from=feed">走点路博客</a>, 2009/08/12. | <a href="http://zou.lu/wordcamp-2009-beijing/">WordCamp 2009 北京 遐想</a> | <a href="http://zou.lu/wordcamp-2009-beijing/#comments">120 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/wordcamp/" rel="tag">WordCamp</a>, <a href="http://zou.lu/tags/wordpress/" rel="tag">WordPress</a> | <a href="//zou.lu/?p=91">Link</a> | <a href="http://zi.mu/domain"><font color="red">.me 域名全国最低价，首年仅需40元，续费130元促销中！</font></a></p></div>]]></content:encoded> <wfw:commentRss>http://zou.lu/wordcamp-2009-beijing/feed/</wfw:commentRss> <slash:comments>120</slash:comments> </item> <item><title>8月6号灵异事件</title><link>http://zou.lu/4-occult-events/</link> <comments>http://zou.lu/4-occult-events/#comments</comments> <pubDate>Thu, 06 Aug 2009 16:00:17 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[日志便笺]]></category> <category><![CDATA[博客]]></category><guid isPermaLink="false">http://zou.lu/4-occult-events/</guid> <description><![CDATA[今天晚上发生了四起灵异事件，全部和博主 Showfom 小帅锅 有关，爱好八卦者进入。 No.1 2009年8月6号，这是一个平常的日子，风照样吹，雨照样下，唯一美中不足的可能就是雨下得大了点，Showfom 小帅锅一如既往窝在家里，干完今天的工作，已经是8点30了，呼了一口气，上会 Twitter 吧，暑假过后，我习惯了用 iTweet 登陆 Twitter ，正和朋友们闲聊，并且还弄来多多美女的QQ号，并且用小企鹅（拼音怎么是小妾~！）和美女聊得不亦乐乎，突然，iTweet 停止了刷新，那个圆圈一直在转却刷新不了，我第一反应就是 iTweet 又和上次一样服务器挂了，立马想用 TwitterFox 登陆，结果，一直登陆不上显示不出消息，抱着最后一丝希望，开启SSH，抱着研究科学的心态，上 Twitter 官网，结果……挂了。 最后得出结论，Twitter 官网挂了，以前挂之前还有通知，挂了还有大鲸鱼，这次一点没有前兆就挂了，一丝不挂地挂了，API 服务器当然挂了，所以 iTweet 也好，Twitzap 也好， 大波也好，其他的客户端也好，通通挂了。 没有 Twitter 的日子，就像没有女人的日子，很空虚很寂寞，拼命想到个自慰的方法却没有那种快感…… PS：还好，现在已经恢复 No.2 同样是09年8月6号，同样是这个看似平静的夜晚，晚上10点48分，我正在看我博客上朋友们的留言，刚想返回首页，却不料出现的是前所未有的空白页面，纯空白，打不开源代码的那种，心里蹬了一下，立马访问一下同服务器的其他朋友的博客，安然；访问我用子目录建立的博客，安然…… 这时候不能慌，立马联系酋长，酋长也是一头雾水。 没办法，自己搞定，先备份一下数据库，然后我后台登陆 WordPress ，却发现……样式都丢失，仔细进入后台一看，博客地址变空白，插件全部停用，某几个插件的选项变空白，主题被切换成默认（不过我怎么都想不清楚为什么是个空白的页面），还好损失不大，立马恢复插件，恢复主题，修改好所有设置，一切都安然无恙了，但是我怎么也想不出这是为什么。。。难道是插件的原因？我用的几个插件应该口碑都不错的呢，哎，不管了，反正我有备份。 No.3 和 No.4 我习惯进入一个网址以后第一件事是看一下当前页面的 PR 和当前域名的 Alexa ，今天进入我自己的博客，突然发现 Alexa 排名已经突破10W，和昨天我预测的结果一样，现在排名是96136，三个月的平均排名，我预计，假如保持这个状态的话，到 6W 左右应该没问题，目标是年底，或者春节以前，突破 5W。 虽然这只是一个数字游戏，但是这不会在乎自己的数据呢？不在乎的人有三种，一种是做大了，无所谓了；一种是永远做不大，也无所谓了；还有一种就是本身就无所谓。我承认我还没那么好心态，满足自己小小的虚荣何尝不可呢？ 这是其中一件，其实我更在乎网页的 PR，这是 Google 为你判断的 [...]]]></description> <content:encoded><![CDATA[<p>今天晚上发生了四起灵异事件，全部和博主<strong> Showfom 小帅锅</strong> 有关，爱好八卦者进入。<br /> <span id="more-89"></span></p><h2>No.1</h2><p><strong>2009年8月6号</strong>，这是一个平常的日子，风照样吹，雨照样下，唯一美中不足的可能就是雨下得大了点，<strong>Showfom 小帅锅</strong>一如既往窝在家里，干完今天的工作，已经是<strong>8点30</strong>了，呼了一口气，上会 <strong>Twitter </strong>吧，暑假过后，我习惯了用 iTweet 登陆 <strong>Twitter</strong> ，正和朋友们闲聊，并且还弄来多多美女的QQ号，并且用小企鹅（拼音怎么是小妾~！）和美女聊得不亦乐乎，突然，<strong><a title="iTweet" href="http://itweet.net/" target="_blank">iTweet</a></strong> 停止了刷新，那个圆圈一直在转却刷新不了，我第一反应就是<strong> iTweet</strong> 又和上次一样服务器挂了，立马想用<strong> <a title="TwitterFox" href="http://twitterfox.net/" target="_blank">TwitterFox</a></strong> 登陆，结果，一直登陆不上显示不出消息，抱着最后一丝希望，开启<strong>SSH</strong>，抱着研究科学的心态，上 <a title="Twitter 官网" href="https://twitter.com/" target="_blank"><strong>Twitter 官网</strong></a>，结果……挂了。</p><p>最后得出结论，<strong>Twitter 官网</strong>挂了，以前挂之前还有通知，挂了还有大鲸鱼，这次一点没有前兆就挂了，一丝不挂地挂了，API 服务器当然挂了，所以<strong> iTweet</strong> 也好，<strong>Twitzap </strong>也好， <strong>大波</strong>也好，其他的客户端也好，通通挂了。</p><p>没有 <strong>Twitter </strong>的日子，就像没有女人的日子，很空虚很寂寞，拼命想到个自慰的方法却没有那种快感……<br /> <span style="color: #ff0000;"><strong>PS：还好，现在已经恢复</strong></span></p><h2>No.2</h2><p>同样是<strong>09年8月6号</strong>，同样是这个看似平静的夜晚，晚上<strong>10点48分</strong>，我正在看我博客上朋友们的留言，刚想返回首页，却不料出现的是前所未有的空白页面，纯空白，打不开源代码的那种，心里蹬了一下，立马访问一下同服务器的其他朋友的博客，安然；访问我用子目录建立的博客，安然……</p><p>这时候不能慌，立马联系酋长，酋长也是一头雾水。</p><p>没办法，自己搞定，先备份一下数据库，然后我后台登陆<strong> WordPress</strong> ，却发现……样式都丢失，仔细进入后台一看，博客地址变空白，插件全部停用，某几个插件的选项变空白，主题被切换成默认（不过我怎么都想不清楚为什么是个空白的页面），还好损失不大，立马恢复插件，恢复主题，修改好所有设置，一切都安然无恙了，但是我怎么也想不出这是为什么。。。难道是插件的原因？我用的几个插件应该口碑都不错的呢，哎，不管了，反正我有备份。</p><h2>No.3 和 No.4</h2><p>我习惯进入一个网址以后第一件事是看一下当前页面的<strong> PR</strong> 和当前域名的<strong> Alexa</strong> ，今天进入我自己的博客，突然发现 <strong>Alexa 排名</strong>已经突破<strong>10W</strong>，和昨天我预测的结果一样，现在排名是<a title="Alexa" href="http://www.alexa.com/siteinfo/showfom.com" target="_blank"><strong>96136</strong></a>，三个月的平均排名，我预计，假如保持这个状态的话，到 <strong>6W</strong> 左右应该没问题，目标是年底，或者春节以前，突破 <strong>5W</strong>。</p><p>虽然这只是一个数字游戏，但是这不会在乎自己的数据呢？不在乎的人有三种，一种是做大了，无所谓了；一种是永远做不大，也无所谓了；还有一种就是本身就无所谓。我承认我还没那么好心态，满足自己小小的虚荣何尝不可呢？</p><p>这是其中一件，其实我更在乎网页的<strong> PR</strong>，这是<strong> Google</strong> 为你判断的 <strong>Page Rank</strong>，虽然这样那样的说法很多，但是在座的各位，有几个对自己博客的 <strong>PR </strong>是持无所谓的态度呢？自从上上个月我的博客 <strong>PR</strong> 升到 <strong>4</strong> 以后，就经常会发现一些意外，比如突然发现几个内页的 <strong>PR</strong> 也是 <strong>4</strong> 了，但是今天晚上的事情绝对是像灵异事件，为啥呢？</p><p>我们都知道，<strong>WordPress </strong>一般自己能写的有两个，一个是文章页（<strong>single.php</strong>），一个是页面（<strong>page.php</strong>），我的页面都在顶部导航栏，就这么几个页面是自建的后台看得到可以修改的：</p><p><a title="关于" href="http://zou.lu/about/">关于</a> <a title="留言" href="http://zou.lu/guestbook/">留言</a> <a title="联系" href="http://zou.lu/contact/">联系</a> <a title="链接" href="http://zou.lu/links/">链接</a> <a title="归档" href="http://zou.lu/archives/">归档</a> <a title="朋友" href="http://zou.lu/friends/">朋友</a> <a title="RSSA" href="http://zou.lu/rssa/">RSSA</a></p><p>结果您猜啥？<strong>PR全部是4</strong>……天哪，这年头PR也太便宜了吧，要说谁给我这几个页面做过链接，打死我也不信……</p><p>=====</p><p>灵异事件的结论：我终于知道自己博客的价值了，所以，我会好好坚持下去，不会辜负每天都来看我博客并且留言的朋友，谢谢你们！我爱你们！（特指女生，男生爱别人去……）</p><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/careful-about-wordpress-plugins/" title="千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件">千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件</a> (135)</li><li><a href="http://zou.lu/how-to-get-more-comments-on-your-blog/" title="如何获得更多的访客评论留言数">如何获得更多的访客评论留言数</a> (251)</li><li><a href="http://zou.lu/we-love-wp/" title="We Love WP &#8211; 稀奇古怪的网站也和我们同一个内核">We Love WP &#8211; 稀奇古怪的网站也和我们同一个内核</a> (65)</li><li><a href="http://zou.lu/planning-20090406/" title="接下来的计划">接下来的计划</a> (12)</li><li><a href="http://zou.lu/bulid-a-new-wordpress-blog/" title="看我如何新建一个WordPress">看我如何新建一个WordPress</a> (16)</li><li><a href="http://zou.lu/use-cook-free-domain-for-your-wordpress/" title="提高 WordPress 速度之独立域名图床">提高 WordPress 速度之独立域名图床</a> (155)</li><li><a href="http://zou.lu/blog-summary-2009/" title="博客2009年终总结">博客2009年终总结</a> (161)</li><li><a href="http://zou.lu/wpjam/" title="WordPress Jam &#8211; WP 建站服务一条龙">WordPress Jam &#8211; WP 建站服务一条龙</a> (62)</li><li><a href="http://zou.lu/dedicated-ip/" title="为什么需要独立IP？">为什么需要独立IP？</a> (134)</li><li><a href="http://zou.lu/blog-party/" title="惠眼识博 &#8211; 除了帽子什么都可以绿">惠眼识博 &#8211; 除了帽子什么都可以绿</a> (104)</li></ul><hr /><div style="padding: 5px 10px; background: rgb(243, 245, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><p>© from <a href="//zou.lu/?from=feed">走点路博客</a>, 2009/08/07. | <a href="http://zou.lu/4-occult-events/">8月6号灵异事件</a> | <a href="http://zou.lu/4-occult-events/#comments">113 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/wordpress/" rel="tag">WordPress</a>, <a href="http://zou.lu/tags/%e5%8d%9a%e5%ae%a2/" rel="tag">博客</a> | <a href="//zou.lu/?p=89">Link</a> | <a href="http://zi.mu/domain"><font color="red">.me 域名全国最低价，首年仅需40元，续费130元促销中！</font></a></p></div>]]></content:encoded> <wfw:commentRss>http://zou.lu/4-occult-events/feed/</wfw:commentRss> <slash:comments>113</slash:comments> </item> <item><title>博客底部工具栏 Wibiya 使用介绍</title><link>http://zou.lu/wibiya/</link> <comments>http://zou.lu/wibiya/#comments</comments> <pubDate>Sun, 02 Aug 2009 12:39:07 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[Web 2.0]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[Wibiya Toolbar]]></category> <category><![CDATA[工具栏]]></category><guid isPermaLink="false">http://zou.lu/wibiya/</guid> <description><![CDATA[最近很多 PLMM 来问：Showfom 小帅锅，你的博客底部的工具栏很帅很可爱耶，怎么弄的？每次我都得回答一下，是 Wibiya.com ，自己申请去，得，那么多人来问我，只好亲手写个教程了。 PS：内有彩蛋，内有惊喜！Showfom 小帅锅已经和 Wibiya 官方沟通过，在本站留言并且申请 Wibiya工具栏 的朋友，只要留下你们的 email，我会亲自联系 Wibiya，让你们尽快得到 Invitation Code！只有10个名额，抓紧时间哦。 （已经和官方联系并且全部发送完毕，谢谢你们的支持，我爱你们（女生）@_@！） 言归正传，我就介绍 Wibiya 工具栏的申请和使用方法，模特是偶老姐Heidi的博客，全程高清无码直播申请以及放置代码的方法。 一、申请篇 - 注册以及邀请码的获得 Wibiya 的申请很简单，登陆 Wibiya.com ，点击 Get It Now ，在右侧的框框填写自己的 Full Name，Email 和 Site URL（博客地址），如图： 填写完毕，点击 Request an Invite。 申请完毕，Wibiya 会给你发送一个确认邮件，提示会在近期发送给你 Invitation Code （邀请码），早期的时候，十多分钟就可以得到，但是后来申请的人越来越多，一般三天（72小时）之内就可以得到，得不到邀请码但是很想得到的童鞋看本文最后部分。 二、使用 Wibiya 以及注意事项 1、收到邀请码并且登陆填写站点信息 收到 Wibiya 的 Invitation Code 邮件后，邮件里会给你一个邀请码，如图： [...]]]></description> <content:encoded><![CDATA[<p>最近很多 <strong>PLMM </strong>来问：<strong><a title="Showfom's Blog" href="http://zou.lu/" target="_blank">Showfom 小帅锅</a></strong>，你的博客底部的工具栏很帅很可爱耶，怎么弄的？每次我都得回答一下，是 <a title="Wibiya Toolbar" href="http://wibiya.com/" target="_blank"><strong>Wibiya.com</strong></a> ，自己申请去，得，那么多人来问我，只好亲手写个教程了。</p><p><span style="color: #ff0000;"><del datetime="2009-08-03T12:40:31+00:00">PS：内有彩蛋，内有惊喜！Showfom 小帅锅已经和 Wibiya 官方沟通过，在本站留言并且申请 Wibiya工具栏 的朋友，只要留下你们的 email，我会亲自联系 Wibiya，让你们尽快得到 Invitation Code！只有10个名额，抓紧时间哦。</del></span></p><p><strong>（已经和官方联系并且全部发送完毕，谢谢你们的支持，我爱你们（女生）@_@！）</strong></p><p><span id="more-87"></span></p><p>言归正传，我就介绍 Wibiya 工具栏的申请和使用方法，模特是偶老姐Heidi的博客，全程高清无码直播申请以及放置代码的方法。</p><h2>一、申请篇 - 注册以及邀请码的获得</h2><p><strong>Wibiya</strong> 的申请很简单，登陆 <a title="Wibiya Toolbar" href="http://wibiya.com/" target="_blank">Wibiya.com</a> ，点击 <a title="Get It Now" href="http://wibiya.com/UserBetaLogin.php" target="_blank"><strong>Get It Now</strong></a> ，在右侧的框框填写自己的 <strong>Full Name</strong>，<strong>Email</strong> 和 <strong>Site URL</strong>（博客地址），如图：</p><p><a href="//showfom.imgbed.com/Wibiya_FC4B/image.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Wibiya 申请" src="//showfom.imgbed.com/Wibiya_FC4B/image_thumb.png" border="0" alt="Wibiya 申请" width="595" height="484" /></a></p><p>填写完毕，点击 <strong>Request an Invite</strong>。</p><p>申请完毕，<strong>Wibiya</strong> 会给你发送一个确认邮件，提示会在近期发送给你<strong> Invitation Code</strong> （邀请码），早期的时候，十多分钟就可以得到，但是后来申请的人越来越多，一般三天（72小时）之内就可以得到，得不到邀请码但是很想得到的童鞋看本文最后部分。</p><h2>二、使用 <strong>Wibiya</strong> 以及注意事项</h2><p><span style="color: #008000; font-size: x-small;"><strong>1、收到邀请码并且登陆填写站点信息</strong></span></p><p>收到 <strong>Wibiya</strong> 的 <strong>Invitation Code</strong> 邮件后，邮件里会给你一个邀请码，如图：</p><p><a href="//showfom.imgbed.com/Wibiya_FC4B/image_3.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Wibiya Invitation Code 邮件" src="//showfom.imgbed.com/Wibiya_FC4B/image_thumb_3.png" border="0" alt="Wibiya Invitation Code 邮件" width="644" height="466" /></a></p><p>点击邮箱里的链接，或者直接复制邀请码到 <a title="Get It Now" href="http://wibiya.com/UserBetaLogin.php" target="_blank"><strong>Get It Now</strong></a> 的<a title="Get It Now" href="http://wibiya.com/UserBetaLogin.php" target="_blank">页面</a>左边部分，如图：</p><p><a href="//showfom.imgbed.com/Wibiya_FC4B/image_4.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Wibiya 注册" src="//showfom.imgbed.com/Wibiya_FC4B/image_thumb_4.png" border="0" alt="Wibiya 注册" width="427" height="363" /></a></p><p>点<strong> Login</strong> ，按照要求填写站点信息，如图：</p><p><a href="//showfom.imgbed.com/Wibiya_FC4B/image_5.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Wibiya 注册" src="//showfom.imgbed.com/Wibiya_FC4B/image_thumb_5.png" border="0" alt="Wibiya 注册" width="445" height="314" /></a></p><p>（注意，<strong> Wibiya</strong> 提供了 <strong>20种</strong> 语言，包括我们可爱的<strong>简体中文</strong>，可以根据需要自己选择）</p><p><span style="color: #008000; font-size: x-small;"><strong>2、选择你喜欢的主题</strong></span></p><p>填写完毕，点击<strong> Next</strong> ，出现 <a title="Select A Theme" href="http://wibiya.com/theme2.php" target="_blank"><strong>Select A Theme</strong></a> 页面，选择你喜欢的工具栏风格，本文模特H姐喜欢的是第二行的Apple Gray，所以我就选择这个，如题：</p><p><a href="//showfom.imgbed.com/Wibiya_FC4B/image_6.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px" title="Wibiya 选择主题" src="//showfom.imgbed.com/Wibiya_FC4B/image_thumb_6.png" border="0" alt="Wibiya 选择主题" width="644" height="302" /></a></p><p>（注意，可以选择是否显示网站的<strong> favicon</strong>，假如网站默认有 <strong>favicon</strong>，就会显示默认的，假如没有，可以自己上传一个小图标<strong>jpg</strong>, <strong>png </strong>或<strong> gif</strong> 格式，不超过<strong>30KB</strong>）</p><p><span style="color: #008000; font-size: x-small;"><strong>3、选择你喜欢的应用</strong></span></p><p>填写完毕，点击 <strong>Next</strong> ，进入 <a href="http://wibiya.com/apps2.php" target="_blank"><strong>Select Your Apps</strong></a> 页面，选择需要的应用，如图：</p><p><a href="//showfom.imgbed.com/Wibiya_FC4B/image_7.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Wibiya 选择应用" src="//showfom.imgbed.com/Wibiya_FC4B/image_thumb_7.png" border="0" alt="Wibiya 选择应用" width="644" height="283" /></a></p><p>简单介绍一下：</p><div style="padding-bottom: 5px; padding-left: 10px; padding-right: 10px; background: #ffff80; padding-top: 5px; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous"><p>Website Search  -  网站搜索，选择以后，访客可以利用底部的工具栏搜索你的博客内容，提供本地搜索和Google搜索两种方案，很方便，<span style="color: #ff0000;"><strong>推荐选择</strong></span>。<br /> Translation  -  网页翻译，利用 Google Translation 翻译当前页面，以前不支持中文，我提醒 Wibiya 以后，已经支持中文网页的翻译，这个看自己是否需要。<br /> Post Navigator  -  在工具栏里显示最新文章（Latest Post）、随机文章（Random Post）等，<span style="color: #ff0000;">推荐选择</span>。<br /> Subscribe to RSS Feed  -  订阅 Rss Feed 提示，<span style="color: #ff0000;"><strong>推荐选择</strong></span>。<br /> Photo Gallery  -  展示 Flickr 相册，看个人情况。<br /> Website Community (FB Connect)  -  Facebook 的 Community，不是英文站没啥必要。<br /> Sharing tools  -  增加分享当前页面（Share）的选项，<span style="color: #ff0000;"><strong>推荐选择</strong></span>。<br /> Web Notifier (Live Alerts)  -  第一次访问网站时会弹出的更新通知，看个人情况。<br /> Twitter Dashboard  -  展示你的 Twitter 以及发送这个分享这个页面到 Twitter，<span style="color: #ff0000;"><strong>推荐选择</strong></span>。<br /> Games (powered by HeyZap)  -  小游戏应用，看个人情况。</div><p>按照自己的情况选择并且会让你填写相关信息，小提示：<strong>Feed 地址尽量用 FeedBurner 烧录或者填写原始地址；Twitter 不要设置为 Protected Updates （保护自己的消息），否则无法使用。</strong></p><p><strong> </strong></p><p><strong><span style="color: #008000; font-size: x-small;">4、获得 Wibiya 的插件或代码</span></strong></p><p>最后，进入真正的 <a title="Get It Now" href="http://wibiya.com/basic_finalize.php" target="_blank"><strong>Get It Now</strong></a> 界面，如图：</p><p><a href="//showfom.imgbed.com/Wibiya_FC4B/image_8.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Wibiya 取得插件或者代码" src="//showfom.imgbed.com/Wibiya_FC4B/image_thumb_8.png" border="0" alt="Wibiya 取得插件或者代码" width="644" height="247" /></a></p><p><strong>Wibiya</strong> 提供了多个博客平台的插件或者代码，假如你是 <strong>WordPress 博</strong>客并且主题的 <strong>footer.php</strong> 里有 <strong>wp_foot</strong> 函数，那么可以直接用 <strong>WordPress </strong>的插件，个人推荐直接使用代码（选择 <strong>Install on websites and other blog platforms</strong>. 然后查看右边）直接获取 <strong>JS </strong>代码，放到主题的 <strong>footer.php</strong> 文件的<strong> &lt;/body&gt;</strong> 之前即可，我们来看效果吧：</p><p><a href="//showfom.imgbed.com/Wibiya_FC4B/image_9.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Heidi 的 Wibiya Toolbar" src="//showfom.imgbed.com/Wibiya_FC4B/image_thumb_9.png" border="0" alt="Heidi 的 Wibiya Toolbar" width="644" height="27" /></a></p><p><a title="偶老姐" href="http://lostheidi.com/" target="_blank">http://lostheidi.com/</a></p><p><a title="Showfom 小帅锅" href="http://zou.lu/">http://zou.lu/</a></p><p><a title="一个疯子！" href="http://sivan.in/blog/" target="_blank">http://sivan.in/blog/</a></p><p><a title="WordPress 高手" href="http://fishyoyo.com/" target="_blank">http://fishyoyo.com/</a></p><p><a title="小阳猪" href="http://www.xiaxiaoyang.com/" target="_blank">http://www.xiaxiaoyang.com/</a></p><p>以上几个国内的博客都装上了 <strong>Wibiya 工具栏</strong>，欢迎围观。</p><p><span style="color: #008000; font-size: x-small;"><strong>5、注意事项以及彩蛋十枚</strong></span></p><div style="padding-bottom: 5px; padding-left: 10px; padding-right: 10px; background: #f3f5fc; padding-top: 5px; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous"><p><strong>Tips 1 ：</strong> <strong>Wibiya</strong> 的工具栏，默认会覆盖你的博客底部最后一行，所以我不推荐使用 Wibiya 提供的 WordPress 插件，而是自己加代码最合适，在 JS 代码前面加一行 &lt;br /&gt;</div><div style="padding-bottom: 5px; padding-left: 10px; padding-right: 10px; background: #ffff80; padding-top: 5px; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous"><p><strong>Tips 2：</strong> 有人说会拖慢速度，使用后发现，只要不选择过多的应用，速度完全在忍受范围内，而且加载的<strong> JS</strong> 和 <strong>图片</strong> 都是通过 <strong>Wibiya</strong> 的 <strong>CDN </strong>服务器， 加载的<strong> jQuery</strong> 效果使用 Google 提供的 <strong>jQuery</strong> 地址，但是并不能在博客中使用该<strong> jQuery</strong> ，也就是说，不要指望你的博客不加载<strong> jQuery</strong> 而使用 <strong>jQuery </strong>效果。</div><div style="padding-bottom: 5px; padding-left: 10px; padding-right: 10px; background: #f3f5fc; padding-top: 5px; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous"><p><strong>Tips 3：</strong> <strong>Wibiya</strong> 在 2B 的 <strong>IE 6</strong> 下没效果 ， <strong>IE 7/8</strong> ，<strong>Firefox 3.0+/3.5+</strong> 下完美测试无误。</div><p><span style="text-decoration: line-through;"><strong>PS：</strong>如果你确实喜欢这个工具栏，但是苦于得不到邀请码的童鞋，留言处写上你的<strong> Email</strong> （必须告诉我申请的时候填写的 <strong>Email</strong> ），我会负责联系 <strong>Wibiya</strong> 官方，尽快帮你们得到梦寐以求的邀请码（<span style="color: #ff0000;"><strong>48小时</strong></span>内，只有<span style="color: #ff0000;"><strong>10个名额</strong></span>哦~）<br /> </span></p><p><del datetime="2009-08-03T12:40:31+00:00">别怀疑，我和<strong> Wibiya</strong> 官方保持联系的哦，所以，抓紧时间。</del></p><p><a href="//showfom.imgbed.com/Wibiya_FC4B/image_10.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Wibiya 给我的悄悄话哦" src="//showfom.imgbed.com/Wibiya_FC4B/image_thumb_10.png" border="0" alt="Wibiya 给我的悄悄话哦" width="244" height="47" /></a></p><p>（留言过并且说明自己注册的朋友，我已经把你们的 Email 提交给了 Wibiya ，请耐心等待两天吧）</p><p><strong>（已经和官方联系并且全部发送完毕，谢谢你们的支持，我爱你们（女生）@_@！）</strong></p><h2  class="related_post_title">随机文章</h2><ul class="related_post"><li><a href="http://zou.lu/google-releated-links/" title="Google 相关链接功能试用">Google 相关链接功能试用</a> (48)</li><li><a href="http://zou.lu/china-does-not-need-ipv6/" title="中国不需要IPV6">中国不需要IPV6</a> (128)</li><li><a href="http://zou.lu/wordpress-28-released/" title="WordPress 2.8 正式版发布">WordPress 2.8 正式版发布</a> (34)</li><li><a href="http://zou.lu/combine-rss-feeds-via-google-reader/" title="巧用 Google Reader 合并你的 Rss Feed">巧用 Google Reader 合并你的 Rss Feed</a> (21)</li><li><a href="http://zou.lu/wordpress-permalink/" title="WordPress 永久链接以及在各种平台上的实现方法">WordPress 永久链接以及在各种平台上的实现方法</a> (40)</li><li><a href="http://zou.lu/my-blog-idea/" title="我的博客理念">我的博客理念</a> (213)</li><li><a href="http://zou.lu/gmail-webtoim/" title="让 Gtalk 机器人帮你解答问题">让 Gtalk 机器人帮你解答问题</a> (10)</li><li><a href="http://zou.lu/pipes/" title="用 Pipes 合并 Rss Feed 教程">用 Pipes 合并 Rss Feed 教程</a> (10)</li><li><a href="http://zou.lu/ulshort/" title="uLShort &#8211; 免费开源功能强大的短网址程序">uLShort &#8211; 免费开源功能强大的短网址程序</a> (84)</li><li><a href="http://zou.lu/nba-2k-com-has-its-google-smap/" title="终于英文站 NBA-2K.COM 被 Google 认可">终于英文站 NBA-2K.COM 被 Google 认可</a> (40)</li></ul><hr /><div style="padding: 5px 10px; background: rgb(243, 245, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><p>© from <a href="//zou.lu/?from=feed">走点路博客</a>, 2009/08/02. | <a href="http://zou.lu/wibiya/">博客底部工具栏 Wibiya 使用介绍</a> | <a href="http://zou.lu/wibiya/#comments">177 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/wibiya-toolbar/" rel="tag">Wibiya Toolbar</a>, <a href="http://zou.lu/tags/%e5%b7%a5%e5%85%b7%e6%a0%8f/" rel="tag">工具栏</a> | <a href="//zou.lu/?p=87">Link</a> | <a href="http://zi.mu/domain"><font color="red">.me 域名全国最低价，首年仅需40元，续费130元促销中！</font></a></p></div>]]></content:encoded> <wfw:commentRss>http://zou.lu/wibiya/feed/</wfw:commentRss> <slash:comments>177</slash:comments> </item> <item><title>使用 Yourls 强化你的短网址系统</title><link>http://zou.lu/yourls/</link> <comments>http://zou.lu/yourls/#comments</comments> <pubDate>Sat, 01 Aug 2009 00:08:39 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[Web 2.0]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[Short Url]]></category> <category><![CDATA[WordPress插件]]></category> <category><![CDATA[Yourls]]></category> <category><![CDATA[短网址]]></category><guid isPermaLink="false">http://zou.lu/yourls/</guid> <description><![CDATA[在《打造 WordPress 的简易短网址 》一文中，介绍了利用 WordPress 的 永久链接 打造简易山寨的短网址系统，但是这种方法有种缺憾，比如网站要搬家了，.htaccess文件被修改了，或者自己要查看短网址被访问的次数，这时候都是一件很麻烦的事情，所以，这里我推荐使用由国外著名 WordPress 插件大师级人物 Ozh Richard 和 Lester Chan 一起写的 Yourls 。 一、介绍作者 使用 WordPress 有点年份的老鸟一定对 Ozh （法国淫） 和 Lester Chan （新加坡淫） 两位大师级插件作者不会陌生，Ozh’s 插件系列，以及 Lester Chan 的 WP- 系列插件，或许你不知道他们的名字，但是 Ozh’s Better Feed 和 WP-Postviews、WP-Postnavi 等等大名鼎鼎的插件你一定不会陌生，没错，都是这两位作者的杰作。 Ozh 和 Lester Chan 的插件流行度都很大，这次两人联手制作的 Yourls ，引起无数粉丝狂欢，因为这款 php程序 本来是 Ozh 御用的，后来在广大爱好者的要求下，和 Lester Chan 一起重写，然后发布，嘎嘎。 [...]]]></description> <content:encoded><![CDATA[<p>在《<a title="打造 WordPress 的简易短网址" href="http://zou.lu/shortened-url-of-current-page-to-twitter/">打造 WordPress 的简易短网址</a> 》一文中，介绍了利用<strong> WordPress</strong> 的<strong> 永久链接</strong> 打造简易山寨的短网址系统，但是这种方法有种缺憾，比如网站要搬家了，<strong>.htaccess</strong>文件被修改了，或者自己要查看短网址被访问的次数，这时候都是一件很麻烦的事情，所以，这里我推荐使用由国外著名<strong> WordPress 插件</strong>大师级人物 <a title="Ozh Richard" href="http://planetozh.com/" target="_blank"><strong>Ozh Richard</strong></a> 和 <a title="Lester Chan" href="http://lesterchan.net/"><strong>Lester Chan</strong></a> 一起写的 <a title="Yourls 官方网站" href="http://yourls.org/" target="_blank"><strong>Yourls</strong></a> 。</p><p><span id="more-86"></span></p><h2>一、介绍作者</h2><p>使用 <strong>WordPress</strong> 有点年份的老鸟一定对<strong> Ozh</strong> （法国淫） 和 <strong>Lester Chan</strong> （新加坡淫） 两位大师级插件作者不会陌生，<strong>Ozh’s 插件系列</strong>，以及<strong> Lester Chan 的 WP- 系列插件</strong>，或许你不知道他们的名字，但是 <strong>Ozh’s Better Feed</strong> 和<strong> WP-Postviews</strong>、<strong>WP-Postnavi</strong> 等等大名鼎鼎的插件你一定不会陌生，没错，都是这两位作者的杰作。</p><p><strong>Ozh</strong> 和<strong> Lester Chan</strong> 的插件流行度都很大，这次两人联手制作的<strong> Yourls</strong> ，引起无数粉丝狂欢，因为这款<strong> php程序</strong> 本来是 <strong>Ozh</strong> 御用的，后来在广大爱好者的要求下，和 <strong>Lester Chan</strong> 一起重写，然后发布，嘎嘎。</p><p>八卦一下：<strong>Ozh</strong> 的御用私人短网址地址是 <a title="Ozh" href="http://ozh.in/" target="_blank">ozh.in</a> ，<strong>Lester Chan</strong> 的是 <a title="Lester Chan" href="http://lc.sg/" target="_blank">lc.sg</a> 。</p><h2>二、Yourls 下载安装使用介绍</h2><p><strong><span style="color: #0080ff; font-size: x-small;">下载：</span></strong></p><p><strong>Yourls</strong> 的最新版本是 1.1 ，可以前往 <a title="Yourls 下载" href="http://code.google.com/p/yourls/downloads/list" target="_blank">http://code.google.com/p/yourls/downloads/list</a> 进行下载，但是 1.1 有个致命的<strong>bug</strong>，不知道是 Ozh 浪漫过头了，还是 Lester Chan 也没看到，用非记事本打开 yourls-go.php，找到第23行，然后，</p><p>原句是：<strong>var_dump($url); die();</strong> 直接注释修改修给为 <strong>//var_dump($url); die();</strong></p><p>不修改的话生成短网址的时候会出错，感谢 <strong>Lorz</strong> <a title="Lorz 纠错" href="http://lorz.me/short-url-yourls/#comment-1562" target="_blank">发现</a>。</p><p><strong><span style="color: #0080ff; font-size: x-small;">安装：</span></strong></p><p><strong>Yourls </strong>的安装方法也比较简单，首先打开 <strong>includes\config-sample.php</strong> ，</p><p>找到</p><blockquote><p>/** MySQL database username */<br /> define('YOURLS_DB_USER', 'dbuser'); <strong>// MySQL 数据库用户名</strong></p><p>/** MySQL database password */<br /> define('YOURLS_DB_PASS', 'dbpassword'); <strong>// MySQL 数据库密码</strong></p><p>/** The name of the database for YOURLS */<br /> define('YOURLS_DB_NAME', 'shorturl'); <strong>// MySQL 数据库名称</strong></p><p>/** MySQL hostname */<br /> define('YOURLS_DB_HOST', 'localhost'); <strong>// MySQL 数据库所在主机，99%情况不用修改，Godaddy的空间需要修改</strong></p><p>/** MySQL URL table name. Don't change this if in doubt. */<br /> define('YOURLS_DB_TABLE_URL', 'url'); <strong>// 创建的 Yourls 的表的名字，同一个数据库放多个 Yourls 程序时需要修改</strong></p><p>/** MySQL Next ID table name. Don't change this if in doubt. */<br /> define('YOURLS_DB_TABLE_NEXTDEC', 'next_id'); <strong>// 同上</strong></p></blockquote><p>修改成相应的数据库信息</p><p>找到</p><blockquote><p>/*<br /> ** Site options<br /> */</p><p>/** Short domain URL, no trailing slash */<br /> define('YOURLS_SITE', '<a href="http://site.com');">http://site.com');</a> <strong>//站点域名</strong></p><p>/** Timezone GMT offset */<br /> define('YOURLS_HOURS_OFFSET', 0); <strong>//时区修改，基本没必要</strong></p><p>/** Private means protected with login/pass as defined below. Set to false for public usage. */<br /> define('YOURLS_PRIVATE', true); <strong>//私人用还是公开用，公开的话写false，一般都私人用</strong></p><p>/** A random secret hash used to encrypt cookies. You don't have to remember it, make it long and complicated. Hint: copy from <a href="http://yourls.org/cookiekey.php">http://yourls.org/cookiekey.php</a> **/<br /> define('YOURLS_COOKIEKEY', 'qQ4KhL_pu|s@Zm7n#%:b^{A[vhm'); <strong>//访问 </strong><a href="http://yourls.org/cookiekey.php"><strong>http://yourls.org/cookiekey.php</strong></a><strong> 取得一个唯一的 Key 并且修改填入</strong></p><p>/**  Username(s) and password(s) allowed to access the site */<br /> $yourls_user_passwords = array(<br /> 'username' =&gt; 'password',<br /> 'username2' =&gt; 'password2'    // You can have one or more 'login'=&gt;'password' lines<br /> ); <strong>//这里是管理员的用户名和密码，默认有两组，可以删除一组或者增加N多组</strong></p></blockquote><p>根据自己的需要进行修改</p><p>然后把 <strong>config-sample.php</strong> 重命名为<strong> config.php</strong> ，确保你的空间支持<strong> PHP + MySQL</strong> 以及基本的几个组件（<strong>Mod-Rewrite功能，Curl 等</strong>，一般的空间都支持）</p><p>最后执行 <strong>http://你的地址/admin/install.php</strong> 进行安装即可</p><p>使用 <strong>Apache </strong>主机的朋友，请确定你的空间支持 <strong>Mod-Rewrite</strong> ，就是可以用<strong> .htacces</strong>s 文件进行伪静态，程序根目录已经给你写好 <strong>.htaccess </strong>所以不用自己再写；使用<strong> Nginx</strong> 的童鞋，伪静态的规则是：</p><blockquote><p> location /<br /> {<br /> if (!-f $request_filename){<br /> set $rule_0 1$rule_0;<br /> }<br /> if (!-d $request_filename){<br /> set $rule_0 2$rule_0;<br /> }<br /> if ($rule_0 = "21"){<br /> rewrite ^/([0-9A-Za-z]+)/?$ /yourls-go.php?id=$1 last;<br /> }<br /> rewrite ^/([0-9A-Za-z]+)\+/?$ /yourls-infos.php?id=$1 last;<br /> rewrite ^/([0-9A-Za-z]+)\+all/?$ /yourls-infos.php?id=$1&#038;all=1 last;<br /> }</p></blockquote><p>已经测试无误，因为本人的 Yourls 就是放在 Nginx 主机上的。</p><p><strong><span style="color: #0080ff; font-size: x-small;">使用：</span></strong></p><p>Yourls 提供两种 <strong>URL 编码</strong>形式，一种是只有小写的 <strong>Base 36 encoding </strong><code><strong>0123456789abcdefghijklmnopqrstuvwxyz</strong>，还有一种是有大小写的 <strong>Base 62 encoding </strong><code><strong>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz</strong>，一般来说，使用默认的 <strong>Base 36</strong> 即可，因为要使用<strong> Base 62</strong> 需要空间支持 <strong>php</strong> 的 <strong>BCMath 扩展</strong>，而且没什么必要，个人用 <strong>Base 32</strong> 足矣，官方<a title="Yourls" href="http://yourls.org/#FAQ" target="_blank">宣称</a>可以创建 4,738,381,338,321,617,846 个短网址，天哪，这得用到猴年马月，所以没什么特殊情况就不用修改 <strong>config.php</strong> ，用默认的编码即可。</code></code></p><p><code><code>后台地址是 <strong>http://你的地址/admin/</strong> 当然可以修改 <strong>admin</strong> 文件夹的名字以防万一，管理员的用户名和密码都在 <strong>includes\config.php</strong> 里自己设置，不推荐使用常用的密码，毕竟是明文形式储存，所以想一个复杂点的没用过的密码最好不过。</code></code></p><p><code><code>登陆后台，就可以看到清爽的后台界面，在后台增加短网址之类的就不用我说了，<strong>UI</strong> 界面非常友好，如图：</code></code></p><p><a href="//showfom.imgbed.com/Yourls_728D/image.png" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline; border-width: 0px;" title="Yourls" src="//showfom.imgbed.com/Yourls_728D/image_thumb.png" border="0" alt="Yourls" width="644" height="301" /></a></p><p>为自己的博客文章或页面生成短网址有两种方式，一种就是截图所示的后台自己生成，一种是通过 API 或 WordPress 插件。</p><p>默认的 API 地址就是 http://你的地址/yourls-api.php 官方的 API 文档在这里：<a title="http://yourls.org/#API" href="http://yourls.org/#API">http://yourls.org/#API</a> 虽然不够详细，但是也够用了。要是觉得一头雾水的话，<a title="Lorz" href="http://lorz.me/short-url-yourls/" target="_blank">Lorz</a> 童鞋为我们做好了 JavaScript 脚本：</p><p><a href="http://lorz.me/short-url-yourls/">http://lorz.me/short-url-yourls/</a></p><p>怎么样，还是很拉风的吧。</p><div class="fixed">在阅读器中无效的，请移步到这里：<a title="使用 Yourls 强化你的短网址系统" href="http://zou.lu/yourls/" target="_blank">http://zou.lu/yourls/</a></div><div class="fixed">更加方便的一种方法是使用 <strong>Ozh</strong> 写的 <strong>WordPress 插件</strong> - <a title="YOURLS: WordPress to Twitter" href="http://wordpress.org/extend/plugins/yourls-wordpress-to-twitter/" target="_blank">YOURLS: WordPress to Twitter</a></div><div class="fixed">下载，上传，后台激活，然后按照我这样的设置即可（国外空间的童鞋还可以选择发送到<strong> Twitter</strong> ，国内空间的童鞋就没福气了，原因不详，我文盲，不知道为啥<strong> Twitter</strong> 不能直接上，连<strong> API</strong> 都封。）</div><div class="fixed"><a href="//showfom.imgbed.com/Yourls_728D/image_3.png" class="highslide-image" onclick="return hs.expand(this);"><img style="display: inline; border: 0px;" title="Yourls" src="//showfom.imgbed.com/Yourls_728D/image_thumb_3.png" border="0" alt="Yourls" width="644" height="361" /></a></div><p><strong>Ozh</strong> <a title="Yourls" href="http://planetozh.com/blog/yourls-wordpress-to-twitter-a-short-url-plugin/">提供</a>了两个 <strong><a title="什么是 Template Tags" href="http://codex.wordpress.org/Template_Tags" target="_blank">Template Tags</a></strong></p><p><strong>&lt;?php if (function_exists('wp_ozh_yourls_url')) wp_ozh_yourls_url(); ?&gt;</strong> 用来直接输出生成的短网址地址，可以用在主题文件的 single.php 、 page.php 等，这个函数输出的内容如下：</p><blockquote><p><tt>&lt;a href=”http://gxf.in/1” rel="nofollow alternate shorter" title="short URL"&gt;http://gxf.in/1&lt;/a&gt;</tt></p></blockquote><p><strong>&lt;?php if (function_exists('wp_ozh_yourls_head_linkrel')) wp_ozh_yourls_head_linkrel(); ?&gt;</strong> 是一个放在头部的东东，对 Google 等搜索引擎肯定有好处，对百度这种那就算了。这个函数输出的内容如下：</p><blockquote><p><tt>&lt;link rel="alternate short shorter shorturl" href=”http://gxf.in/1” /&gt;</tt></p></blockquote><p>帅吧，还犹豫什么，拿起你手中的短域名开始你的短网址之旅吧，<strong><a title="Showfom's Blog" href="http://zou.lu/" target="_blank">Showfom 小帅锅</a></strong>已经把文章页面里的短网址全部替换成自己架设的 <strong>Yourls</strong> ，而且域名就是模仿<strong> Ozh</strong> 的，注册了个酷酷的 <strong>gxf.in</strong> （拼音缩写），私人短网址的时代到来了！</p><h2>三、个人意见</h2><p>个人觉得Yourls最那啥的一点就是，默认是按照顺序来排列短网址，而不是通常的随机字母数字结合，希望作者能在下一个版本改进。</p><p>PS： Yourls 已经改进很多，比如在短网址最后加 + 符号即可查看统计次数，前台也有简单的模板样式，详见： <a href="http://gxf.in/">http://gxf.in/</a></p><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/aacx-wordpress-plugin/" title="AA.CX 短网址 WordPress 插件">AA.CX 短网址 WordPress 插件</a> (103)</li><li><a href="http://zou.lu/get-your-own-short-url/" title="创建自己域名的短网址服务">创建自己域名的短网址服务</a> (30)</li><li><a href="http://zou.lu/pretty-link/" title="Pretty Link 又一款WordPress短网址插件">Pretty Link 又一款WordPress短网址插件</a> (24)</li><li><a href="http://zou.lu/short-url/" title="20+国内外短网址大点评">20+国内外短网址大点评</a> (33)</li><li><a href="http://zou.lu/mobilepress-themes-fixed/" title="MobilePress 主题汉化并修改">MobilePress 主题汉化并修改</a> (72)</li><li><a href="http://zou.lu/wordpress-spam-comments-sucks/" title="WordPress 评论群发器？操你大爷的！">WordPress 评论群发器？操你大爷的！</a> (190)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (254)</li><li><a href="http://zou.lu/ulshort/" title="uLShort &#8211; 免费开源功能强大的短网址程序">uLShort &#8211; 免费开源功能强大的短网址程序</a> (84)</li><li><a href="http://zou.lu/careful-about-wordpress-plugins/" title="千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件">千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件</a> (135)</li><li><a href="http://zou.lu/comments-text-replace/" title="WordPress 精简版评论文明用语插件">WordPress 精简版评论文明用语插件</a> (116)</li></ul><hr /><div style="padding: 5px 10px; background: rgb(243, 245, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><p>© from <a href="//zou.lu/?from=feed">走点路博客</a>, 2009/08/01. | <a href="http://zou.lu/yourls/">使用 Yourls 强化你的短网址系统</a> | <a href="http://zou.lu/yourls/#comments">82 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/short-url/" rel="tag">Short Url</a>, <a href="http://zou.lu/tags/wordpress%e6%8f%92%e4%bb%b6/" rel="tag">WordPress插件</a>, <a href="http://zou.lu/tags/yourls/" rel="tag">Yourls</a>, <a href="http://zou.lu/tags/%e7%9f%ad%e7%bd%91%e5%9d%80/" rel="tag">短网址</a> | <a href="//zou.lu/?p=86">Link</a> | <a href="http://zi.mu/domain"><font color="red">.me 域名全国最低价，首年仅需40元，续费130元促销中！</font></a></p></div>]]></content:encoded> <wfw:commentRss>http://zou.lu/yourls/feed/</wfw:commentRss> <slash:comments>82</slash:comments> </item> <item><title>中文 WordPress 博主的 Gtalk 群，欢迎加围观、群殴</title><link>http://zou.lu/gtalk-group/</link> <comments>http://zou.lu/gtalk-group/#comments</comments> <pubDate>Wed, 29 Jul 2009 16:07:27 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[Google]]></category> <category><![CDATA[Web 2.0]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[Gtalk]]></category> <category><![CDATA[Twitter]]></category><guid isPermaLink="false">http://zou.lu/?p=85</guid> <description><![CDATA[这不是广告，因为我也在群里面，闲的无聊的淫民们可以进入，有美女N只，偶老姐 Joya （就是Joya姐创建的哈哈）还有 Twitter 上的 颜姐 都在，小男生可以在群里意淫，小女生可以在群里找到像 Showfom 一样的帅哥。 如果你是一个热爱T.G.F.W（Twitter+Google+Firefox+WordPress）的人，请赶快加入吧！ 加入的方法以及推广的文章如下： 下面是来自joya 美女的博文: 现在已关闭了自由加入 可以通过您好友的邀请或是直接索取验证码，请邮件联系我并附上你的博客地址，年龄，和简短的个人介绍。 欢迎大家加入我们的 Gtalk 群，成员大都是中文WordPress博主，微博友，以及网络难民，网络奴隶以及有思想见地的网络流氓。 这里上有WPMM，下有14岁小朋友，请各位尽力展现自己的光辉形象。纯色狼免入，小商小贩也对不住了，因为群殴对你是很危险的。另外独立博客过多的转载，或是网络赚钱类的我们也会考虑拒绝。 群公告活动通知，采用小鸟Twitter发布，欢迎大家猛烈Follow之，账号：bloggerunion 讴歌我们的博客，讴歌我们的生活，不要总是我一个人讴歌，我很希望大家能在这里群殴嘛。。。 只要你使用Gtalk或是Jabber，就可以加入我们的讨论。 如果你写WP博客，那么我们群里的这些人你应该不陌生。 下面说一下加入的方法。 详见：http://www.cnwpg.com/intro/joinus.html 小提醒： 如果你想显示自己常用的名称或是中文名称，可以注册一个Chatterous的账号，然后填上你现在用的Gmail地址就可以了。 ————————- 参考的功能指令 通过IM jabber/google talk: @help – 查看在线命令帮助 @stop – 暂停接受群消息一天 @go – 恢复接受群消息 @members – 查看群成员 @get # – 查看聊天记录， # 为信息条数 (默认为 1 条, 最大 100) [...]]]></description> <content:encoded><![CDATA[<p>这不是广告，因为我也在群里面，闲的无聊的淫民们可以进入，有美女N只，偶老姐<strong> <a title="幸福海林" href="http://www.airencn.com/blog/">Joya </a></strong>（就是Joya姐创建的哈哈）还有 Twitter 上的 <strong><a title="颜姐的 Twitter" href="https://twitter.com/ag108lau">颜姐</a> </strong>都在，小男生可以在群里意淫，小女生可以在群里找到像 <a title="Showfom's Blog" href="http://zou.lu/"><strong>Showfom </strong></a>一样的帅哥。</p><p>如果你是一个热爱T.G.F.W（Twitter+Google+Firefox+WordPress）的人，请赶快加入吧！</p><p>加入的方法以及推广的文章如下：<br /> <span id="more-85"></span></p><p>下面是来自joya 美女的博文:</p><div><h2 style="text-align: center;"><span style="color: #993300;">现在已关闭了自由加入</span></h2><p>可以通过您好友的邀请或是直接索取验证码，请邮件联系我并附上你的博客地址，年龄，和简短的个人介绍。</p><p>欢迎大家加入我们的 Gtalk 群，成员大都是中文WordPress博主，微博友，以及网络难民，网络奴隶以及有思想见地的网络流氓。</p><p>这里上有WPMM，下有14岁小朋友，请各位尽力展现自己的光辉形象。纯色狼免入，小商小贩也对不住了，因为群殴对你是很危险的。另外独立博客过多的转载，或是网络赚钱类的我们也会考虑拒绝。</p><p><strong>群公告活动通知，采用小鸟Twitter发布，欢迎大家猛烈Follow之，账号：bloggerunion</strong></p><p>讴歌我们的博客，讴歌我们的生活，不要总是我一个人讴歌，我很希望大家能在这里群殴嘛。。。<img src="http://pika.showfom.com/readimg.php?src=http://www.airencn.com/blog/wp-includes/images/smilies/102.gif" alt="" /></p><p>只要你使用Gtalk或是Jabber，就可以加入我们的讨论。</p><p>如果你写WP博客，那么我们群里的这些人你应该不陌生。</p><p>下面说一下加入的方法。</p><p>详见：<a href="http://www.cnwpg.com/intro/joinus.html">http://www.cnwpg.com/intro/joinus.html</a></p><p><strong>小提醒：</strong> 如果你想显示自己常用的名称或是中文名称，可以注册一个Chatterous的账号，然后填上你现在用的Gmail地址就可以了。<br /> ————————-</p><h3><strong>参考的功能指令</strong></h3><p><strong>通过IM jabber/google talk:</strong></p><p><span style="color: #ff0000;">@help – 查看在线命令帮助<br /> @stop – 暂停接受群消息一天<br /> @go – 恢复接受群消息<br /> @members – 查看群成员<br /> @get # – 查看聊天记录， # 为信息条数 (默认为 1 条, 最大 100)<br /> @snooze # – 暂停接收信息时间， # 分钟数 (默认为 20分钟)<br /> @leave – 离开群组 </span></p><p><strong>通过邮件 email:</strong></p><p>@stop – stop receiving messages from the group via email for 1 day.</p><p>@go – resume receiving messages from the group via email (Sending messages via email to the group auto-switches you to receive via email as well).</p><p>@members – list the members of the group.</p><p><strong>通过手机 phone</strong></p><p>CHTR STOP meilin – stop receiving messages from the group via phone (sets your group contact override to your web account).</p><p>CHTR GO meilin – resume receiving messages from the group via phone (Sending text messages to the group auto-switches you to receive via phone as well).</p><p>———-</p><h3><span style="color: #800000;">群用户 更改个人名称显示</span></h3><p><span style="color: #800000;">一、注册Chatterous.com 帐号。</span></p><p><span style="color: #800000;">二、进入个人帐户界面，Profile （如图）</span></p><p><a href="http://pika.showfom.com/readimg.php?src=http://www.airencn.com/blog/wp-content/uploads/2009/07/chatterous_01.jpg" class="highslide-image" onclick="return hs.expand(this);"><img title="chatterous_01" src="http://pika.showfom.com/readimg.php?src=http://www.airencn.com/blog/wp-content/uploads/2009/07/chatterous_01.jpg" alt="chatterous_01" width="466" height="162" /></a></p><p><span style="color: #800000;">三、进入 </span><strong><span style="color: #800000;">edit info</span></strong><span style="color: #800000;"> 修改显示的名称，建议在名称后加入自己的博客域名。同时，在 </span><strong><span style="color: #800000;">add phone,im or email </span></strong><span style="color: #800000;">中，添加自己的Gtalk帐号，选择接收信息的方式。暂时还不能使用 Google Apps 帐号。（如图）</span></p><p><a href="http://pika.showfom.com/readimg.php?src=http://www.airencn.com/blog/wp-content/uploads/2009/07/chatterous_02.jpg" class="highslide-image" onclick="return hs.expand(this);"><img title="chatterous_02" src="http://pika.showfom.com/readimg.php?src=http://www.airencn.com/blog/wp-content/uploads/2009/07/chatterous_02.jpg" alt="chatterous_02" width="466" height="275" /></a></div><p><strong><span style="font-size: large;">亲爱的读者朋友们让我们一起来讴歌吧^_^</span></strong></p><p><strong><span style="font-size: large;"><br /> </span></strong></p><p>我懒，文章直接抄袭 <a href="http://www.airencn.com/blog/index.php/group">Joya </a>和 <a href="http://www.jiucool.com/wordpress-chinese-blogger-gtalk-group/">久酷</a> 的 哦哈哈</p><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/wpg/" title="起来，不愿寂寞的博主们！ &#8211; WPG 硬文">起来，不愿寂寞的博主们！ &#8211; WPG 硬文</a> (124)</li><li><a href="http://zou.lu/wordcamp-2009-ends/" title="WordCamp 2009 归来">WordCamp 2009 归来</a> (153)</li><li><a href="http://zou.lu/shortened-url-of-current-page-to-twitter/" title="打造 WordPress 的简易短网址">打造 WordPress 的简易短网址</a> (74)</li><li><a href="http://zou.lu/we-love-wp/" title="We Love WP &#8211; 稀奇古怪的网站也和我们同一个内核">We Love WP &#8211; 稀奇古怪的网站也和我们同一个内核</a> (65)</li><li><a href="http://zou.lu/use-cook-free-domain-for-your-wordpress/" title="提高 WordPress 速度之独立域名图床">提高 WordPress 速度之独立域名图床</a> (155)</li><li><a href="http://zou.lu/wpjam/" title="WordPress Jam &#8211; WP 建站服务一条龙">WordPress Jam &#8211; WP 建站服务一条龙</a> (62)</li><li><a href="http://zou.lu/send-feedburner-feed-to-twitter/" title="FeedBurner 开始提供同步 Twitter 服务">FeedBurner 开始提供同步 Twitter 服务</a> (50)</li><li><a href="http://zou.lu/mobilepress-themes-fixed/" title="MobilePress 主题汉化并修改">MobilePress 主题汉化并修改</a> (72)</li><li><a href="http://zou.lu/private-themes/" title="换上私人主题 + 清理友链">换上私人主题 + 清理友链</a> (186)</li><li><a href="http://zou.lu/chinese-beauties-in-wordpress-ii/" title="WordPress 中文界的美女们（第二期，有照片）">WordPress 中文界的美女们（第二期，有照片）</a> (307)</li></ul><hr /><div style="padding: 5px 10px; background: rgb(243, 245, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><p>© from <a href="//zou.lu/?from=feed">走点路博客</a>, 2009/07/30. | <a href="http://zou.lu/gtalk-group/">中文 WordPress 博主的 Gtalk 群，欢迎加围观、群殴</a> | <a href="http://zou.lu/gtalk-group/#comments">70 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/gtalk/" rel="tag">Gtalk</a>, <a href="http://zou.lu/tags/twitter/" rel="tag">Twitter</a>, <a href="http://zou.lu/tags/wordpress/" rel="tag">WordPress</a> | <a href="//zou.lu/?p=85">Link</a> | <a href="http://zi.mu/domain"><font color="red">.me 域名全国最低价，首年仅需40元，续费130元促销中！</font></a></p></div>]]></content:encoded> <wfw:commentRss>http://zou.lu/gtalk-group/feed/</wfw:commentRss> <slash:comments>70</slash:comments> </item> <item><title>优化你的 WordPress 之精简全站 HTML 代码（终极篇）</title><link>http://zou.lu/optimize-wordpress-themes-html-codes/</link> <comments>http://zou.lu/optimize-wordpress-themes-html-codes/#comments</comments> <pubDate>Tue, 28 Jul 2009 12:01:14 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[Autoptimize]]></category> <category><![CDATA[WordPress优化]]></category><guid isPermaLink="false">http://zou.lu/optimize-wordpress-themes-html-codes/</guid> <description><![CDATA[WordPress 优化，优化主题的代码是关键一步，但是，假如按照我们设想的，完全把 HTML代码 进行优化，可读性一定很差，不利于二次修改，所以，本次推出终极优化 HTML 代码之优化小王子 —— Autoptimize。 至于最终的效果，大家可以看我的博客源代码，首页的，页面的，文章的，是不是感觉很杂乱，但是显示出来的效果并没有任何差异，在这个节省流量的年代，哪怕是一个字节都会影响到整个网络（Google 语），仔细观察 Google、百度 这些超大流量的网站，他们的源代码无一不是和我现在博客的源代码类似。 那么，怎么做到呢？总不至于人工去合成吧（废话，那得花多少时间呀！），这时候，我们的优化小王子 —— Autoptimize 插件登场，蹬蹬蹬蹬！ ====== Autoptimize 的工作原理 通过优化HTML代码（去除不必要的空格、换行、注释）、CSS代码、JS代码，缓存起来，然后访问的时候输出，访客访问到的是经过优化后的代码，很大程度上节省了流量，同时作者推荐和 WP Super Cache 插件一起使用。Showfom 小帅锅的建议是，流量不足3000IP之前不用考虑 WP Super Cache，使用 Autoptimize 进行代码优化以后然后gzip输出之，就很完美了。 &#160; Autoptimize 安装使用方法 下载，上传，激活，后台设置，WordPress 的插件就是如此简单。 下载地址：http://wordpress.org/extend/plugins/autoptimize/&#160; （或者通过后台搜索 Autoptimize 在线安装，中文版由 Donald 翻译，下载在此：http://zuoshen.com/2009/07/20/642/） 设置讲解图： &#160; Autoptimize 忌讳几则 1、假如样式出错，就不要选择优化 CSS 代码，自己优化是个好方法；同样，假如功能出错，请不要优化 JS 代码，自己优化是个好方法，至于自行优化 CSS 和 JS 代码，参考前文：《优化你的 WordPress [...]]]></description> <content:encoded><![CDATA[<p><strong>WordPress 优化</strong>，优化主题的代码是关键一步，但是，假如按照我们设想的，完全把 <strong>HTML代码</strong> 进行优化，可读性一定很差，不利于二次修改，所以，本次推出终极优化<strong> HTML 代码</strong>之优化小王子 ——<strong> </strong><a title="Autoptimize" href="http://www.turleando.com.ar/autoptimize/" target="_blank"><strong>Autoptimize</strong></a>。</p><p> <span id="more-84"></span><p>至于最终的效果，大家可以看我的博客源代码，首页的，页面的，文章的，是不是感觉很杂乱，但是显示出来的效果并没有任何差异，在这个节省流量的年代，哪怕是一个字节都会影响到整个网络（<strong>Google 语</strong>），仔细观察 <strong>Google</strong>、<strong>百度</strong> 这些超大流量的网站，他们的源代码无一不是和我现在博客的源代码类似。</p><p>那么，怎么做到呢？总不至于人工去合成吧（废话，那得花多少时间呀！），这时候，我们的优化小王子 —— Autoptimize 插件登场，蹬蹬蹬蹬！</p><p>======</p><h2>Autoptimize 的工作原理</h2><p>通过优化<strong>HTML代码</strong>（去除不必要的空格、换行、注释）、<strong>CSS代码</strong>、<strong>JS代码</strong>，缓存起来，然后访问的时候输出，访客访问到的是经过优化后的代码，很大程度上节省了流量，同时作者推荐和 <a title="WP Super Cache" href="http://wordpress.org/extend/plugins/wp-super-cache/" target="_blank"><strong>WP Super Cache</strong></a> 插件一起使用。<strong>Showfom 小帅锅</strong>的建议是，流量不足3000IP之前不用考虑 WP Super Cache，使用 <strong>Autoptimize</strong> 进行代码优化以后然后<strong>gzip</strong>输出之，就很完美了。</p><p>&#160;</p><h2>Autoptimize 安装使用方法</h2><p>下载，上传，激活，后台设置，<strong>WordPress </strong>的插件就是如此简单。</p><p>下载地址：<a title="http://wordpress.org/extend/plugins/autoptimize/" href="http://wordpress.org/extend/plugins/autoptimize/">http://wordpress.org/extend/plugins/autoptimize/</a>&#160; （或者通过后台搜索 <strong>Autoptimize</strong> 在线安装，中文版由 <a title="Donald" href="http://zuoshen.com/" target="_blank"><strong>Donald</strong></a> 翻译，下载在此：<a title="用Autoptimize给你的WordPress再提点速，中文语言文件已添加！" href="http://zuoshen.com/2009/07/20/642/" target="_blank">http://zuoshen.com/2009/07/20/642/</a>）</p><p>设置讲解图：</p><p><a href="//showfom.imgbed.com/WordPressHTML_11959/image.png" class="highslide-image" onclick="return hs.expand(this);"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Autoptimize" border="0" alt="Autoptimize" src="//showfom.imgbed.com/WordPressHTML_11959/image_thumb.png" width="638" height="484" /></a></p><p>&#160;</p><h2>Autoptimize 忌讳几则</h2><p>1、假如样式出错，就不要选择优化<strong> CSS</strong> 代码，自己优化是个好方法；同样，假如功能出错，请不要优化<strong> JS</strong> 代码，自己优化是个好方法，至于自行优化 <strong>CSS </strong>和<strong> JS</strong> 代码，参考前文：<strong>《</strong><a title="优化你的 WordPress 之压缩 CSS/JS 代码（进阶篇补充）" href="http://zou.lu/optimize-wordpress-themes-css-and-js-codes/" target="_blank"><strong>优化你的 WordPress 之压缩 CSS/JS 代码（进阶篇补充）</strong></a><strong>》。</strong></p><p>2、一般情况下，优化<strong> HTML 代码</strong>是不会出错的，原理只是删除了多余的空格、空行和注释而已，假如出错，请自行检查不该优化的代码并且写入 <strong>JS</strong>。</p><p>3、<strong>Autoptimize </strong>的原理只是前台进行优化，后台编辑主题里的代码不用修改，所以对于网页设计师来说，为了防止别人抄袭代码也好，为了节省流量提高速度也好，这款插件实在是必不可少。</p><p>========</p><p><strong>PS：</strong>有个<strong>PLMM</strong>问偶，<strong>Showfom 小帅锅</strong>，你的做法是什么？</p><p>答：我的做法和我给出的图解一样，只是优化了<strong> HTML代码</strong> 而已，因为不太会出错，<strong>CSS</strong> 和<strong> JS</strong> 都是我自行<a title="优化你的 WordPress 之压缩 CSS/JS 代码（进阶篇补充）" href="http://zou.lu/optimize-wordpress-themes-css-and-js-codes/" target="_blank">优化</a>的，谢谢你的崇拜。</p><p><strong>再次PS：</strong>请确定主题确定功能以后再进行 <strong>WordPress </strong>的代码优化工作，优化切记备份，优化后，前台直接看源代码可读性不是一般的差，所以，谨慎优化。至于什么 <strong>Yslow </strong>这些可有可无的测试得分之类的，见他妈的鬼去吧，我才不会吃的空把所有图片都合并成一张，要 <strong>CSS </strong>里只输出一张图片是个很费精力的活，雅虎那个东西，自己的首页的代码都那么乱七八糟，我就不评价了，一般75分以上就没问题了，放国内的空间速度都刷刷的……</p><p><strong>再再次PS：</strong>优化 <strong>WordPress </strong>主题的代码系列文章到此结束，接下来我也要学学缓存插件之类的优化，不过貌似人气没那么高以前，我也是懒得用缓存插件的人，所以，下一篇系列文章就要在以后和大家见面了，嘎嘎~</p><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/optimize-wordpress-themes-css-and-js-codes/" title="优化你的 WordPress 之压缩 CSS/JS 代码（进阶篇补充）">优化你的 WordPress 之压缩 CSS/JS 代码（进阶篇补充）</a> (79)</li><li><a href="http://zou.lu/optimize-wordpress-database-query-middle-object-cache/" title="优化你的 WordPress 之减少数据库查询次数（中级篇补充之 Object Cache）">优化你的 WordPress 之减少数据库查询次数（中级篇补充之 Object Cache）</a> (43)</li><li><a href="http://zou.lu/optimize-wordpress-database-query-middle/" title="优化你的 WordPress 之减少数据库查询次数（中级篇）">优化你的 WordPress 之减少数据库查询次数（中级篇）</a> (30)</li><li><a href="http://zou.lu/optimize-wordpress-themes-codes-normal/" title="优化你的 WordPress 之精简 HTML 代码（进阶篇）">优化你的 WordPress 之精简 HTML 代码（进阶篇）</a> (32)</li><li><a href="http://zou.lu/optimize-wordpress-database-query-rookie/" title="优化你的 WordPress 之减少数据库查询次数（初级篇）">优化你的 WordPress 之减少数据库查询次数（初级篇）</a> (28)</li><li><a href="http://zou.lu/use-cook-free-domain-for-your-wordpress/" title="提高 WordPress 速度之独立域名图床">提高 WordPress 速度之独立域名图床</a> (155)</li><li><a href="http://zou.lu/wpjam/" title="WordPress Jam &#8211; WP 建站服务一条龙">WordPress Jam &#8211; WP 建站服务一条龙</a> (62)</li><li><a href="http://zou.lu/mobilepress-themes-fixed/" title="MobilePress 主题汉化并修改">MobilePress 主题汉化并修改</a> (72)</li><li><a href="http://zou.lu/private-themes/" title="换上私人主题 + 清理友链">换上私人主题 + 清理友链</a> (186)</li><li><a href="http://zou.lu/chinese-beauties-in-wordpress-ii/" title="WordPress 中文界的美女们（第二期，有照片）">WordPress 中文界的美女们（第二期，有照片）</a> (307)</li></ul><hr /><div style="padding: 5px 10px; background: rgb(243, 245, 252) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><p>© from <a href="//zou.lu/?from=feed">走点路博客</a>, 2009/07/28. | <a href="http://zou.lu/optimize-wordpress-themes-html-codes/">优化你的 WordPress 之精简全站 HTML 代码（终极篇）</a> | <a href="http://zou.lu/optimize-wordpress-themes-html-codes/#comments">89 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/autoptimize/" rel="tag">Autoptimize</a>, <a href="http://zou.lu/tags/wordpress/" rel="tag">WordPress</a>, <a href="http://zou.lu/tags/wordpress%e4%bc%98%e5%8c%96/" rel="tag">WordPress优化</a> | <a href="//zou.lu/?p=84">Link</a> | <a href="http://zi.mu/domain"><font color="red">.me 域名全国最低价，首年仅需40元，续费130元促销中！</font></a></p></div>]]></content:encoded> <wfw:commentRss>http://zou.lu/optimize-wordpress-themes-html-codes/feed/</wfw:commentRss> <slash:comments>89</slash:comments> </item> </channel> </rss>