<?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/tags/wordpress%e6%8f%92%e4%bb%b6/feed/" rel="self" type="application/rss+xml" /><link>http://zou.lu</link> <description>走点路，走自己牛逼的路，让那些个傻逼去说吧！</description> <lastBuildDate>Tue, 07 Sep 2010 16:32:13 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <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> (187)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (258)</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> (112)</li><li><a href="http://zou.lu/comments-text-replace/" title="WordPress 精简版评论文明用语插件">WordPress 精简版评论文明用语插件</a> (118)</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">73 只留言鸟</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>73</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> (89)</li><li><a href="http://zou.lu/yourls/" title="使用 Yourls 强化你的短网址系统">使用 Yourls 强化你的短网址系统</a> (86)</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> (26)</li><li><a href="http://zou.lu/short-url/" title="20+国内外短网址大点评">20+国内外短网址大点评</a> (34)</li><li><a href="http://zou.lu/mobilepress-themes-fixed/" title="MobilePress 主题汉化并修改">MobilePress 主题汉化并修改</a> (73)</li><li><a href="http://zou.lu/wordpress-spam-comments-sucks/" title="WordPress 评论群发器？操你大爷的！">WordPress 评论群发器？操你大爷的！</a> (195)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (258)</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> (118)</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">105 只留言鸟</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>105</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> (73)</li><li><a href="http://zou.lu/aacx-wordpress-plugin/" title="AA.CX 短网址 WordPress 插件">AA.CX 短网址 WordPress 插件</a> (105)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (258)</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> (118)</li><li><a href="http://zou.lu/yourls/" title="使用 Yourls 强化你的短网址系统">使用 Yourls 强化你的短网址系统</a> (86)</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">195 只留言鸟</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>195</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> (73)</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> (118)</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> (173)</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">258 只留言鸟</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>258</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> (73)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (258)</li><li><a href="http://zou.lu/how-to-get-more-comments-on-your-blog/" title="如何获得更多的访客评论留言数">如何获得更多的访客评论留言数</a> (252)</li><li><a href="http://zou.lu/comments-text-replace/" title="WordPress 精简版评论文明用语插件">WordPress 精简版评论文明用语插件</a> (118)</li><li><a href="http://zou.lu/4-occult-events/" title="8月6号灵异事件">8月6号灵异事件</a> (114)</li><li><a href="http://zou.lu/we-love-wp/" title="We Love WP &#8211; 稀奇古怪的网站也和我们同一个内核">We Love WP &#8211; 稀奇古怪的网站也和我们同一个内核</a> (67)</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>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> (73)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (258)</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> (173)</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">118 只留言鸟</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>118</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> (105)</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> (26)</li><li><a href="http://zou.lu/short-url/" title="20+国内外短网址大点评">20+国内外短网址大点评</a> (34)</li><li><a href="http://zou.lu/mobilepress-themes-fixed/" title="MobilePress 主题汉化并修改">MobilePress 主题汉化并修改</a> (73)</li><li><a href="http://zou.lu/wordpress-spam-comments-sucks/" title="WordPress 评论群发器？操你大爷的！">WordPress 评论群发器？操你大爷的！</a> (195)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (258)</li><li><a href="http://zou.lu/ulshort/" title="uLShort &#8211; 免费开源功能强大的短网址程序">uLShort &#8211; 免费开源功能强大的短网址程序</a> (89)</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> (118)</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">86 只留言鸟</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>86</slash:comments> </item> <item><title>我使用的 WordPress 插件</title><link>http://zou.lu/wordpress-plugins-i-used/</link> <comments>http://zou.lu/wordpress-plugins-i-used/#comments</comments> <pubDate>Mon, 15 Jun 2009 13:16:18 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[WordPress插件]]></category><guid isPermaLink="false">http://zou.lu/wordpress-plugins-i-used/</guid> <description><![CDATA[上篇 《我使用的 FireFox 插件扩展》 发表以后，受到了各界好评，今天，还是那个 PLMM 在 QQ 上问偶，偶用的 WordPress 插件有哪些，那小生就献丑一一道来（这次使用偶熟悉的淫荡版，18岁以下小盆友误入）： 1、Auto Highslide 作者： 大名鼎鼎的 Showfom 是也！ 下载： http://wordpress.org/extend/plugins/auto-highslide/ 介绍： 让你的 WordPress 拥有 HighSlide 效果，吸引 MM 的法宝，想象一下，脱衣服，哦，不，点一下图片的链接（就当做是胸罩吧，想象成 34D 的），哗的一下，什么秘密都没了，只有一丝丝害羞而已，尤其是少女的必杀绝招，闭上眼睛的时候就干了她……额，说的有点过火了，总之就是图片特效的插件，详情介绍在这里：http://zou.lu/auto-hishslide-wordpress-plugin/ 2、Akismet 作者： WordPress 创始人 Matt （马上套套）是也！ 下载： 下载？下载个P，WordPress 自带的，后台启用然后申请个 API 即可 介绍： 这个嘛，你可以真的想象成套套，难道你的女人愿意被别的陌生男子插进插出吗？当然是不可以的啦！那偶们就要用套套，比如 WordPress 创始人 马套套 童鞋制作的 Akismet 避孕套，绝对效果超好，什么杜蕾斯，杰士邦，见鬼去吧！垃圾留言必用，怀孕（垃圾留言不免有漏网之鱼）后记得流产（删除之）哦！ 3、Comments Link Redirect 作者： 很爱吃水煮鱼的 Denis 是也！ [...]]]></description> <content:encoded><![CDATA[<p>上篇 <a title="我使用的 FireFox 插件扩展" href="http://zou.lu/firefox-addons-i-used/">《我使用的 FireFox 插件扩展》</a> 发表以后，受到了各界好评，今天，还是那个 <strong>PLMM</strong> 在 <strong>QQ</strong> 上问偶，偶用的<strong> WordPress 插件</strong>有哪些，那小生就献丑一一道来（这次使用偶熟悉的淫荡版，<strong>18岁以下</strong>小盆友误入）：</p><p><span id="more-63"></span></p><h2>1、Auto Highslide</h2><p>作者： 大名鼎鼎的 <a title="Showfom's Blog" href="http://zou.lu/">Showfom</a> 是也！</p><p>下载： <a title="http://wordpress.org/extend/plugins/add-highslide/" href="http://wordpress.org/extend/plugins/auto-highslide/">http://wordpress.org/extend/plugins/auto-highslide/</a></p><p>介绍： 让你的 <strong>WordPress </strong>拥有 <strong>HighSlide</strong> 效果，吸引 <strong>MM</strong> 的法宝，想象一下，脱衣服，哦，不，点一下图片的链接（就当做是胸罩吧，想象成 <strong>34D</strong> 的），哗的一下，什么秘密都没了，只有一丝丝害羞而已，尤其是少女的必杀绝招，闭上眼睛的时候就干了她……额，说的有点过火了，总之就是图片特效的插件，详情介绍在这里：<a title="http://zou.lu/auto-hishslide-wordpress-plugin/" href="http://zou.lu/auto-hishslide-wordpress-plugin/">http://zou.lu/auto-hishslide-wordpress-plugin/</a></p><h2>2、Akismet</h2><p>作者： <strong>WordPress </strong>创始人 <a href="http://ma.tt/">Matt</a> （马上套套）是也！</p><p>下载： 下载？下载个<strong>P</strong>，<strong>WordPress </strong>自带的，后台启用然后申请个 <strong>API</strong> 即可</p><p>介绍： 这个嘛，你可以真的想象成套套，难道你的女人愿意被别的陌生男子插进插出吗？当然是不可以的啦！那偶们就要用套套，比如 <strong>WordPress 创始人</strong> 马套套 童鞋制作的 <strong>Akismet 避孕套</strong>，绝对效果超好，什么杜蕾斯，杰士邦，见鬼去吧！垃圾留言必用，怀孕（垃圾留言不免有漏网之鱼）后记得流产（删除之）哦！</p><h2>3、Comments Link Redirect</h2><p>作者： 很爱吃水煮鱼的 <a href="http://fairyfish.net/">Denis</a> 是也！</p><p>下载： <a title="Comments Link Redirect" href="http://fairyfish.net/2009/01/22/comments-link-redirect/">http://fairyfish.net/2009/01/22/comments-link-redirect/</a></p><p>介绍： 传说中是防止 <strong>Spam </strong>的终极方法，但是，百度那个 <strong>MM</strong> 到底需要不需要带套？整天操来操去就习惯了，不过还是用上去看着爽点。。</p><h2>4、Google XML Sitemaps</h2><p>作者： <a href="http://www.arnebrachhold.de/">Arne Brachhold</a></p><p>下载： <a title="Google XML Sitemaps" href="http://wordpress.org/extend/plugins/google-sitemap-generator/">http://wordpress.org/extend/plugins/google-sitemap-generator/</a></p><p>介绍： 生成 <strong>SiteMap</strong> 的，俗称精子库，专门收藏以供 <strong>Google 小妹妹</strong>使用。。百度？胸部大点再说吧。</p><h2>5、No Self Pings</h2><p>作者： <a href="http://blogwaffe.com/">Michael D. Adams</a></p><p>下载： <a title="No Self Pings" href="http://wordpress.org/extend/plugins/no-self-ping/">http://wordpress.org/extend/plugins/no-self-ping/</a></p><p>介绍： 这是防止 <strong>WordPress </strong>自慰的插件，自己<strong> ping</strong> 自己？射出来的东东难道要自己吞下去？</p><h2>6、Ozh' Better Feed</h2><p>作者： <a href="http://planetOzh.com">Ozh</a></p><p>下载： <a title="Ozh' Better Feed" href="http://wordpress.org/extend/plugins/ozh-better-feed/">http://wordpress.org/extend/plugins/ozh-better-feed/</a></p><p>介绍： <strong>WordPress</strong> 隆胸插件，<strong>Feed </strong>是给人看的，当然得大气点，这个插件就是为了增强你的<strong> Feed</strong></p><h2>7、Permalink Redirect</h2><p>作者： <a href="http://yoast.com/">Joost de Valk</a></p><p>下载： <a title="Permalink Redirect" href="http://wordpress.org/extend/plugins/permalink-redirect/">http://wordpress.org/extend/plugins/permalink-redirect/</a></p><p>介绍： <strong>WordPress </strong>防止绿帽子插件，谁让咱们的<strong> WordPress</strong> 是自己用的，难道一个文章的地址有两三个？咱的<strong> WordPress</strong> 也不能以两三个身份来陪客人嘛，(*^__^*) 嘻嘻……</p><h2>8、Random Redirect</h2><p>作者： <a href="http://ma.tt/">Matt</a></p><p>下载： <a title="http://wordpress.org/extend/plugins/random-redirect/" href="http://wordpress.org/extend/plugins/random-redirect/">http://wordpress.org/extend/plugins/random-redirect/</a></p><p>介绍： <strong>WordPress</strong> 随机文章插件，嗯，虽然淫荡了点，咱们养的 <strong>WordPress</strong> 怎么可以随随便便呢，同样是马套套童鞋的插件，还是很爽的。马套套童鞋为 <strong>WordPress</strong> 计划生育付出了很多哇，一定要给个大红勋章！</p><h2>9、Super Switch</h2><p>作者： <a href="http://goto8848.net/">Crazy Loong</a></p><p>下载： <a title="Super Switch" href="http://wordpress.org/extend/plugins/super-switch/">http://wordpress.org/extend/plugins/super-switch/</a></p><p>介绍： <strong>WordPress</strong> 避孕插件，难道你忍心看着偶们家的 <strong>WordPress</strong> 肚子（数据库）一天一天变大吗？ 当然不是啦，<strong>Super Switch</strong> 才是终极避孕插件，防止自动保存，防止版本衍生，防止泄露版本，防止早婚早孕……看，偶的安全措施做得多好。</p><h2>10、WordPress Related Posts</h2><p>作者： <a href="http://fairyfish.net/">Denis</a></p><p>下载： <a title="WordPress Related Posts" href="http://wordpress.org/extend/plugins/wordpress-23-related-posts-plugin/">http://wordpress.org/extend/plugins/wordpress-23-related-posts-plugin/</a></p><p>介绍：<strong> WordPress</strong> 相关文章插件，这个插件会根据 <strong>tags</strong> 自动生成相关的文章。</p><h2>11、Wordpress Thread Comment</h2><p>作者： <a href="http://blog.2i2j.com/">偶爱偶家</a></p><p>下载： <a title="Wordpress Thread Comment" href="http://wordpress.org/extend/plugins/wordpress-thread-comment/">http://wordpress.org/extend/plugins/wordpress-thread-comment/</a></p><p>介绍： <strong>WordPress </strong>回复多个套套插件，ML 的时候用多个套套？肯定会延长时间，而偶们家的 <strong>WordPress</strong> 不同，来个套套吧，再来个 <strong>Ajax 快速射出</strong>功能，欧也，个个留言都是秒杀的。</p><h2>12、WP-EasyArchives</h2><p>作者： <a href="http://www.neoease.com/">mg12</a></p><p>下载： <a title="http://wordpress.org/extend/plugins/wp-easyarchives/" href="http://wordpress.org/extend/plugins/wp-easyarchives/">http://wordpress.org/extend/plugins/wp-easyarchives/</a></p><p>介绍： <strong>WordPress</strong> 存档插件</p><h2>13、WP-PageNavi</h2><p>作者： <a href="http://lesterchan.net">Lester 'GaMerZ' Chan</a></p><p>下载： <a title="WP-PageNavi" href="http://wordpress.org/extend/plugins/wp-pagenavi/">http://wordpress.org/extend/plugins/wp-pagenavi/</a></p><p>介绍： <strong>WordPress</strong> 分页插件</p><h2>14、WP-PostViews</h2><p>作者： <a href="http://lesterchan.net">Lester 'GaMerZ' Chan</a></p><p>下载： <a title="WP-PostViews" href="http://wordpress.org/extend/plugins/wp-postviews/">http://wordpress.org/extend/plugins/wp-postviews/</a></p><p>介绍： <strong>WordPress </strong>统计插件</p><h2>15、WP Widget Cache</h2><p>作者： <a href="http://www.mashget.com">Andrew Zhang</a></p><p>下载： <a title="WP Widget Cache" href="http://wordpress.org/extend/plugins/wp-widget-cache/">http://wordpress.org/extend/plugins/wp-widget-cache/</a></p><p>介绍： <strong>WordPress</strong> 夜总会的一号小姐（由于 <strong>WordPress</strong> 夜总会升级，<strong>DB Cache</strong> 淡出了视野，<strong>WP Widget Cache</strong> 重回一号），以前介绍过，就不介绍了，好好招待客人啊。</p><p><strong>PS：</strong>介绍完毕，有疑问着留言即可，不保证偶的回答都是正确，但是可以提供必要的一些建议。</p><p><strong>再次PS：</strong></p><p>问：为什么博主的介绍如此淫荡下流无耻真鸡巴想操你！</p><p>答：淫荡的人生，需要解释吗？</p><p><a href="//showfom.imgbed.com/WordPress_126F9/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 插件" src="//showfom.imgbed.com/WordPress_126F9/image_thumb.png" border="0" alt="我使用的 WordPress 插件" width="667" height="282" /></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> (73)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (258)</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> (118)</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> (173)</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/06/15. | <a href="http://zou.lu/wordpress-plugins-i-used/">我使用的 WordPress 插件</a> | <a href="http://zou.lu/wordpress-plugins-i-used/#comments">90 只留言鸟</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="//zou.lu/?p=63">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-plugins-i-used/feed/</wfw:commentRss> <slash:comments>90</slash:comments> </item> <item><title>升级到 WordPress 2.8 以后要注意的事项</title><link>http://zou.lu/notes-for-wordpress-28-upgrading/</link> <comments>http://zou.lu/notes-for-wordpress-28-upgrading/#comments</comments> <pubDate>Sat, 13 Jun 2009 07:33:49 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[Widgets]]></category> <category><![CDATA[WordPress 2.8]]></category> <category><![CDATA[WordPress升级]]></category> <category><![CDATA[WordPress插件]]></category><guid isPermaLink="false">http://zou.lu/?p=60</guid> <description><![CDATA[由于搬家至 Wopus ，索性就直接升级到 WordPress 2.8，没想到出现了一系列问题。 1、插件不兼容 这是最头疼的，由于不想使用 去除分类的 category ，所以，我就直接没上传 Redirection 插件，然后发布文章却发现无法增加 Tags ，真是郁闷啊。 然后本地下载，本地测试，最后发现还是 Redirection 插件的问题。 状况： ①直接更新而没禁用或者删除 Redirection 插件的话，所有页面都会显示 Call to undefined method WordPress_Module::_weak_escape()&#160; ②发布文章不能更新或者增加 Tags 解决方法： 直接删除 Redirection 插件的文件夹或者重命名即可。 2、系统文件改变 由于 WordPress 2.8 的 Widgets 系统增强，所以内置的 Widgets 文件也改变较大。 以前的 wp-includes\widgets.php 只是一个引用的文件，真正的内容全部在 wp-includes\defalut-widgets.php ，而且功能N多，嗯，好好看看代码学习学习。 3、记得备份自己的表情文件 通常在 wp-includes\images\smilies 目录下，假如以前用的是自己上传覆盖的表情，切记备份，后悔就来不及了。 话说，这套表情也太老了，难道 WordPress 的那帮人都是些怀旧的？ 4、数据库切记备份 别的还好，只要数据库在，就不怕，万一数据库没备份而导致升级失败，那这世上真的没有后悔药了。 [...]]]></description> <content:encoded><![CDATA[<p>由于搬家至 <strong>Wopus</strong> ，索性就直接升级到<strong> WordPress 2.8</strong>，没想到出现了一系列问题。</p><p> <span id="more-60"></span><br /><h2>1、插件不兼容</h2><p>这是最头疼的，由于不想使用 <a title="去除 WordPress 分类 URL 的 category" href="http://zou.lu/4-ways-to-remove-category-from-your-wordpress-url/" target="_blank">去除分类的 category</a> ，所以，我就直接没上传<strong> Redirection</strong> 插件，然后发布文章却发现无法增加 <strong>Tags</strong> ，真是郁闷啊。</p><p>然后本地下载，本地测试，最后发现还是 <strong>Redirection</strong> 插件的问题。</p><p>状况：</p><p>①直接更新而没禁用或者删除 <strong>Redirection </strong>插件的话，所有页面都会显示</p><blockquote><p>Call to undefined method WordPress_Module::_weak_escape()&#160;</p></blockquote><p>②发布文章不能更新或者增加 <strong>Tags </strong></p><p>解决方法：</p><blockquote><p>直接删除 Redirection 插件的文件夹或者重命名即可。</p></blockquote><h2>2、系统文件改变</h2><p>由于 <strong>WordPress 2.8</strong> 的 <strong>Widgets</strong> 系统增强，所以内置的 <strong>Widgets 文件</strong>也改变较大。</p><p>以前的 <strong>wp-includes\widgets.php</strong> 只是一个引用的文件，真正的内容全部在 <strong>wp-includes\defalut-widgets.php</strong> ，而且功能N多，嗯，好好看看代码学习学习。</p><h2>3、记得备份自己的表情文件</h2><p>通常在 <strong>wp-includes\images\smilies</strong> 目录下，假如以前用的是自己上传覆盖的表情，切记备份，后悔就来不及了。</p><p>话说，这套表情也太老了，难道 <strong>WordPress </strong>的那帮人都是些怀旧的？</p><h2>4、数据库切记备份</h2><p>别的还好，只要数据库在，就不怕，万一数据库没备份而导致升级失败，那这世上真的没有后悔药了。</p><h2>5、养成本地写博的好习惯</h2><p>我是一直反对在后台写博客，至少不能直接在后台写，假如你喜欢在后台写，也应该是本地写好以后复制过去，否则在没用自动保存的情况下，损失会很大，而用了自动保存，数据库会很大，哎，两难的事情。所以，去年开始我就一直用 <strong>Windows Live Writer</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> (73)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (258)</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> (118)</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/wordpress-plugins-i-used/" title="我使用的 WordPress 插件">我使用的 WordPress 插件</a> (90)</li><li><a href="http://zou.lu/wordpress-28-released/" title="WordPress 2.8 正式版发布">WordPress 2.8 正式版发布</a> (35)</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> (173)</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/06/13. | <a href="http://zou.lu/notes-for-wordpress-28-upgrading/">升级到 WordPress 2.8 以后要注意的事项</a> | <a href="http://zou.lu/notes-for-wordpress-28-upgrading/#comments">61 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/widgets/" rel="tag">Widgets</a>, <a href="http://zou.lu/tags/wordpress/" rel="tag">WordPress</a>, <a href="http://zou.lu/tags/wordpress-28/" rel="tag">WordPress 2.8</a>, <a href="http://zou.lu/tags/wordpress%e5%8d%87%e7%ba%a7/" 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=60">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/notes-for-wordpress-28-upgrading/feed/</wfw:commentRss> <slash:comments>61</slash:comments> </item> <item><title>优化你的 WordPress 之减少数据库查询次数（中级篇补充之 Object Cache）</title><link>http://zou.lu/optimize-wordpress-database-query-middle-object-cache/</link> <comments>http://zou.lu/optimize-wordpress-database-query-middle-object-cache/#comments</comments> <pubDate>Mon, 25 May 2009 09:05:17 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[WordPress优化]]></category> <category><![CDATA[WordPress插件]]></category><guid isPermaLink="false">http://zou.lu/optimize-wordpress-database-query-middle-object-cache/</guid> <description><![CDATA[在 《优化你的 WordPress 之减少数据库查询次数（中级篇）》 一文中，提到了使用 DB Cache 来减少 WordPress 的php查询次数，本来这是一件好事，但是通过两天的测试（我这个小博客+两个流量较大的博客），发现 DB Cache 对评论的查询次数处理不是很好，每个文章页面假如评论过多，还是会产生额外的20、30次查询，所以，再次启用一个不算插件的插件 – Object Cache。 本文只介绍 Object Cache ，哎，我真是个花心的人，前天还把 DB Cache 爱的死去活来的，今天就被 Object Cache 这个小妖精给迷惑了。 严格意义上说，Object Cache 不是一个 WordPress 插件 ，他的全称是 File-Based Object Caching ， 作者是 Mahmoud Al-Qudsi ，这老外的名字取的，默罕默德，我还阿尔法特呢…… 但是 Object Cache 能有效减少 WordPress 的 php查询次数 ，而且针对每单篇文章更有效，引用一句广告台词，自从用了 Object Cache，咱博客腰不酸了，腿不痛了，一下次高潮达到5次，还不嫌累哦！ 下载地址在这里：Download &#124; 大陆镜像 着重讲讲安装方法： Object [...]]]></description> <content:encoded><![CDATA[<p>在 <a title="优化你的 WordPress 之减少数据库查询次数（中级篇）" href="http://zou.lu/optimize-wordpress-database-query-middle/">《优化你的 WordPress 之减少数据库查询次数（中级篇）》</a> 一文中，提到了使用 <strong></strong><a class="external" href="http://wordpress.org/extend/plugins/db-cache/"><strong>DB Cache</strong></a> 来减少 <a title="WordPress" href="http://zou.lu/wordpress/"><strong>WordPress</strong></a> 的<strong>php查询次数</strong>，本来这是一件好事，但是通过两天的测试（我这个小博客+两个流量较大的博客），发现 <strong>DB Cache</strong> 对评论的查询次数处理不是很好，每个文章页面假如评论过多，还是会产生额外的20、30次查询，所以，再次启用一个不算插件的插件 – <strong>Object Cache</strong>。</p><p><span id="more-46"></span></p><p>本文只介绍 <strong>Object Cache</strong> ，哎，我真是个花心的人，前天还把 <strong>DB Cache</strong> 爱的死去活来的，今天就被 <strong>Object Cache</strong> 这个小妖精给迷惑了。</p><p>严格意义上说，Object Cache 不是一个 <strong>WordPress 插件</strong> ，他的全称是 <a class="external" href="http://neosmart.net/dl.php?id=14">File-Based Object Caching</a> ， 作者是 <a class="external" href="http://neosmart.net/blog/">Mahmoud Al-Qudsi</a> ，这老外的名字取的，默罕默德，我还阿尔法特呢……</p><p>但是 <strong>Object Cache</strong> 能有效减少 <strong>WordPress</strong> 的 <strong>php查询次数</strong> ，而且针对每单篇文章更有效，引用一句广告台词，自从用了 <strong>Object Cache</strong>，咱博客腰不酸了，腿不痛了，一下次高潮达到5次，还不嫌累哦！</p><p>下载地址在这里：<a class="external" title="Download File-Based Caching for WordPress 1.0" href="http://neosmart.net/dl.php?id=14">Download</a> | <a class="external" title="Download Object Cache" href="http://www.uushare.com/user/showfom/file/1633722">大陆镜像</a></p><p><strong>着重讲讲安装方法：</strong></p><blockquote><p><strong>Object Cache</strong> 需要手工安装，首先，上传 <strong>object-cache.php</strong> 至 <strong>wp-content</strong> 目录，然后在 <strong>wp-content</strong> 目录新建一个文件夹 <strong>cache</strong> （和 <strong>WP Super Cache</strong> 那个文件夹一样），需要有写入权限（777、755等）。</p></blockquote><p>然后修改你博客根目录的 <strong>wp-config.php</strong></p><p>加上这么一行：</p><blockquote><p>// Enable the WordPress Object Cache，这是注释:<br /> define('ENABLE_CACHE', true);</p></blockquote><p><strong>OK</strong>，看看 <strong>wp-content/cache</strong> 文件夹里有没有多出一些缓存文件，假如多出了，就说明安装成功，看看首页的效果吧：</p><blockquote><p>5 queries in 0.619 seconds.</p></blockquote><p>尽管只减少了一次查询，还是有所收获哈哈</p><blockquote><p>其实最主要还是看你文章页面的查询，以前我都有20、30次，现在只有9、10次左右了，这个效果才是最明显的！</p></blockquote><p>貌似默罕默德先生还有几个加速 <strong>WordPress</strong> 的插件，到时候再去测试测试，难道 <strong>Mr Mahmoud</strong> 是 <strong>WordPress 缓存夜总会</strong>的妈妈桑？不过提供的小姐质量确实不错！</p><ol><li><a class="external" href="http://neosmart.net/dl.php?id=12">XCache for WordPress</a></li><li><a class="external" href="http://neosmart.net/dl.php?id=13">eAccelerator for WordPress</a></li><li><a class="external" href="http://txfx.net/files/wordpress/apc-object-cache.phps">APC for WordPress</a></li><li><a class="external" href="http://ryan.wordpress.com/2005/12/23/memcached-backend/">Memcached for WordPress</a></li></ol><p>PS：与本文无关的几句话</p><p>发现 WordPress 中国用户里对猫的感情特别深厚，我知道的就有：</p><p><a class="external" title="Maozz" href="http://maozz.com/">Maozz</a> <a class="external" title="LeeHow" href="http://leehow.com/">LeeHow</a> <a class="external" title="Maoxmao" href="http://www.maoxmao.com/">Maoxmao</a> <a class="external" title="OOXX" href="http://ooxx.me/">OOXX</a> 等等，当然 <a class="external" title="煎蛋" href="http://jandan.net/">煎蛋</a> 里也都是猫迷，囧，今日就发两张猫猫的图片吧，猫猫很可爱的。</p><p><a href="//showfom.imgbed.com/WordPressObjectCache_EFF0/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="我是猫咪" src="//showfom.imgbed.com/WordPressObjectCache_EFF0/image_thumb.png" border="0" alt="我是猫咪" width="244" height="209" /></a> <a href="//showfom.imgbed.com/WordPressObjectCache_EFF0/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="我是猫咪" src="//showfom.imgbed.com/WordPressObjectCache_EFF0/image_thumb_3.png" border="0" alt="我是猫咪" width="194" height="208" /></a> <a href="//showfom.imgbed.com/WordPressObjectCache_EFF0/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="我是猫咪" src="//showfom.imgbed.com/WordPressObjectCache_EFF0/image_thumb_4.png" border="0" alt="我是猫咪" width="182" height="207" /></a> <a href="//showfom.imgbed.com/WordPressObjectCache_EFF0/image_5.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="我是老鼠" src="//showfom.imgbed.com/WordPressObjectCache_EFF0/image_thumb_5.png" border="0" alt="我是老鼠" width="233" height="176" /></a></p><p><a href="//showfom.imgbed.com/WordPressObjectCache_EFF0/LPNZH3ENGU61N3OV8F6.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="我是猫猫" src="//showfom.imgbed.com/WordPressObjectCache_EFF0/LPNZH3ENGU61N3OV8F6_thumb.jpg" border="0" alt="我是猫猫" width="48" height="48" /></a> 本文到此结束，这几天得休息休息，哎，昨晚失眠……</p><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/optimize-wordpress-database-query-middle/" title="优化你的 WordPress 之减少数据库查询次数（中级篇）">优化你的 WordPress 之减少数据库查询次数（中级篇）</a> (30)</li><li><a href="http://zou.lu/mobilepress-themes-fixed/" title="MobilePress 主题汉化并修改">MobilePress 主题汉化并修改</a> (73)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (258)</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> (118)</li><li><a href="http://zou.lu/optimize-wordpress-themes-html-codes/" title="优化你的 WordPress 之精简全站 HTML 代码（终极篇）">优化你的 WordPress 之精简全站 HTML 代码（终极篇）</a> (90)</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/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/auto-hishslide-wordpress-plugin/" title="Auto HighSlide &#8211; 真正自动增加 WordPress 的 HighSlide 图片效果插件">Auto HighSlide &#8211; 真正自动增加 WordPress 的 HighSlide 图片效果插件</a> (173)</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/05/25. | <a href="http://zou.lu/optimize-wordpress-database-query-middle-object-cache/">优化你的 WordPress 之减少数据库查询次数（中级篇补充之 Object Cache）</a> | <a href="http://zou.lu/optimize-wordpress-database-query-middle-object-cache/#comments">43 只留言鸟</a> <br /> Tags： <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="http://zou.lu/tags/wordpress%e6%8f%92%e4%bb%b6/" rel="tag">WordPress插件</a> | <a href="//zou.lu/?p=46">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-database-query-middle-object-cache/feed/</wfw:commentRss> <slash:comments>43</slash:comments> </item> <item><title>优化你的 WordPress 之减少数据库查询次数（中级篇）</title><link>http://zou.lu/optimize-wordpress-database-query-middle/</link> <comments>http://zou.lu/optimize-wordpress-database-query-middle/#comments</comments> <pubDate>Sat, 23 May 2009 08:36:54 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[WordPress优化]]></category> <category><![CDATA[WordPress插件]]></category><guid isPermaLink="false">http://zou.lu/optimize-wordpress-database-query-middle/</guid> <description><![CDATA[本文介绍如何使用正确的插件来减少 WordPress 的数据库查询次数，效果可以看我首页底部： 6 queries in 0.611 seconds 好了，进入正文。 1、DB Cache 在 《优化你的 WordPress 之减少数据库查询次数（初级篇）》 一文中，我提到了使用 WP Widget Cache 来减少侧边栏sidebar 的查询，但是，对没有使用 widget，或者不喜欢使用 widget 的朋友，WP Widget Cache 插件就没用了，所以，再介绍一款减少数据库查询次数的终极宝剑 —— DB Cache 看看作者的介绍吧： This plugin caches every database query with given lifetime. It is much faster than other html caching plugins and uses less disk space for [...]]]></description> <content:encoded><![CDATA[<p>本文介绍如何使用正确的插件来减少 <a title="WordPress" href="http://zou.lu/wordpress/">WordPress</a> 的数据库查询次数，效果可以看我首页底部：</p><pre>6 queries in 0.611 seconds</pre><p>好了，进入正文。</p><p><span id="more-45"></span></p><p><font color="#ff8040" size="3"><strong>1、</strong></font><a class="external" title="DB Cache" href="http://wordpress.org/extend/plugins/db-cache/"><font color="#ff8040" size="3"><strong>DB Cache</strong></font></a></p><p>在 <a href="http://zou.lu/optimize-wordpress-database-query-rookie/">《优化你的 WordPress 之减少数据库查询次数（初级篇）》</a> 一文中，我提到了使用 <a class="external" href="http://wordpress.org/extend/plugins/wp-widget-cache/"><strong>WP Widget Cache</strong></a> 来减少侧边栏<strong>sidebar</strong> 的查询，但是，对没有使用 <strong>widget</strong>，或者不喜欢使用 <strong>widget</strong> 的朋友，<a class="external" href="http://wordpress.org/extend/plugins/wp-widget-cache/"><strong>WP Widget Cache</strong></a> 插件就没用了，所以，再介绍一款减少数据库查询次数的终极宝剑 —— <a title="DB Cache" href="http://wordpress.org/extend/plugins/db-cache/"><strong>DB Cache</strong></a></p><p>看看作者的介绍吧：</p><blockquote><p>This plugin caches every database query with given lifetime. It is much faster than other html caching plugins and uses less disk space for caching.</p><p>I think you've heard of <a class="external" href="http://wordpress.org/extend/plugins/wp-cache/"><strong>WP-Cache</strong></a> or <a class="external" href="http://wordpress.org/extend/plugins/wp-super-cache/"><strong>WP Super Cache</strong></a>, they are both top plugins for WordPress, which make your site faster and responsive. Forget about them - with DB Cache your site will work much faster and will use less disk space for cached files. Your visitors will always get actual information in sidebars and server CPU loads will be as low as posible.</p></blockquote><p>简单淫荡翻译一下：</p><p>这个插件能长期缓存所有（真的吗？怀疑）数据库查询。比那些狗屁鸡巴HTML缓存插件快多了，而且占用的空间更小。</p><blockquote><p>我想你可能听说过 <a class="external" href="http://wordpress.org/extend/plugins/wp-cache/"><strong>WP-Cache</strong></a> 或者 <a class="external" href="http://wordpress.org/extend/plugins/wp-super-cache/"><strong>WP Super Cache</strong></a> ，他们都是 <strong>WordPress</strong> 的热门插件，能使你的博客访问速度更快。忘了她们吧，直接投入偶的怀抱，相信我，在你的博客用 <strong>DB Cache</strong> 插件，一定会更快，缓存空间更小。当然，访客能获取实时的侧边栏，<strong>CPU 占有率</strong>也会很小。</p></blockquote><p>再次用最淫荡的语言阐述一下：</p><blockquote><p>大家好，我是 <strong>Miss DB Cache</strong> ，在 <strong>WordPress</strong> 夜总会工作，他们叫我性感小D，哎，都是那些臭男人，尤其是那个叫 <strong>Showfom</strong> 的家伙，每次都让人家很快进入高潮，哎呀，坏死了嘛。我有两个小姐妹，据说是双胞胎哦（要双飞吗？坏死了你。） <strong>Miss WP-Cache</strong> 和 <strong>Miss WP Super Cache</strong> 不过他们负责记住客人的相貌，而我能记住客人 的内心世界。每次最先达到高潮的总是人家，这位大哥，要不要试试？不用带套哦。</p><p>PS：纯属虚构，望路过者笑之……</p></blockquote><p><strong>DB Cache</strong> 能缓存尽可能多的 <strong>php查询</strong> ，官方解释是全部，我的解释是放屁。这不是一个 <strong>WP Widget Cache</strong> 就能搞定的，使用效果及其明显，尤其是首页，因为不用查询过多的评论，文章页面由于要查询过多的评论（前提是你的文章够热门），所以效果没首页那么明显。</p><p><strong>DB Cache</strong> 的安装使用方法很简单，上传后台激活，然后选定 <strong>Enable</strong> 即可（如图）</p><p><a href="//showfom.imgbed.com/WordPress_E160/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" border="0" alt="image" src="//showfom.imgbed.com/WordPress_E160/image_thumb.png" width="244" height="82" /></a></p><p>记得 <strong>wp-content 文件夹 </strong>要有<strong>写入</strong>的权限，比如 666 755 777 ，这个我不是很懂，所以犯过一些错误哎。</p><p>默认会在<strong>&lt;?php wp_footer() ?&gt;</strong> 中写入一句，比如</p><pre>&lt;!-- Generated in 0.199 seconds. Made 15 queries to database and 8 cached queries. Memory used - 14.86MB --&gt;
&lt;!-- Cached by DB Cache --&gt;</pre><p>当然，我是不会用的，所以清空<strong>选项</strong>里 <strong>Load stats template</strong> 里的那句话即可。</p><p>效果很明显吧？</p><p>下载地址：<a class="external" title="DB Cache" href="http://wordpress.org/extend/plugins/db-cache/">http://wordpress.org/extend/plugins/db-cache/</a></p><p>&#160;</p><p><font color="#ff8040" size="3"><strong>2、</strong></font><a class="external" title="WP Widget Cache" href="http://wordpress.org/extend/plugins/wp-widget-cache/"><font color="#ff8040" size="3"><strong>WP Widget Cache</strong></font></a></p><p>对于喜欢使用 <strong>Widget </strong>的朋友，比如 <strong><a href="http://zou.lu/">Showfom</a></strong> 这个自恋的家伙，当然可以配合 <strong>WP Widget Cache</strong> 一起使用，效果良好，是出家写博的必备良药。</p><p>由于 <strong>WP Widget Cache</strong> 在 <a href="http://zou.lu/optimize-wordpress-database-query-rookie/"><strong>《优化你的 WordPress 之减少数据库查询次数（初级篇）》</strong></a> 一文中已经介绍使用，所以这里不多做介绍了。</p><p>直接上传后台激活启用即可，当然要用自己的 <strong>Widget</strong> ，否则缓存没作用</p><p>下载地址：<a class="external" title="WP Widget Cache" href="http://wordpress.org/extend/plugins/wp-widget-cache/">http://wordpress.org/extend/plugins/wp-widget-cache/</a></p><p>&#160;</p><p><font color="#ff8040" size="3"><strong>3、</strong></font><a class="external" title="WP Super Cache" href="http://wordpress.org/extend/plugins/wp-super-cache/"><font color="#ff8040" size="3"><strong>WP Super Cache</strong></font></a></p><p><a class="external" href="http://wordpress.org/extend/plugins/wp-cache/"><strong>WP-Cache</strong></a> 的升级版，所以就忘记 <a class="external" href="http://wordpress.org/extend/plugins/wp-cache/"><strong>WP-Cache</strong></a> 吧。</p><p>基本上国内几个大的博客都使用 WP Super Cache ，优点很多，确实很快。我对 php 还不是很了解，原理也不是很懂，所以最简单的方法就是用我的那几个大流量的博客进行试验，结果发现 WP Super Cache 效果确实好，但是缺点是要改写 .htaccess ，对 Niginx 的童鞋，要自己去搜索 WP Super Cache for Nginx 的代码，而且目录权限要设置，有点高级插件的味道，但是确实不是吹的，速度一流，推荐大站和高手使用。</p><p>下载地址：<a class="external" title="WP Super Cache" href="http://wordpress.org/extend/plugins/wp-super-cache/">http://wordpress.org/extend/plugins/wp-super-cache/</a></p><p>&#160;</p><p><font color="#ff8040" size="3"><strong>4、</strong></font><a class="external" title="Hyper Cache" href="http://wordpress.org/extend/plugins/hyper-cache/"><font color="#ff8040" size="3"><strong>Hyper Cache</strong></font></a></p><p>Hyper Cache 我使用了好几个月了，速度比 WP Super Cache 要慢上那么一点点，不过总体来说差不多，肉眼看不出哈哈。缺点嘛，用了以后不记录 cookies 每次评论都要再次输入，对一些交流性很强的互动型的博客不适用，当然有方法：<a href="http://hellobmw.com/archives/cookie-validation-for-static-wordpress.html">WordPress 完全静态化后的 cookie 验证</a>，只是我这个菜鸟用了半天还是不对，所以，我只对两个互动性不太大但是访问量较大的博客使用了 Hyper Cache ，嗯，速度也是一流的。</p><p>下载地址：<a class="external" title="Hyper Cache" href="http://wordpress.org/extend/plugins/hyper-cache/">http://wordpress.org/extend/plugins/hyper-cache/</a></p><p>&#160;</p><p><font color="#ff8040" size="3"><strong>5、</strong></font><a class="external" title="COS-HTML-Cache" href="http://wordpress.org/extend/plugins/cos-html-cache/"><font color="#ff8040" size="3"><strong>COS-HTML-Cache</strong></font></a></p><p>江东童鞋写的，不过我一直没用，所以不好发表评论，国内用的人还是比较多的，推荐试试，直接生成 <strong>html</strong> 哦。</p><p>下载地址：<a class="external" title="COS-HTML-Cache" href="http://wordpress.org/extend/plugins/cos-html-cache/">http://wordpress.org/extend/plugins/cos-html-cache/</a></p><p>&#160;</p><p><font color="#ff8040" size="3"><strong>6、总结</strong></font></p><p>目前<a title="Showfom&#39;s Blog" href="http://zou.lu/">本博客</a>使用的情况是：<strong>WP Super Cache</strong></p><p>其中 <strong>DB Cache</strong> 和 <strong>WP Widget Cache</strong> 可以配合其他几个缓存插件使用，<strong>WP Super Cache</strong>、<strong>Hyper Cache</strong> 还有 <strong>COS-HTML-Cache</strong> 千万别混合使用，不然不只是 <strong>MJJ</strong> 的事情了……</p><p>&#160;</p><p><font color="#ff8040" size="3"><strong>7、申明</strong></font></p><p>对 <strong>php</strong> 我不是很在行，所有插件都是亲自测试体验加上四个眼睛加上 <strong>Firebug </strong>测试出来的结果，具体数据每个人情况不同就不写了，总是效果就是这样，如有异议，欢迎留言探讨，或许不久的将来，会出现高级篇哦。</p><p>&#160;</p><p><font color="#ff8040" size="3"><strong>8、为什么博主的技术类文章总是那么欠揍？</strong></font></p><p>淫荡的人生，需要解释吗？</p><h2  class="related_post_title">相关文章</h2><ul class="related_post"><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/mobilepress-themes-fixed/" title="MobilePress 主题汉化并修改">MobilePress 主题汉化并修改</a> (73)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (258)</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> (118)</li><li><a href="http://zou.lu/optimize-wordpress-themes-html-codes/" title="优化你的 WordPress 之精简全站 HTML 代码（终极篇）">优化你的 WordPress 之精简全站 HTML 代码（终极篇）</a> (90)</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/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/auto-hishslide-wordpress-plugin/" title="Auto HighSlide &#8211; 真正自动增加 WordPress 的 HighSlide 图片效果插件">Auto HighSlide &#8211; 真正自动增加 WordPress 的 HighSlide 图片效果插件</a> (173)</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/05/23. | <a href="http://zou.lu/optimize-wordpress-database-query-middle/">优化你的 WordPress 之减少数据库查询次数（中级篇）</a> | <a href="http://zou.lu/optimize-wordpress-database-query-middle/#comments">30 只留言鸟</a> <br /> Tags： <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="http://zou.lu/tags/wordpress%e6%8f%92%e4%bb%b6/" rel="tag">WordPress插件</a> | <a href="//zou.lu/?p=45">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-database-query-middle/feed/</wfw:commentRss> <slash:comments>30</slash:comments> </item> <item><title>Auto HighSlide - 真正自动增加 WordPress 的 HighSlide 图片效果插件</title><link>http://zou.lu/auto-hishslide-wordpress-plugin/</link> <comments>http://zou.lu/auto-hishslide-wordpress-plugin/#comments</comments> <pubDate>Tue, 12 May 2009 13:20:58 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[Auto HighSlide]]></category> <category><![CDATA[WordPress插件]]></category><guid isPermaLink="false">http://zou.lu/auto-hishslide-wordpress-plugin/</guid> <description><![CDATA[实际上就是 Add HighSlide 的加强版和 HighSlide4WP 的精简加强版，Auto HighSlide 不需要启动 HighSlide4WP 插件的支持，只要启动插件即可，类似于 Lightbox 2 ，但是我在一篇文章中提到，Lightbox 2 启动后占用的 JS 文件大小高达 200KB，而 Auto HighSlide 插件启动后占用的 JS 文件只有 32 KB，一个 CSS 只有 4KB，轻量级的插件呵呵。 插件作者： Showfom（http://zou.lu/） 插件简介： 图片特效，嗯，只增加了图片特效 HighSlide 的  JS ，看清楚只有图片，而且要求是图片必须以超链接形式到原图，而且不用增加多余的代码，插件会自动为你增加，比如： &#60;a href="//showfom.imgbed.com/Gtalk_107FF/image.png"&#62;&#60;img src="//showfom.imgbed.com/Gtalk_107FF/image_thumb.png" width="244" height="95"&#62;&#60;/a&#62; 就那么简单，用 Windows Live Writer 的朋友只要上传一张图片，能自动生成缩略图并且链接到原图，就会有效果；使用 WordPress 后台增加文章的用户可以使用上传图片，然后选择链接到原图，大小设置成中等或者根据自己需要甚至是原图都可，如图： 小提示： 1.只要用后台上传过一张图片，那么，以后上传的任何图片都会保留上一次上传的形式，比如，你设置了链接到原图，并且是中等大小，那么，以后上传的所有图片都会这样，简单吧。另外，通过 WordPress 后台上传一个图片，就会自动增加一个 postid ，所以，我一直推荐直接使用 Windows [...]]]></description> <content:encoded><![CDATA[<p>实际上就是 <a href="http://zou.lu/add-hishslide-wordpress-plugin/">Add HighSlide</a> 的加强版和 <a href="http://wordpress.org/extend/plugins/highslide4wp/">HighSlide4WP</a> 的精简加强版，<a title="Auto HighSlide" href="http://zou.lu/auto-hishslide-wordpress-plugin/">Auto HighSlide</a> 不需要启动 <a href="http://wordpress.org/extend/plugins/highslide4wp/">HighSlide4WP</a> 插件的支持，只要启动插件即可，类似于 <a href="http://wordpress.org/extend/plugins/lightbox-2/">Lightbox 2</a> ，但是我在一篇文章中<a href="http://zou.lu/optimize-wordpress-themes-codes-normal/">提到</a>，<strong>Lightbox 2</strong> 启动后占用的 <strong>JS</strong> 文件大小高达 200KB，而 <strong>Auto HighSlide</strong> 插件启动后占用的 <strong>JS</strong> 文件只有 <strong>32 KB</strong>，一个 <strong>CSS</strong> 只有 <strong>4KB</strong>，轻量级的插件呵呵。</p><p><span id="more-39"></span></p><p><strong>插件作者：</strong></p><p>Showfom（<a href="http://zou.lu/">http://zou.lu/</a>）</p><p><strong>插件简介：</strong></p><p>图片特效，嗯，只增加了图片特效 HighSlide 的  JS ，看清楚只有图片，而且要求是图片必须以超链接形式到原图，而且不用增加多余的代码，插件会自动为你增加，比如：</p><pre>&lt;a href="//showfom.imgbed.com/Gtalk_107FF/image.png"&gt;&lt;img src="//showfom.imgbed.com/Gtalk_107FF/image_thumb.png"
width="244" height="95"&gt;&lt;/a&gt;</pre><p>就那么简单，用 <a href="http://download.live.com/writer"><strong>Windows Live Writer</strong></a> 的朋友只要上传一张图片，能自动生成缩略图并且链接到原图，就会有效果；使用 <strong>WordPress</strong> 后台增加文章的用户可以使用上传图片，然后选择链接到原图，大小设置成中等或者根据自己需要甚至是原图都可，如图：</p><p><a href="//showfom.imgbed.com/AutoHighSlideWordPressHighSlide_12C21/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/AutoHighSlideWordPressHighSlide_12C21/image_thumb.png" border="0" alt="image" width="244" height="182" /></a></p><p>小提示：</p><p>1.只要用后台上传过一张图片，那么，以后上传的任何图片都会保留上一次上传的形式，比如，你设置了链接到原图，并且是中等大小，那么，以后上传的所有图片都会这样，简单吧。另外，通过 <strong>WordPress</strong> 后台上传一个图片，就会自动增加一个 <strong>postid</strong> ，所以，我一直推荐直接使用 <strong>Windows Live Writer</strong> 写博客。</p><p>2.点击图片放大以后还可以用鼠标左键拖动，不信你试试。</p><p><strong>适用版本：</strong></p><p>所有 <strong>WordPress</strong> 版本，在 <strong>Firefox 3.0.*</strong> 和 <strong>IE 6/7/8 正式版</strong> 下测试无错误</p><p><strong>插件预览：</strong></p><p><a href="//showfom.imgbed.com/AutoHighSlideWordPressHighSlide_12C21/Showfom.jpg" 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="Showfom" src="//showfom.imgbed.com/AutoHighSlideWordPressHighSlide_12C21/Showfom_thumb.jpg" border="0" alt="Showfom" width="146" height="118" /></a></p><p>（点击上面这张图片吧，额，这个图片够淫荡吧，和两个美女的 <strong>QQ秀</strong> 合影……）</p><p><strong>安装方法：</strong></p><p>1、将解压以后的 <strong>Auto HighSlide</strong> 目录 （千万别自己改名字） 解压到  <strong>{WordPress 根目录}/wp-content/plugins</strong>/</p><p>2、登录你的 <strong>WordPress</strong> 后台, 到 <strong>Plugins </strong>页面激活插件 <strong>Auto HighSlide</strong></p><p><strong>一些问题：</strong></p><p><span style="color: #0080ff;"><strong>1、本插件和</strong> <strong>Add HighSlide 相同么？</strong></span></p><p>当然不一样了， <strong>Add HighSlide</strong> 只是增加了图片的代码，然后配合 <strong>HighSlide4WP</strong> 插件使用，而 <strong>Auto HighSlide</strong> 精简了 <strong>HighSlide4WP</strong> 的代码，比如评论增加表情等，并且整合了 <strong>Add HighSlide</strong> 的代码，所以推荐使用。</p><p><span style="color: #0080ff;"><strong>2、本插件可以和 Add  HighSlide 、 HighSlide4WP 之类的其他 HighSlide 插件一起使用吗？</strong></span></p><p>你可以同时喝两杯水吗？当然不可以了，不过同时泡两个马子我不反对。</p><p><strong><span style="color: #0080ff;">3、本插件可以自己修改吗？</span></strong></p><p>改吧，没问题哈哈哈，我自己就是参考别人的功能，我也不是很懂 <strong>php</strong> 的，否则就增加个判断功能咯~</p><p><span style="color: #0080ff;"><strong>4、为什么我的博客没有效果？</strong></span></p><p>首先，确保你的主题的 <strong>header.php</strong> 文件包含了 <strong>&lt;?php wp_head(); ?&gt;</strong> ， 其次，确保你的图片是有超级链接形式链接到原图，参考插件简介。</p><p><span style="color: #0080ff;"><strong>5、为什么博主你有篇文章提到可以删除 &lt;?php wp_head();?&gt; 而这个插件却必须使用？</strong></span></p><p>我不喜欢刷牙，但是我能强迫大家都不刷牙吗？据我观察，一些不合格的主题没有 <strong>&lt;?php wp_footer();?&gt;</strong> ，所以我就只能加到 <strong>&lt;?php wp_head(); ?&gt;</strong> 了，而且这段代码直接参考 <a href="http://www.neoease.com/">mg12</a> 制作的 <a href="http://wordpress.org/extend/plugins/highslide4wp/">HighSlide4WP</a> ，很简单的，假如你不想加在头部，可以直接在主题目录的 <strong>footer.php</strong> 增加如下代码：</p><pre>&lt;link rel="stylesheet" href="http://你的博客地址/wp-content/plugins/auto-highslide/highslide/highslide.css" type="text/css" /&gt;
&lt;script type="text/javascript" src="http://你的博客地址/wp-content/plugins/auto-highslide/highslide/highslide-with-html.packed.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
	hs.graphicsDir = "http://你的博客地址/wp-content/plugins/auto-highslide/highslide/graphics/";
	hs.outlineType = "rounded-white";
	hs.outlineWhileAnimating = true;
	hs.showCredits = false;
