<?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>牧狼羊博客 [这里有我的故事] -- YuJan.com &#187; 博客</title>
	<atom:link href="http://yujan.com/html/tag/%e5%8d%9a%e5%ae%a2/feed" rel="self" type="application/rss+xml" />
	<link>http://yujan.com</link>
	<description>这里有我的故事</description>
	<lastBuildDate>Sun, 16 May 2010 15:26:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		
<!-- Start Of Script Generated By WP-PostViews Plus -->
<script type='text/javascript' src='http://yujan.com/wp-includes/js/jquery/jquery.js?ver=1.3.2'></script>
<script type="text/javascript">
/* <![CDATA[ */
/* ]]> */
</script>
<!-- End Of Script Generated By WP-PostViews Plus -->
	<item>
		<title>我使用的所有WordPress插件</title>
		<link>http://yujan.com/html/all-plugins-for-wordpress-i-m-using.html</link>
		<comments>http://yujan.com/html/all-plugins-for-wordpress-i-m-using.html#comments</comments>
		<pubDate>Fri, 03 Apr 2009 17:29:52 +0000</pubDate>
		<dc:creator>牧狼羊</dc:creator>
				<category><![CDATA[博客讨论 ‖ Blog]]></category>
		<category><![CDATA[RSS]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[博客]]></category>
		<category><![CDATA[手机]]></category>
		<category><![CDATA[插件]]></category>

		<guid isPermaLink="false">http://yujan.com/?p=233</guid>
		<description><![CDATA[经常有朋友对我的模板感兴趣，告知他们下载地址后，他们安装上又发现跟我的界面相差很多，于是又会问我每一个模块是怎么实现的。其实已经很久没有折腾WordPress了，现在能保持半个月更... ]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" src="http://yujan.com/wp-content/uploads/WordPress_archives.jpg" alt="" width="400" height="300" />经常有朋友对我的模板感兴趣，告知他们<a href="http://code.google.com/p/the-morning-after/" target="_blank">下载地址</a>后，他们安装上又发现跟我的界面相差很多，于是又会问我每一个模块是怎么实现的。其实已经很久没有折腾<a href="http://yujan.com/topics/wp" target="_blank">WordPress</a>了，现在能保持半个月更新一次已经很不错。关于本站使用的插件曾经在<a href="http://yujan.com/about" target="_blank">About</a>页面有罗列，后来因为插件太多导致该页面过长，于是便又删除了该列表。现在单开一篇日志记录本站使用的所有插件，需要的朋友可以自己查看自己折腾——修改模板是件挺快乐的事情。有问题的话可以在博客<a href="http://yujan.com/guestbook" target="_blank">留言</a>或者直接加入我们的<strong>WordPress建站交流QQ群：1218547</strong>，里面的讨论气氛还是非常不错的。</p>
<p>其实我安装过挺多插件，同时在使用的插件个数一直保持在两位数，当然了，也不会超出20个。有的插件装了又删，这都是随着对功能的需求变化而变化的。下面罗列的都是我目前正在使用的插件，基本上是稳定使用的插件了。</p>
<p>1、<a href="http://yanfeng.org/blog/wordpress/kit" target="_blank">中文 WordPress 工具箱</a>：挺不错的插件，不过其强大的功能我倒是没法全部利用上，只用了Random posts，呵呵，有点浪费这个插件。</p>
<p>2、<a href="http://akismet.com/" target="_blank">Akismet</a>：这个就不用介绍咯，WP自带的插件，用着还是很不错的，目前已经已经为我拦截了 1,550 条垃圾评论。曾经有一段时间实在被每天疯涨的spam烦透了，就试用过<a href="http://sw-guide.de/wordpress/plugins/math-comment-spam-protection/">Math Comment Spam Protection</a>这款插件，也就是常见的算术评论插件。可惜后来发现这款插件不能识别全角字符，经常有朋友用全角字符输入算术结果而造成评论失败，可怕的是许多人意识不到这个问题，就以为我的博客评论有问题，所以只好用回Akismet了。</p>
<p>3、<a href="http://www.viper007bond.com/wordpress-plugins/clean-archives-reloaded/" target="_blank">Clean Archives Reloaded</a>：可以月份为单位生成一个博客归档页面，带JS滑动效果，效果见本站<a href="http://yujan.com/sitemap">SiteMap</a>。</p>
<p>4、<a href="http://www.storyday.com/html/y2007/1213_cos-html-cache-2cos-html-cache-2.html" target="_blank">cos-html-cache</a>：非常出名的WP静态化插件，个人用着感觉很好，感兴趣的朋友可以安装尝试。不过这款软件用起来有点麻烦，而且会有一些问题需要你去解决，建议慎用。</p>
<p>5、<a href="http://www.coffee2code.com/wp-plugins/" target="_blank">Customizable Comment Listings</a>：本主题自带插件，侧栏Recent Comments就是通过这个插件实现的。其实这个功能跟中文WP工具箱是重复的，但这主题离不开这插件，没办法。</p>
<p>6、<a href="http://www.arnebrachhold.de/redir/sitemap-home/" target="_blank">Google XML Sitemaps</a>：这个也不用怎么介绍了，可生成适合Google爬虫浏览的XML文件，对GG收录非常有帮助的，推荐安装。效果可见本站<a href="http://yujan.com/sitemap.xml" target="_blank">XML Sitemap</a>。</p>
<p>7、<a href="http://fredfred.net/skriker/index.php/iimage-browser" target="_blank">IImage Browser</a>：一个图片上传插件，可以方便的上传图片、生成缩略图、生成图片插入代码，支持Lightbox等一些特殊图片效果的代码自动生成，还不错。</p>
<p>8、<a href="http://www.thinkagain.cn/archives/989.html" target="_blank">Mail To Commenter</a>：<a href="http://www.thinkagain.cn/">ThinkAgain</a>大侠写的一款插件，可以把回复的评论内容自动发送到该作者的邮箱。这个功能我以前也是用偶爱偶家的那个wordpress-thread-comment插件的，不过自从换了这款主题之后就换了。不过因为那款插件不好，而是功能太强大，我完全用不到。</p>
<p>9、<a href="http://blogwaffe.com/2006/10/04/421/" target="_blank">No Self Pings</a>：这个插件比较小巧，防止自己ping自己的，不懂什么叫WP的ping的朋友，自己Google一下吧，哈哈。</p>
<p>10、<a href="http://www.ilfilosofo.com/blog/wp-db-backup" target="_blank">WordPress Database Backup</a>：自动备份WP数据的一款插件，支持将备份文件发送到指定邮箱，比较方便。</p>
<p>11、<a href="http://fairyfish.net/2007/09/12/wordpress-23-related-posts-plugin/" target="_blank">WordPress Related Posts</a>：可以在每篇日志下面生成相关日志，一定程度上增加了博客的粘性，效果见本日志末尾：您可能还对这些感兴趣。</p>
<p>12、<a href="http://lesterchan.net/portfolio/programming/php/" target="_blank">WP-DownloadManager</a>：为WP增加了下载功能，效果见本站下载界面<a href="http://yujan.com/download">Download</a>。</p>
<p>13、<a href="http://fantasyworld.idv.tw/programs/wp_postviews_plus/" target="_blank">WP-PostViews Plus</a>：统计日志点击次数的插件，功能还是很强大的，你在我站内见到的“xxxx Views”，都是这款插件的功劳。</p>
<p>14、<a href="http://www.tanggaowei.com/2008/01/04/7.html" target="_blank">WP-T-Wap</a>：可自动生成WP适合适合手机阅读的Wap界面，同时支持通过手机对博客进行管理以及发表日志。由于我常用手机管理博客，这款插件还是很适合我的。曾经写过两篇<a href="http://yujan.com/index.php?s=%E6%89%8B%E6%9C%BA%E7%AE%A1%E7%90%86%E5%8D%9A%E5%AE%A2" target="_blank">通过手机管理WP</a>的日志，有兴趣的朋友可以参考一下。对了，效果见本站Wap页面：<a href="http://wap.yujan.com">http://wap.yujan.com</a>，建议用手机浏览。</p>
<p>15、<a href="http://www.sediyer.com/internet/statistics-wp-23-plug-in-version-41-update/" target="_blank">WP 2.3 statistics</a>：一款博客统计插件，可以统计站内的文章数、评论数、标签数、总字数等数据。</p>
<p>16、<a href="http://blog.2i2j.com" target="_blank">wp slug translate</a>：偶爱偶家写的一款小插件，他个人认为这是很无聊的一款插件，也没有持续升级它。但我的站内因为用了静态化插件，固定链接中含有postname，所以这款自动翻译中文标题为英文的插件还是非常实用的。</p>
<p>17、<a href="http://blog.2i2j.com/plugins/wp-paged-comments" target="_blank">WP Paged Comments</a>：又是偶爱偶家的插件，他的几个插件都很不错。这个是给日志或者页面生成分页，支持自定义CSS样式、自定义分页的日志和页面ID，用着很好。</p>
<p> 最后，如果你对本站感兴趣的话，可以考虑订阅一下，呵呵。</p>
<div style="text-align: left;"><a href="http://www.xianguo.com/subscribe.php?url=http://feed.yujan.com"><img src="http://img.feedsky.com/images/icon_subshot02_xianguo.gif" border="0" alt="订阅到鲜果" /></a><a href="http://www.zhuaxia.com/add_channel.php?url=http://feed.yujan.com"><img src="http://img.feedsky.com/images/icon_subshot02_zhuaxia.gif" border="0" alt="订阅到抓虾" /></a><a href="http://www.pageflakes.com/subscribe.aspx?url=http://feed.yujan.com"><img src="http://img.feedsky.com/images/icon_subshot02_pageflakes.gif" border="0" alt="订阅到飞鸽" /></a><a href="http://www.netvibes.com/subscribe.php?url=http://feed.yujan.com"><img src="http://img.feedsky.com/images/icon_subshot02_netvibes.gif" border="0" alt="netvibes" /></a><a href="http://fusion.google.com/add?feedurl=http://feed.yujan.com"><img src="http://img.feedsky.com/images/icon_subshot02_google.gif" border="0" alt="google reader" /></a><a href="http://add.my.yahoo.com/rss?url=http://feed.yujan.com"><img src="http://img.feedsky.com/images/icon_subshot02_yahoo.gif" border="0" alt="my yahoo" /></a><a href="http://www.rojo.com/add-subscription?resource=http://feed.yujan.com"><img src="http://img.feedsky.com/images/icon_subshot02_rojo.gif" border="0" alt="Rojo" /></a><a href="http://www.newsgator.com/ngs/subscriber/subfext.aspx?url=http://feed.yujan.com"><img src="http://img.feedsky.com/images/icon_subshot02_newsgator.gif" border="0" alt="Newsgator" /></a><a href="http://www.bloglines.com/sub/http://feed.yujan.com"><img src="http://img.feedsky.com/images/icon_subshot02_bloglines.gif" border="0" alt="bloglines" /></a><a href="http://reader.youdao.com/b.do?keyfrom=feedsky&amp;url=http://feed.yujan.com"><img src="http://img.feedsky.com/images/icon_subshot02_youdao.gif" border="0" alt="订阅到有道" /></a><a href="http://mail.qq.com/cgi-bin/feed?u=http://feed.yujan.com"><img src="http://img.feedsky.com/images/icon_subshot02_qq.gif" border="0" alt="订阅到QQ邮箱" /></a><a href="http://inezha.com/add?url=http://feed.yujan.com"><img src="http://img.feedsky.com/images/addtoanothr4.gif" border="0" alt="Subscribe by Anothr" /></a></div>
<h4  class="related_post_title">相关日志</h4><ul class="related_post"><li><a href="http://yujan.com/html/new-wordpress-blog.html" title="博客建成，心情愉悦！">博客建成，心情愉悦！</a></li><li><a href="http://yujan.com/html/bold-9700-this-time.html" title="这次是Bold 9700">这次是Bold 9700</a></li><li><a href="http://yujan.com/html/two-years-with-blackberry.html" title="用黑莓手机两年了">用黑莓手机两年了</a></li><li><a href="http://yujan.com/html/wordpress-for-blackberry.html" title="黑莓专用的WordPress客户端">黑莓专用的WordPress客户端</a></li><li><a href="http://yujan.com/html/dead-of-google-adsense.html" title="死亡日记">死亡日记</a></li><li><a href="http://yujan.com/html/upgrade-the-blog-to-26.html" title="博客升级至WordPress 2.6">博客升级至WordPress 2.6</a></li><li><a href="http://yujan.com/html/ready-to-build-a-completely-personal-website.html" title="准备建个完全的个人网站">准备建个完全的个人网站</a></li><li><a href="http://yujan.com/html/post-by-mobile.html" title="文章及评论的管理–手机管理博客(二)">文章及评论的管理–手机管理博客(二)</a></li><li><a href="http://yujan.com/html/set-up-wap.html" title="Wap页面的建立&#8211;手机管理博客(一)">Wap页面的建立&#8211;手机管理博客(一)</a></li><li><a href="http://yujan.com/html/bulid-blog-myself.html" title="凡事靠自己，博客也不例外">凡事靠自己，博客也不例外</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://yujan.com/html/all-plugins-for-wordpress-i-m-using.html/feed</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>博客建成，心情愉悦！</title>
		<link>http://yujan.com/html/new-wordpress-blog.html</link>
		<comments>http://yujan.com/html/new-wordpress-blog.html#comments</comments>
		<pubDate>Fri, 04 Jan 2008 01:25:25 +0000</pubDate>
		<dc:creator>牧狼羊</dc:creator>
				<category><![CDATA[博客讨论 ‖ Blog]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[Flashfxp]]></category>
		<category><![CDATA[Maxthon]]></category>
		<category><![CDATA[MEyu]]></category>
		<category><![CDATA[TM]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[博客]]></category>
		<category><![CDATA[极点]]></category>
		<category><![CDATA[火山]]></category>

		<guid isPermaLink="false">http://mlyang.cn/blog/archives/13</guid>
		<description><![CDATA[2008年1月2日，我得记住这个日子，这一天我终于购进了属于自己的收费空间，期间过程扑朔迷离，话说&#8230;.（以下省略一千字）。第一次拥有收费空间，很多东西让我兴奋不已：超过的速度，... ]]></description>
			<content:encoded><![CDATA[<p>2008年1月2日，我得记住这个日子，这一天我终于购进了属于自己的收费空间，期间过程扑朔迷离，话说&#8230;.（以下省略一千字）。第一次拥有收费空间，很多东西让我兴奋不已：超过的速度，强大的后台管理，丰富的功能，等等等等&#8230;&#8230;3号安大居然断网一天，那个郁闷的！ 4号，准备搭建blog了，寝室刚刚恢复网络不久，速度十分之慢，刚好老婆想去网吧上网，于是我干脆跑网吧搞去了。周末网吧人很多，我找来找去搞到一台很烂的机子，看旁边虎视眈眈的许多人，我也只好硬着头皮坐下来了。将极点、Maxthon、Flashfxp、TM&#8212;&#8212;我上网太挑剔。 Wordpress号称是安装最简单的blog程序，填上博客标题和个人邮箱，点击确定，一个博客就这么安装成功了。最后界面上写了这么一句话：&#8220;还想进下一步吗？让您失望了:)&#8221;，我喜欢！然而进入后台我才发现这么一个问题，我安装的明明是中文版本，结果却成了全英文版本，欺负我四级都没过。</p>
<p><span id="more-13"></span></p>
<p>之前安装过一个英文版的，我以为是上传的文件搞错了，又从火山免费空间上把中文版文件Down下来，再重新上传，新建数据库，再安装，还是老样子。晕了，活见鬼了不成？ 我开始怀疑是不是MEyu的空间不支持Wordpress博客程序，那可就完蛋了，我买这空间恰恰就是为了装Wordpress，不支持的话岂不亏大了？赶紧跑MEyu客服搜索，原来很多人都有我同样的问题，有点汗，好在还有好多人贴出了解决办法，我又燃起了希望，哈哈！照着解决办法修改了语言包文件，再安装，成了！ 下来把这解决办法分享给大家。</p>
</p>
<blockquote><p>WordPress 2.3.1中文显示问题解决方法：打开wp-includes/gettext.php， 找到：      <br /><coolcode download="gettext.php" linenum="on">      <br />$this-&gt;enable_cache = $enable_cache;</coolcode></p>
<p>// $MAGIC1 = (int)0&#215;950412de; //bug in PHP 5.0.2      <br />$MAGIC1 = (int) &#8211; 1794895138;       <br />// $MAGIC2 = (int)0xde120495; //bug       <br />$MAGIC2 = (int) &#8211; 569244523;       <br />// 64-bit fix       <br />$MAGIC3 = (int) 2500072158;</p>
<p>$this-&gt;STREAM = $Reader;      <br />$magic = $this-&gt;readint();       <br />if ($magic == ($MAGIC1 &amp; 0xFFFFFFFF) || $magic == ($MAGIC3 &amp; 0xFFFFFFFF)) { // to make sure it works for 64-bit platforms       <br />$this-&gt;BYTEORDER = 0;       <br />} elseif ($magic == ($MAGIC2 &amp; 0xFFFFFFFF)) {       <br />$this-&gt;BYTEORDER = 1;       <br />} else {       <br />$this-&gt;error = 1; // not MO file       <br />return false;       <br />}</p>
<p>替换成：      <br /><coolcode download="gettext.php" linenum="on">      <br />$this-&gt;enable_cache = $enable_cache;</coolcode></p>
<p>// $MAGIC1 = (int)0&#215;950412de; //bug in PHP 5      <br />$MAGIC1 = (int) &#8211; 1794895138;       <br />// $MAGIC2 = (int)0xde120495; //bug       <br />$MAGIC2 = (int) &#8211; 569244523;       <br />$MAGIC3 = (int) 2500072158; // &lt;- 64 BIT FIX: ADD THIS LINE!</p>
<p>$this-&gt;STREAM = $Reader;      <br />$magic = $this-&gt;readint();       <br />if ($magic == $MAGIC1 || $magic == $MAGIC3) { // &lt;- 64 BIT FIX: CHANGE THIS LINE!       <br />$this-&gt;BYTEORDER = 0;       <br />} elseif ($magic == $MAGIC2) {       <br />$this-&gt;BYTEORDER = 1;       <br />} else {       <br />$this-&gt;error = 1; // not MO file       <br />return false;       <br />}</p>
<p>问题的根源是Wordpress在64位的CPU下（linux系统）运行时，由于PHP-gettext解析.mo语言文件出错，以至于Wordpress在使用中文版本时失败。这是由于PHP-gettext在加载.mo文件时，没有正确匹配验证位导致stream自动关闭。</p>
</blockquote>
<h4  class="related_post_title">相关日志</h4><ul class="related_post"><li><a href="http://yujan.com/html/all-plugins-for-wordpress-i-m-using.html" title="我使用的所有WordPress插件">我使用的所有WordPress插件</a></li><li><a href="http://yujan.com/html/two-years-with-blackberry.html" title="用黑莓手机两年了">用黑莓手机两年了</a></li><li><a href="http://yujan.com/html/wordpress-for-blackberry.html" title="黑莓专用的WordPress客户端">黑莓专用的WordPress客户端</a></li><li><a href="http://yujan.com/html/qq-typing-is-good.html" title="QQ跟打器是个好东西">QQ跟打器是个好东西</a></li><li><a href="http://yujan.com/html/dead-of-google-adsense.html" title="死亡日记">死亡日记</a></li><li><a href="http://yujan.com/html/sogou-wubi-input.html" title="搜狗五笔输入法发布">搜狗五笔输入法发布</a></li><li><a href="http://yujan.com/html/upgrade-the-blog-to-26.html" title="博客升级至WordPress 2.6">博客升级至WordPress 2.6</a></li><li><a href="http://yujan.com/html/ready-to-build-a-completely-personal-website.html" title="准备建个完全的个人网站">准备建个完全的个人网站</a></li><li><a href="http://yujan.com/html/post-by-mobile.html" title="文章及评论的管理–手机管理博客(二)">文章及评论的管理–手机管理博客(二)</a></li><li><a href="http://yujan.com/html/set-up-wap.html" title="Wap页面的建立&#8211;手机管理博客(一)">Wap页面的建立&#8211;手机管理博客(一)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://yujan.com/html/new-wordpress-blog.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