&lt;/script&gt;</pre><p>然后把 <strong>&lt;?php wp_head(); ?&gt;</strong> 删除吧，或者直接修改插件，把</p><pre>/* Add HighSlide */function highslide_head() { 
  print('&lt;link rel="stylesheet" href="'.get_bloginfo('wpurl').'/wp-content/plugins/auto-highslide/highslide/highslide.css"
 type="text/css" /&gt;&lt;script type="text/javascript" src="'.get_bloginfo('wpurl').'/wp-content/plugins/auto-highslide/highslide/highslide-with-html.packed.js"&gt;
&lt;/script&gt;
&lt;script type="text/javascript"&gt;    hs.graphicsDir = "'.get_bloginfo('wpurl').'/wp-content/plugins/auto-highslide/highslide/graphics/";  
 hs.outlineType = "rounded-white";    hs.outlineWhileAnimating = true;    hs.showCredits = false;&lt;/script&gt;    ');}add_action('wp_head', 'highslide_head');</pre><p>这段删除</p><p>高级用户可以把最后的</p><pre>add_action('wp_head', 'highslide_head');</pre><p>修改为</p><pre>add_action('wp_footer', 'highslide_head');</pre><p>那么，<strong>js</strong> 和 <strong>css</strong> 就会加到 <strong>&lt;?php wp_footer();?&gt;</strong> 里去了，嗯，你可以乱修改，但是得尊重原作者的版权。</p><p><span style="color: #0080ff;"><strong>5、为什么我觉得博主的介绍那么啰嗦？</strong></span></p><p>淫荡的人生，需要解释吗？</p><p><strong>English：</strong></p><p>== Description ==</p><p>1.This plugin automatically add HighSlide Image Effect in your blog and You don't Need To Change Anything!</p><p>2.You don't need to install HighSlide4WP if you only want to use the images effect of HighSlide.</p><p>3.If you install HighSlide4WP, just uninstall it.</p><p>4.If you want to use other effect of HighSlide , please use <a href="http://wordpress.org/extend/plugins/highslide4wp/"><strong>HighSlide4WP</strong></a> with <a href="http://wordpress.org/extend/plugins/add-highslide/"><strong>Add Highslide</strong></a>.</p><p>== Installation ==</p><p>1. Upload `auto-highslide` folder to the `/wp-content/plugins/` directory</p><p>2. Activate the plugin through the 'Plugins' menu in WordPress</p><p><strong>感谢名单 Thanks：</strong></p><p><a href="http://highslide.com/"><strong>HighSlide.Com</strong></a> <a href="http://www.neoease.com/highslide4wp/"><strong>Mg12</strong></a></p><p>====================最重要的========================</p><p><strong>插件下载：</strong></p><p><a title="下载 Auto HighSlide" href="http://wordpress.org/extend/plugins/auto-highslide/"><span style="font-size: large;">点我下载</span></a> <span style="font-size: large;">|</span> <a title="Download Auto HighSlide" href="http://wordpress.org/extend/plugins/auto-highslide/"><span style="font-size: large;">Download</span></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> (73)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (258)</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> (118)</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/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/05/12. | <a href="http://zou.lu/auto-hishslide-wordpress-plugin/">Auto HighSlide - 真正自动增加 WordPress 的 HighSlide 图片效果插件</a> | <a href="http://zou.lu/auto-hishslide-wordpress-plugin/#comments">173 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/auto-highslide/" rel="tag">Auto HighSlide</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=39">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/auto-hishslide-wordpress-plugin/feed/</wfw:commentRss> <slash:comments>173</slash:comments> </item> <item><title>Pretty Link 又一款WordPress短网址插件</title><link>http://zou.lu/pretty-link/</link> <comments>http://zou.lu/pretty-link/#comments</comments> <pubDate>Thu, 23 Apr 2009 09:51:30 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[Pretty Link]]></category> <category><![CDATA[WordPress插件]]></category> <category><![CDATA[短网址]]></category><guid isPermaLink="false">http://zou.lu/pretty-link/</guid> <description><![CDATA[今天才看到的，和上次提到过的 WordPress ShortUrl Plugin 类似，更酷的是，这款插件可以自定义URL，当然，前提是不能和已经存在的或者已经在使用的 %postname% 相同，嘿嘿，这款插件名字叫做 Pretty Link ，嗯，作者介绍得很详细。 感觉作者有点王婆卖瓜的味道，还写了一篇日志：《不要使用TinyURL，用WordPress创建自己的短网址网站》，嗯，这款插件的独到之处， WordPress ShortUrl Plugin 只能做一些简单的转向，而且URL是数字的，而 Pretty Link 不仅可以做到这些，还能在后台查看统计、导出数据等等，呵呵，确实不错。 在我感觉里，其实 WP-DownloadManager 之类的下载插件也可以做到，至于大家喜欢哪种形式的，就是青菜萝卜各有所爱了。 作者介绍：http://blairwilliams.com/pretty-link/ 插件下载：http://wordpress.org/extend/plugins/pretty-link/ 演示： http://blairwilliams.com/zq0 http://blairwilliams.com/aweber 嗯，确实不错，有兴趣的同学自己去试试吧，感觉我是没什么必要用这个插件了，嘿嘿。用独立的源程序就OK~ 相关文章AA.CX 短网址 WordPress 插件 (105)使用 Yourls 强化你的短网址系统 (86)MobilePress 主题汉化并修改 (73)WordPress 评论群发器？操你大爷的！ (195)WordPress 显示留言者信息插件 &#8211; Comment Info Detector (258)uLShort &#8211; 免费开源功能强大的短网址程序 (89)千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件 (135)WordPress 精简版评论文明用语插件 (118)我使用的 [...]]]></description> <content:encoded><![CDATA[<p>今天才看到的，和上次提到过的 <a href="http://wordpress.org/extend/plugins/short-url-plugin/" target="_blank">WordPress ShortUrl Plugin</a> 类似，更酷的是，这款插件可以自定义URL，当然，前提是不能和已经存在的或者已经在使用的 %postname% 相同，嘿嘿，这款插件名字叫做 Pretty Link ，嗯，作者介绍得很详细。</p><p><span id="more-26"></span></p><p>感觉作者有点王婆卖瓜的味道，还写了一篇日志：<a title="Don’t Use TinyURL - Create and Track Links from your WordPress Website" href="http://blairwilliams.com/dont-use-tinyurl-just-use-your-wordpress-blog/" target="_blank">《不要使用TinyURL，用WordPress创建自己的短网址网站》</a>，嗯，这款插件的独到之处， <a href="http://wordpress.org/extend/plugins/short-url-plugin/" target="_blank">WordPress ShortUrl Plugin</a> 只能做一些简单的转向，而且URL是数字的，而 Pretty Link 不仅可以做到这些，还能在后台查看统计、导出数据等等，呵呵，确实不错。</p><p>在我感觉里，其实 <a href="http://wordpress.org/extend/plugins/wp-downloadmanager/" target="_blank">WP-DownloadManager</a> 之类的下载插件也可以做到，至于大家喜欢哪种形式的，就是青菜萝卜各有所爱了。</p><p>作者介绍：<a title="http://blairwilliams.com/pretty-link/" href="http://blairwilliams.com/pretty-link/">http://blairwilliams.com/pretty-link/</a></p><p>插件下载：<a title="http://wordpress.org/extend/plugins/pretty-link/" href="http://wordpress.org/extend/plugins/pretty-link/">http://wordpress.org/extend/plugins/pretty-link/</a></p><p>演示：</p><p><a href="http://blairwilliams.com/zq0">http://blairwilliams.com/zq0</a></p><p><a href="http://blairwilliams.com/aweber">http://blairwilliams.com/aweber</a></p><p>嗯，确实不错，有兴趣的同学自己去试试吧，感觉我是没什么必要用这个插件了，嘿嘿。用独立的源程序就OK~</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> (105)</li><li><a href="http://zou.lu/yourls/" title="使用 Yourls 强化你的短网址系统">使用 Yourls 强化你的短网址系统</a> (86)</li><li><a href="http://zou.lu/mobilepress-themes-fixed/" title="MobilePress 主题汉化并修改">MobilePress 主题汉化并修改</a> (73)</li><li><a href="http://zou.lu/wordpress-spam-comments-sucks/" title="WordPress 评论群发器？操你大爷的！">WordPress 评论群发器？操你大爷的！</a> (195)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (258)</li><li><a href="http://zou.lu/ulshort/" title="uLShort &#8211; 免费开源功能强大的短网址程序">uLShort &#8211; 免费开源功能强大的短网址程序</a> (89)</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> (118)</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></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/04/23. | <a href="http://zou.lu/pretty-link/">Pretty Link 又一款WordPress短网址插件</a> | <a href="http://zou.lu/pretty-link/#comments">26 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/pretty-link/" rel="tag">Pretty Link</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=26">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/pretty-link/feed/</wfw:commentRss> <slash:comments>26</slash:comments> </item> <item><title>All in One SEO 在 Windows Live Writer 下的插件</title><link>http://zou.lu/all-in-one-seo-for-windows-live-writer/</link> <comments>http://zou.lu/all-in-one-seo-for-windows-live-writer/#comments</comments> <pubDate>Mon, 06 Apr 2009 14:57:44 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[All in One SEO]]></category> <category><![CDATA[Windows Live Writer]]></category> <category><![CDATA[WordPress插件]]></category><guid isPermaLink="false">http://zou.lu/all-in-one-seo%e5%9c%a8windows-live-writer%e4%b8%8b%e7%9a%84%e6%8f%92%e4%bb%b6/</guid> <description><![CDATA[以前习惯了使用 All in One SEO 和 Windows Live Writer，后来懒得优化一个新站的时候，也一直用 All in One SEO 插件，所以总是想找一个能在 Windows Live Writer 写日志的时候增加 All in One SEO 的信息的WLW插件，功夫不负有心人，终于被我找到了，All In One SEO Pack Bridge for WLW Plugin是一个完美支持 All in One SEO 和 Windows Live Write r公用的插件。 安装方法： 1、下载WordPress的插件，点这里下载，然后上传后台激活 2、下载Windows Live Writer的插件，点这里下载，然后把SeoWLWBridge.dll放到C:\Program Files\Windows Live\Writer\Plugins下 使用方法： 在用Windows Live Writer发表日志的时候，右边的插入选项会出现一个Add SEO Information，点击（如图） 就会出现输入All in [...]]]></description> <content:encoded><![CDATA[<p>以前习惯了使用 All in One SEO 和 Windows Live Writer，后来懒得优化一个新站的时候，也一直用 All in One SEO 插件，所以总是想找一个能在 Windows Live Writer 写日志的时候增加 All in One SEO 的信息的WLW插件，功夫不负有心人，终于被我找到了，<a href="http://techie-buzz.com/wordpress-plugins/all-in-one-seo-wlw-bridge-plugin.html">All In One SEO Pack Bridge for WLW Plugin</a>是一个完美支持 All in One SEO 和 Windows Live Write r公用的插件。<br /> <span id="more-18"></span></p><p>安装方法：</p><p>1、下载WordPress的插件，点<a href="http://allinoneseopackwindowslivewriterbridge.googlecode.com/files/all-in-one-seo-wlw-bridge.zip">这里</a>下载，然后上传后台激活</p><p>2、下载Windows Live Writer的插件，点<a href="http://allinoneseopackwindowslivewriterbridge.googlecode.com/files/SEOWLWBridgePlugin.zip">这里</a>下载，然后把SeoWLWBridge.dll放到C:\Program Files\Windows Live\Writer\Plugins下</p><p>使用方法：</p><p>在用Windows Live Writer发表日志的时候，右边的插入选项会出现一个Add SEO Information，点击（如图）</p><p><a href="//showfom.imgbed.com/AllinOneSEOWindowsLiveWriter_142C8/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="image" src="//showfom.imgbed.com/AllinOneSEOWindowsLiveWriter_142C8/image_thumb.png" border="0" alt="image" width="150" height="173" /></a></p><p>就会出现输入All in One SEO的选项，然后，就Enjoy it吧！</p><p><a href="//showfom.imgbed.com/AllinOneSEOWindowsLiveWriter_142C8/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="image" src="//showfom.imgbed.com/AllinOneSEOWindowsLiveWriter_142C8/image_thumb_3.png" border="0" alt="image" width="244" height="225" /></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> (73)</li><li><a href="http://zou.lu/aacx-wordpress-plugin/" title="AA.CX 短网址 WordPress 插件">AA.CX 短网址 WordPress 插件</a> (105)</li><li><a href="http://zou.lu/wordpress-spam-comments-sucks/" title="WordPress 评论群发器？操你大爷的！">WordPress 评论群发器？操你大爷的！</a> (195)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (258)</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> (118)</li><li><a href="http://zou.lu/yourls/" title="使用 Yourls 强化你的短网址系统">使用 Yourls 强化你的短网址系统</a> (86)</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/04/06. | <a href="http://zou.lu/all-in-one-seo-for-windows-live-writer/">All in One SEO 在 Windows Live Writer 下的插件</a> | <a href="http://zou.lu/all-in-one-seo-for-windows-live-writer/#comments">18 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/all-in-one-seo/" rel="tag">All in One SEO</a>, <a href="http://zou.lu/tags/windows-live-writer/" rel="tag">Windows Live Writer</a>, <a href="http://zou.lu/tags/wordpress%e6%8f%92%e4%bb%b6/" rel="tag">WordPress插件</a> | <a href="//zou.lu/?p=18">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/all-in-one-seo-for-windows-live-writer/feed/</wfw:commentRss> <slash:comments>18</slash:comments> </item> <item><title>接下来的计划</title><link>http://zou.lu/planning-20090406/</link> <comments>http://zou.lu/planning-20090406/#comments</comments> <pubDate>Mon, 06 Apr 2009 08:39:19 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[Blogger]]></category> <category><![CDATA[WordPress插件]]></category> <category><![CDATA[博客]]></category><guid isPermaLink="false">http://zou.lu/planning-20090406/</guid> <description><![CDATA[接下来的计划就是每天都写点博客，不定时，不定量，有可能像今天一下一口气好多篇，也可能每天只有一篇，帕兰教育我，只有坚持，唯有坚持，博客才是胜利！ 今天真是人品爆发，在 Betty 的这个文章的指导下，终于把三个插件全部上传到官网： 1、Add HighSlide http://wordpress.org/extend/plugins/add-highslide/ 2、Sweet Titles http://wordpress.org/extend/plugins/sweet-titles/ 3、Nice Titles http://wordpress.org/extend/plugins/nice-titles/ 看来人品有时候真是太有意思了，哈哈哈，有闲心的朋友来下载我的几个小插件吧，一点技术含量都没有的那种…… 相关文章千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件 (135)如何获得更多的访客评论留言数 (252)MobilePress 主题汉化并修改 (73)WordPress 显示留言者信息插件 &#8211; Comment Info Detector (258)我的博客理念 (214)WordPress 精简版评论文明用语插件 (118)8月6号灵异事件 (114)We Love WP &#8211; 稀奇古怪的网站也和我们同一个内核 (67)本世纪最伟大的博客诞生 (119)我使用的 WordPress 插件 (90) © from 走点路博客, 2009/04/06. &#124; 接下来的计划 &#124; 12 只留言鸟 Tags： Blogger, WordPress, WordPress插件, [...]]]></description> <content:encoded><![CDATA[<p>接下来的计划就是每天都写点博客，不定时，不定量，有可能像今天一下一口气好多篇，也可能每天只有一篇，帕兰教育我，只有坚持，唯有坚持，博客才是胜利！<br /> <span id="more-17"></span></p><p>今天真是人品爆发，在 Betty 的<a href="http://myfairland.net/how-to-submit-a-plugin-to-wordpress-org/">这个文章</a>的指导下，终于把三个插件全部上传到官网：</p><p>1、<a href="http://zou.lu/add-hishslide-wordpress-plugin/">Add HighSlide</a></p><p><a title="http://wordpress.org/extend/plugins/add-highslide/" href="http://wordpress.org/extend/plugins/add-highslide/">http://wordpress.org/extend/plugins/add-highslide/</a></p><p>2、<a href="http://wordpress.org/extend/plugins/sweet-titles/">Sweet Titles</a></p><p><a title="http://wordpress.org/extend/plugins/sweet-titles/" href="http://wordpress.org/extend/plugins/sweet-titles/">http://wordpress.org/extend/plugins/sweet-titles/</a></p><p>3、<a href="http://zou.lu/nice-titles-wordpress-plugin/">Nice Titles</a></p><p><a title="http://wordpress.org/extend/plugins/nice-titles/" href="http://wordpress.org/extend/plugins/nice-titles/">http://wordpress.org/extend/plugins/nice-titles/</a></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> (252)</li><li><a href="http://zou.lu/mobilepress-themes-fixed/" title="MobilePress 主题汉化并修改">MobilePress 主题汉化并修改</a> (73)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (258)</li><li><a href="http://zou.lu/my-blog-idea/" title="我的博客理念">我的博客理念</a> (214)</li><li><a href="http://zou.lu/comments-text-replace/" title="WordPress 精简版评论文明用语插件">WordPress 精简版评论文明用语插件</a> (118)</li><li><a href="http://zou.lu/4-occult-events/" title="8月6号灵异事件">8月6号灵异事件</a> (114)</li><li><a href="http://zou.lu/we-love-wp/" title="We Love WP &#8211; 稀奇古怪的网站也和我们同一个内核">We Love WP &#8211; 稀奇古怪的网站也和我们同一个内核</a> (67)</li><li><a href="http://zou.lu/the-greatest-blog/" title="本世纪最伟大的博客诞生">本世纪最伟大的博客诞生</a> (119)</li><li><a href="http://zou.lu/wordpress-plugins-i-used/" title="我使用的 WordPress 插件">我使用的 WordPress 插件</a> (90)</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/04/06. | <a href="http://zou.lu/planning-20090406/">接下来的计划</a> | <a href="http://zou.lu/planning-20090406/#comments">12 只留言鸟</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/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="//zou.lu/?p=17">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/planning-20090406/feed/</wfw:commentRss> <slash:comments>12</slash:comments> </item> <item><title>Nice Titles - 第二款链接增强效果WordPress插件</title><link>http://zou.lu/nice-titles-wordpress-plugin/</link> <comments>http://zou.lu/nice-titles-wordpress-plugin/#comments</comments> <pubDate>Mon, 06 Apr 2009 03:22:18 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[Nice Titles]]></category> <category><![CDATA[WordPress插件]]></category><guid isPermaLink="false">http://zou.lu/nice-titles-wordpress-plugin/</guid> <description><![CDATA[嗯，原来Sweet Titles的创意来自Nice Titles，那么我就再做一个，反正是类似的，修改一下代码就是。 插件作者： Showfom（http://zou.lu/） 插件介绍： 增加Nice Titles效果，背景是一个透明的png，也不错的说，可以自己试试，原js和css来自kryogenix.org，老外就是好 适用版本： 所有WordPress，在Firefox 3.0.8和IE 8正式版下测试正常 效果演示： 插件下载： 点我下载 &#124; Download 安装方法： 1、下载插件，下载地址http://zou.lu/nice-titles-wordpress-plugin/ 2、解压后把nice-titles文件夹放到{WordPress 根目录}/wp-content/plugins/ 3、登陆到你的WordPress后台，激活插件 相关文章MobilePress 主题汉化并修改 (73)WordPress 显示留言者信息插件 &#8211; Comment Info Detector (258)千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件 (135)WordPress 精简版评论文明用语插件 (118)我使用的 WordPress 插件 (90)升级到 WordPress 2.8 以后要注意的事项 (61)优化你的 WordPress 之减少数据库查询次数（中级篇补充之 Object Cache） (43)优化你的 WordPress 之减少数据库查询次数（中级篇） (30)Auto HighSlide &#8211; [...]]]></description> <content:encoded><![CDATA[<p>嗯，原来<a href="http://zou.lu/sweet-titles-wordpress-plugin/">Sweet Titles</a>的创意来自Nice Titles，那么我就再做一个，反正是类似的，修改一下代码就是。<br /> <span id="more-14"></span></p><h2>插件作者：</h2><p>Showfom（<a title="Showfom's Blog" href="http://zou.lu/">http://zou.lu/</a>）</p><h2>插件介绍：</h2><p>增加Nice Titles效果，背景是一个透明的png，也不错的说，可以自己试试，原js和css来自<a href="http://www.kryogenix.org/code/browser/nicetitle/">kryogenix.org</a>，老外就是好</p><h2>适用版本：</h2><p>所有WordPress，在Firefox 3.0.8和IE 8正式版下测试正常</p><h2>效果演示：</h2><p><a href="//showfom.imgbed.com/NiceTitlesWordPress_9FCE/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/NiceTitlesWordPress_9FCE/image_thumb.png" border="0" alt="image" width="244" height="52" /></a></p><p><a href="//showfom.imgbed.com/NiceTitlesWordPress_9FCE/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/NiceTitlesWordPress_9FCE/image_thumb_3.png" border="0" alt="image" width="244" height="64" /></a></p><h2>插件下载：</h2><p><a title="点我下载" href="http://wordpress.org/extend/plugins/nice-titles/">点我下载</a> | <a title="Download" href="http://wordpress.org/extend/plugins/nice-titles/">Download</a></p><h2>安装方法：</h2><p>1、下载插件，下载地址<a href="http://zou.lu/nice-titles-wordpress-plugin/">http://zou.lu/nice-titles-wordpress-plugin/</a></p><p>2、解压后把nice-titles文件夹放到{<a href="http://zou.lu/tags/wordpress/">WordPress</a> 根目录}/wp-content/plugins/</p><p>3、登陆到你的<a href="http://zou.lu/tags/wordpress/">WordPress</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> (73)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (258)</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> (118)</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> (173)</li><li><a href="http://zou.lu/planning-20090406/" title="接下来的计划">接下来的计划</a> (12)</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/04/06. | <a href="http://zou.lu/nice-titles-wordpress-plugin/">Nice Titles - 第二款链接增强效果WordPress插件</a> | <a href="http://zou.lu/nice-titles-wordpress-plugin/#comments">28 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/nice-titles/" rel="tag">Nice Titles</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=14">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/nice-titles-wordpress-plugin/feed/</wfw:commentRss> <slash:comments>28</slash:comments> </item> <item><title>Sweet Titles - WordPress超链接增强插件</title><link>http://zou.lu/sweet-titles-wordpress-plugin/</link> <comments>http://zou.lu/sweet-titles-wordpress-plugin/#comments</comments> <pubDate>Mon, 06 Apr 2009 02:47:01 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[Sweet Titles]]></category> <category><![CDATA[WordPress插件]]></category><guid isPermaLink="false">http://zou.lu/sweet-titles-wordpress-plugin/</guid> <description><![CDATA[鼓捣了半天，终于弄好了，原来一个js一定要放在另一个js上面，郁闷，这个是本人的第二个插件，第一个是Add Highslide，不过暂时我不用了，现在用LightBox 2代替了要加载N多JS的HighSlide，嗯，今天研究了一番，参考了一些插件，知道了怎么在wp_head函数里增加自己的东西，然后，就做了这个Sweet Titles，搜索了一下WordPress.org，还没有重名的，只有一个Nice Tooltips有类似功能，不过好多年没更新了呵呵。 关于本插件要说明的事情：两个js和一个css原创为Dustin Diaz，我修改了加载的时间，10毫秒就显示（相当于鼠标移动到链接就会显示），增加了宽度，比较适合中文博客。 插件作者： Showfom（http://zou.lu/） 插件简介： 链接特效，只要鼠标移动到超级链接的地方你就知道效果了，详情可以看本站的演示效果 适用版本： 所有WordPress，在Firefox 3.0.8和IE 8正式版下测试无错误 插件预览： 插件下载： 点我下载 &#124; Download 安装方法： 1、下载插件，下载地址：http://zou.lu/sweet-titles-wordpress-plugin/ 2、解压后把sweet-titles文件夹放到 {WordPress 根目录}/wp-content/plugins/ 3、登陆到你的WordPress后台，激活插件 相关文章MobilePress 主题汉化并修改 (73)WordPress 显示留言者信息插件 &#8211; Comment Info Detector (258)千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件 (135)WordPress 精简版评论文明用语插件 (118)我使用的 WordPress 插件 (90)升级到 WordPress 2.8 以后要注意的事项 (61)优化你的 WordPress 之减少数据库查询次数（中级篇补充之 Object Cache） (43)优化你的 WordPress [...]]]></description> <content:encoded><![CDATA[<p>鼓捣了半天，终于弄好了，原来一个js一定要放在另一个js上面，郁闷，这个是本人的第二个插件，第一个是Add Highslide，不过暂时我不用了，现在用LightBox 2代替了要加载N多JS的HighSlide，嗯，今天研究了一番，参考了一些插件，知道了怎么在wp_head函数里增加自己的东西，然后，就做了这个Sweet Titles，搜索了一下WordPress.org，还没有重名的，只有一个<a href="http://wordpress.org/extend/plugins/bubble-tooltip/" target="_blank">Nice Tooltips</a>有类似功能，不过好多年没更新了呵呵。<br /> <span id="more-12"></span></p><p>关于本插件要说明的事情：两个js和一个css原创为<a href="http://www.dustindiaz.com" target="_blank">Dustin Diaz</a>，我修改了加载的时间，10毫秒就显示（相当于鼠标移动到链接就会显示），增加了宽度，比较适合中文博客。</p><h2>插件作者：</h2><p>Showfom（<a title="Showfom's Blog" href="http://zou.lu/">http://zou.lu/</a>）</p><h2>插件简介：</h2><p>链接特效，只要鼠标移动到超级链接的地方你就知道效果了，详情可以看本站的<a href="http://zou.lu/" target="_blank">演示效果</a></p><h2>适用版本：</h2><p>所有WordPress，在Firefox 3.0.8和IE 8正式版下测试无错误</p><h2>插件预览：</h2><p><a href="//showfom.imgbed.com/SweetTitlesWordPress_9779/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/SweetTitlesWordPress_9779/image_thumb.png" border="0" alt="image" width="244" height="61" /></a></p><p><a href="//showfom.imgbed.com/SweetTitlesWordPress_9779/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/SweetTitlesWordPress_9779/image_thumb_3.png" border="0" alt="image" width="244" height="67" /></a></p><p><a href="//showfom.imgbed.com/SweetTitlesWordPress_9779/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/SweetTitlesWordPress_9779/image_thumb_4.png" border="0" alt="image" width="244" height="72" /></a></p><h2>插件下载：</h2><p><a title="点我下载" href="http://wordpress.org/extend/plugins/sweet-titles/">点我下载</a> | <a title="Download" href="http://wordpress.org/extend/plugins/sweet-titles/">Download</a></p><h2>安装方法：</h2><p>1、下载插件，下载地址：<a title="http://zou.lu/sweet-titles-wordpress-plugin/" href="http://zou.lu/sweet-titles-wordpress-plugin/">http://zou.lu/sweet-titles-wordpress-plugin/</a></p><p>2、解压后把sweet-titles文件夹放到 {WordPress 根目录}/wp-content/plugins/</p><p>3、登陆到你的WordPress后台，激活插件</p><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://zou.lu/mobilepress-themes-fixed/" title="MobilePress 主题汉化并修改">MobilePress 主题汉化并修改</a> (73)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (258)</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> (118)</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> (173)</li><li><a href="http://zou.lu/planning-20090406/" title="接下来的计划">接下来的计划</a> (12)</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/04/06. | <a href="http://zou.lu/sweet-titles-wordpress-plugin/">Sweet Titles - WordPress超链接增强插件</a> | <a href="http://zou.lu/sweet-titles-wordpress-plugin/#comments">38 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/sweet-titles/" rel="tag">Sweet Titles</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=12">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/sweet-titles-wordpress-plugin/feed/</wfw:commentRss> <slash:comments>38</slash:comments> </item> <item><title>Add Highslide - 自动增加 HighSlide 图片代码的 WordPress 插件</title><link>http://zou.lu/add-hishslide-wordpress-plugin/</link> <comments>http://zou.lu/add-hishslide-wordpress-plugin/#comments</comments> <pubDate>Sun, 05 Apr 2009 03:37:00 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[Add HighSlide]]></category> <category><![CDATA[WordPress插件]]></category><guid isPermaLink="false">http://zou.lu/add-hishslide-wordpress-plugin/</guid> <description><![CDATA[创意来自Mdkart的Add Lightbox，尊重原作者的版权。 效果： 插件作者： Showfom （http://zou.lu/） 插件简介： 这个插件帮助你自动转换HighSlide代码，不必每次都去后台加，方便使用离线博客发布博文的朋友，上传图片并且有超链接到大图的时候，前台会自动加上 class=”highslide-image” onclick=”return hs.expand(this);” 到&#60;img&#62;里 适用版本： WordPress 2.5 或以上 安装方法： 1、下载并激活HighSlide4WP插件，下载地址：http://www.neoease.com/highslide4wp/ 2.、将压缩包解压到 {WordPress 根目录}/wp-content/plugins/ 3.、登录你的 WordPress 后台, 到 Plugins 页面激活插件 Add Highslide 插件更新： 在mg12的提醒下，删除了一个不必要的代码（实际上是Add Lightbox残留的，别说偶抄袭嘛） 插件下载： 点我下载 &#124; Download 相关文章MobilePress 主题汉化并修改 (73)WordPress 显示留言者信息插件 &#8211; Comment Info Detector (258)千里之堤溃于蚁穴 &#8211; 慎用 WordPress 插件 (135)WordPress 精简版评论文明用语插件 (118)我使用的 WordPress 插件 (90)升级到 [...]]]></description> <content:encoded><![CDATA[<p>创意来自Mdkart的Add Lightbox，尊重原作者的版权。<br /> <span id="more-13"></span></p><p>效果：</p><p><a href="//showfom.imgbed.com/AddHighslideHighSlideWordPress_9A93/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/AddHighslideHighSlideWordPress_9A93/image_thumb.png" border="0" alt="image" width="244" height="169" /></a></p><h2>插件作者：</h2><p>Showfom （<a title="Showfom's Blog" href="http://zou.lu/">http://zou.lu/</a>）</p><h2>插件简介：</h2><p>这个插件帮助你自动转换HighSlide代码，不必每次都去后台加，方便使用离线博客发布博文的朋友，上传图片并且有超链接到大图的时候，前台会自动加上  class=”highslide-image” onclick=”return hs.expand(this);”  到&lt;img&gt;里</p><h2>适用版本：</h2><p>WordPress 2.5 或以上</p><h2>安装方法：</h2><p>1、下载并激活HighSlide4WP插件，下载地址：<a href="http://www.neoease.com/highslide4wp/">http://www.neoease.com/highslide4wp/</a></p><p>2.、将压缩包解压到 {WordPress 根目录}/wp-content/plugins/</p><p>3.、登录你的 WordPress 后台, 到 Plugins 页面激活插件 Add Highslide</p><h2>插件更新：</h2><p>在mg12的提醒下，删除了一个不必要的代码（实际上是Add Lightbox残留的，别说偶抄袭嘛）</p><h2>插件下载：</h2><p><a href="http://wordpress.org/extend/plugins/add-highslide/">点我下载</a> | <a href="http://wordpress.org/extend/plugins/add-highslide/">Download</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> (73)</li><li><a href="http://zou.lu/comment-info-detector/" title="WordPress 显示留言者信息插件 &#8211; Comment Info Detector">WordPress 显示留言者信息插件 &#8211; Comment Info Detector</a> (258)</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> (118)</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> (173)</li><li><a href="http://zou.lu/planning-20090406/" title="接下来的计划">接下来的计划</a> (12)</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/04/05. | <a href="http://zou.lu/add-hishslide-wordpress-plugin/">Add Highslide - 自动增加 HighSlide 图片代码的 WordPress 插件</a> | <a href="http://zou.lu/add-hishslide-wordpress-plugin/#comments">18 只留言鸟</a> <br /> Tags： <a href="http://zou.lu/tags/add-highslide/" rel="tag">Add HighSlide</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=13">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/add-hishslide-wordpress-plugin/feed/</wfw:commentRss> <slash:comments>18</slash:comments> </item> </channel> </rss>