<?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://xwxy.zzspy.com/topic/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://xwxy.zzspy.com</link>
	<description>文高达贵人，渊深藏卧龙；晓时跃苍穹，金光比云霄。</description>
	<lastBuildDate>Thu, 04 Mar 2010 03:27:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>把WordPress变成Twitter</title>
		<link>http://xwxy.zzspy.com/2009/08/01/create-your-private-twitter-like-wordpress-2/</link>
		<comments>http://xwxy.zzspy.com/2009/08/01/create-your-private-twitter-like-wordpress-2/#comments</comments>
		<pubDate>Sat, 01 Aug 2009 09:53:21 +0000</pubDate>
		<dc:creator>jacobxx</dc:creator>
				<category><![CDATA[WordPress 翻译]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[微博客]]></category>

		<guid isPermaLink="false">http://xwxy.zzspy.com/?p=176</guid>
		<description><![CDATA[本文转载自：WordPress啦！ Twitter日益流行，越来越多的人想给自己的家人、朋友、同事建立一个像Twitter这样的微博客，其实这并没有想象中的难。在这里我给大家介绍下如何在WordPress中轻松创建微博客。 前言 Twitter的成功是大家有目共睹的，微博客无疑是非常实用和高效的。它可以让我们随时跟家人、朋友、同事保持联系。 尽管Twitter已经很出色了，但是作为私人空间，比如与同事分享工作体验或是向家人汇报近况，Twitter却不是最佳的选择。 为此，之前我用开源程序laconi.ca创建自己的微博客网站，它可以让用户创建类似于Twitter 的微博客网站。说实话，它不怎么让我满意，应该说挺后悔安装它的。 在这次不愉快的体验后，我觉得应该让WordPress来实现这一功能。 动手吧！ 说了这么多，让我们行动起来用WordPress创建自己的私人微博客吧！ 1. 安装WordPress 首先要做的当然是在服务器上安装WordPress。安装WordPress非常简单，你可以在网上找到安装教程，这里就不再讲述。需要帮助的话，你可以阅读相关文档。 2.使用P2 主题 Automattic公司出品的适合微博客应用的一个非常酷的主题，叫做P2，你可以 免费下载 。 下载完后，将它上传到WordPress的the wp-content/ themes 目录下。然后，登陆到WordPress后台的外观/主题，选择P2主题并激活。 这样你就成功安装P2主题，一切准备就绪了。 3.关于登录面板 尽管P2主题已经不错了，你还可以通过一些方法完善它。由于P2允许用户不通过WordPress后台直接从frontpage发布内容。在主题的侧边栏添加个登录控制面板是个不错的主意。 登录控制面板可以帮你实现： 如果用户尚未登录或还没有账户，系统将会显示登录表单及注册链接，访问者可以自己创建账户。 如果用户已经登录，系统会显示一个退出和账户选项的链接，因此就算是不懂WordPress的用户也可以轻松更新他的资料。 在主题的侧边栏添加登录面板，只要打开主题中sidebar.php文件，粘贴下面的代码就行： &#60;li&#62; &#60;?php global $user_ID, $user_identity, $user_level ?&#62; &#60;?php if ( $user_ID ) : ?&#62; &#60;h2&#62;Control panel&#60;/h2&#62; &#60;ul&#62; &#60;li&#62;Identified as &#60;strong&#62;&#60;?php echo $user_identity ?&#62;&#60;/strong&#62;. &#60;ul&#62; &#60;li&#62;&#60;a href=&#8221;&#60;?php [...]]]></description>
			<content:encoded><![CDATA[<p>本文转载自：<a href="http://www.wordpress.la/create-your-private-twitter-like-wordpress.html">WordPress啦！</a></p>
<p>Twitter日益流行，越来越多的人想给自己的家人、朋友、同事建立一个像Twitter这样的微博客，其实这并没有想象中的难。在这里我给大家介绍下如何在WordPress中<a href="http://www.wordpress.la/create-your-private-twitter-like-wordpress.html">轻松创建微博客</a>。</p>
<h3>前言</h3>
<p>Twitter的成功是大家有目共睹的，微博客无疑是非常实用和高效的。它可以让我们随时跟家人、朋友、同事保持联系。  尽管Twitter已经很出色了，但是作为私人空间，比如与同事分享工作体验或是向家人汇报近况，Twitter却不是最佳的选择。<span id="more-176"></span></p>
<p>为此，之前我用开源程序laconi.ca创建自己的微博客网站，它可以让用户创建类似于Twitter 的微博客网站。说实话，它不怎么让我满意，应该说挺后悔安装它的。<br />
在这次不愉快的体验后，我觉得应该让WordPress来实现这一功能。</p>
<p><a href="http://www.wordpress.la/sites/default/files/p2-_-faster-blogging-3.png" target="_blank"><img src="http://www.wordpress.la/sites/default/files/p2-_-faster-blogging-3.png" alt="" width="415" height="245" /></a></p>
<h3>动手吧！<strong> </strong></h3>
<p>说了这么多，让我们行动起来用WordPress创建自己的私人微博客吧！</p>
<p><strong>1. </strong><strong>安装WordPress</strong></p>
<p>首先要做的当然是在服务器上安装WordPress。安装WordPress非常简单，你可以在网上找到安装教程，这里就不再讲述。需要帮助的话，你可以阅读相关<a href="http://codex.wordpress.org/Main_Page">文档</a>。</p>
<p><strong>2.</strong><strong>使用P2 主题 </strong></p>
<p>Automattic公司出品的适合微博客应用的一个非常酷的主题，叫做P2，你可以 <a href="http://www.wordpress.la/theme-p2.html">免费下载</a> 。</p>
<p>下载完后，将它上传到WordPress的the wp-content/ themes 目录下。然后，登陆到WordPress后台的外观/主题，选择P2主题并激活。    这样你就成功安装P2主题，一切准备就绪了。</p>
<p><a href="http://www.wordpress.la/sites/default/files/p2.jpg" target="_blank"><img src="http://www.wordpress.la/sites/default/files/p2.jpg" alt="" width="415" height="241" /></a></p>
<p><strong>3.</strong><strong>关于登录面板 </strong></p>
<p>尽管P2主题已经不错了，你还可以通过一些方法完善它。由于P2允许用户不通过WordPress后台直接从frontpage发布内容。在主题的侧边栏添加个登录控制面板是个不错的主意。 登录控制面板可以帮你实现：</p>
<ul>
<li>如果用户尚未登录或还没有账户，系统将会显示登录表单及注册链接，访问者可以自己创建账户。</li>
<li>如果用户已经登录，系统会显示一个退出和账户选项的链接，因此就算是不懂WordPress的用户也可以轻松更新他的资料。</li>
</ul>
<p>在主题的侧边栏添加登录面板，只要打开主题中<em>sidebar.php</em>文件，粘贴下面的代码就行：</p>
<blockquote><p>&lt;li&gt;<br />
&lt;?php global $user_ID, $user_identity, $user_level ?&gt;<br />
&lt;?php if ( $user_ID ) : ?&gt;</p>
<p>&lt;h2&gt;Control panel&lt;/h2&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;Identified as &lt;strong&gt;&lt;?php echo $user_identity ?&gt;&lt;/strong&gt;.<br />
&lt;ul&gt;<br />
&lt;li&gt;&lt;a href=&#8221;&lt;?php bloginfo(&#8216;url&#8217;) ?&gt;/wp-admin/&#8221;&gt;Dashboard&lt;/a&gt;&lt;/li&gt;</p>
<p>&lt;li&gt;&lt;a href=&#8221;&lt;?php bloginfo(&#8216;url&#8217;) ?&gt;/wp-admin/profile.php&#8221;&gt;Profile and personal options&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;&lt;?php bloginfo(&#8216;url&#8217;) ?&gt;/wp-login.php?action=logout&amp;amp;redirect_to=&lt;?php echo urlencode($_SERVER['REQUEST_URI']) ?&gt;&#8221;&gt;Logout&lt;/a&gt;&lt;/li&gt;</p>
<p>&lt;?php<br />
if (is_single()) {?&gt;<br />
&lt;li&gt;&lt;a href=&#8221;&lt;?php bloginfo(&#8216;wpurl&#8217;);?&gt;/wp-admin/edit.php?p=&lt;?php the_ID(); ?&gt;&#8221;&gt;Edit Post&lt;/a&gt;<br />
&lt;/li&gt;<br />
&lt;?php } ?&gt;</p>
<p>&lt;/ul&gt;<br />
&lt;/li&gt;<br />
&lt;/ul&gt;</p>
<p>&lt;?php elseif ( get_option(&#8216;users_can_register&#8217;) ) : ?&gt;<br />
&lt;h2&gt;Identification&lt;/h2&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;</p>
<p>&lt;form action=&#8221;&lt;?php bloginfo(&#8216;url&#8217;) ?&gt;/wp-login.php&#8221; method=&#8221;post&#8221;&gt;<br />
&lt;p&gt;<br />
&lt;label for=&#8221;log&#8221;&gt;&lt;input type=&#8221;text&#8221; name=&#8221;log&#8221; id=&#8221;log&#8221; value=&#8221;&lt;?php echo wp_specialchars(stripslashes($user_login), 1) ?&gt;&#8221; size=&#8221;22&#8243; /&gt; User&lt;/label&gt;&lt;br /&gt;<br />
&lt;label for=&#8221;pwd&#8221;&gt;&lt;input type=&#8221;password&#8221; name=&#8221;pwd&#8221; id=&#8221;pwd&#8221; size=&#8221;22&#8243; /&gt; Password&lt;/label&gt;&lt;br /&gt;<br />
&lt;input type=&#8221;submit&#8221; name=&#8221;submit&#8221; value=&#8221;Login&#8221; /&gt;<br />
&lt;label for=&#8221;rememberme&#8221;&gt;&lt;input name=&#8221;rememberme&#8221; id=&#8221;rememberme&#8221; type=&#8221;checkbox&#8221; checked=&#8221;checked&#8221; value=&#8221;forever&#8221; /&gt; Remember me&lt;/label&gt;&lt;br /&gt;<br />
&lt;/p&gt;<br />
&lt;input type=&#8221;hidden&#8221; name=&#8221;redirect_to&#8221; value=&#8221;&lt;?php echo $_SERVER['REQUEST_URI']; ?&gt;&#8221;/&gt;<br />
&lt;/form&gt;</p>
<p>&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;&lt;?php bloginfo(&#8216;url&#8217;) ?&gt;/wp-register.php&#8221;&gt;Register&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;&lt;?php bloginfo(&#8216;url&#8217;) ?&gt;/wp-login.php?action=lostpassword&#8221;&gt;Recover password&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;</p>
<p>&lt;?php endif; ?&gt;<br />
&lt;/li&gt;</p></blockquote>
<p><strong>4. </strong><strong>微博客保密化 </strong><br />
登录/注册表单在某些情况下是挺完美了，但是别人还是可以通过搜索引擎引用你的内容。如果你想要让你的网站完全保密，也是没有问题的。   这就需要使用到WordPress插件<em>Private WP</em>，（<a href="http://wordpress.org/extend/plugins/private-wp/">下载</a>）。下载完后，将它上传到<em>wp-content/plugins</em> 目录下。然后登陆WordPress后台，激活该插件。</p>
<p>这样，你的网站就可以自动检测登录用户，只有登录用户才可阅读和发布文章。对于未知访问者，系统将会自动转向到WordPress登录面板。</p>
<p><a href="http://www.wordpress.la/sites/default/files/private-wp.png" target="_blank"><img src="http://www.wordpress.la/sites/default/files/private-wp.png" alt="" width="415" height="308" /></a></p>
<h3>结论</h3>
<p>这再次验证了WordPress的可扩展性以及功能的强大。如果你对WP比较熟悉，不用半个小时就可以用P2主题创建一个类似于Twitter的站点。够神奇吧！</p>
<p>这里只是简单介绍创建微博客网站的一些基本技巧，如果有兴趣，还有很多有意思的功能可以用来加强你的微博网站。比如，创建一个页面显示所有的会员列表或者过滤文章（只有特定的会员才可以发布文章）等等。</p>
<p>原文：</p>
<h3><a href="http://www.catswhocode.com/blog/create-your-own-private-twitter-site-using-wordpress">Create your own private Twitter site using WordPress</a></h3>
<p>With the incredible popularity of Twitter theses days, many people are asking themselves how can they create their own Twitter-like network for their family, friends or company. This may be a lot easier than you think. In this tutorial, I’m going to show you how to do it easily, using WordPress.</p>
<h2>Getting ready</h2>
<p>Twitter success is the proof, microblogging is definitely something useful and efficient. It can help you staying tuned with friends, family or coworkers.</p>
<p>While Twitter is great, it may not be the best choice if you&#8217;re looking for a private network, for example for sharing work tips with colleagues, or notice your familly about what&#8217;s up.<br />
As I was searching for an easy and quick way to create a private microblogging website, I stumbled upon an open source app called laconi.ca, which was created to allow people to launch their own private &#8220;Twitter like&#8221; microblogging sites. I didn&#8217;t really liked it and it was a total pain to install.</p>
<p>After this not so good experience, I decided that WordPress should do that job, and do it good as always.<br />
<img src="http://www.catswhocode.com/blog/wp-content/uploads/2009/07/p2-_-faster-blogging-3.png" alt="P2 Theme" /></p>
<h2>Let&#8217;s doing it</h2>
<p>Well, enought talk for now! Let&#8217;s create our own, private microblogging website using our beloved WordPress.</p>
<h3>1. Installing WordPress</h3>
<p>The first thing to do is obviously to install WordPress on your server. Installing WordPress is definitely easy and and I&#8217;ll not explain it here due to the incredible amount of tutorials you can find on the internet.<br />
If you need help for installing WordPress, you should read the <a href="http://codex.wordpress.org/Main_Page">documentation</a>. Or even better, you can register at <a href="http://www.catswhocode.com/blog/wpwebhost.html">WpWebHost</a>, the WordPress hosting experts, and use Fantastico to get your WordPress installed automatically in a minute. Just click here if you want to know more.</p>
<h3>2. Get your copy of the P2 theme</h3>
<p>The guys from Automattic (The company behing WordPress) released, some time ago, a very cool WordPress theme for social microblogging. The theme is called P2 and you can <a href="http://wordpress.org/extend/themes/p2">get it for free here</a>.</p>
<p>After you downloaded P2, simply uncompress the archive and upload it to the wp-content/themes directory of your WordPress install. Once done, login to your WordPress dashboard and go to &#8220;Appearance&#8221;, &#8220;Themes&#8221;. Slect the P2 theme and activate it.</p>
<p><img src="http://www.catswhocode.com/blog/wp-content/uploads/2009/07/p2.jpg" alt="P2 Theme" /><br />
That&#8217;s easy as that, you have sucessfully installed P2 and you&#8217;re ready for social microblogging.</p>
<h3>3. What about a login form?</h3>
<p>Althought the P2 theme itself is very good, it is possible to enhance it even more. As P2 allow users to post directly from the frontpage, without visiting WordPress dashboard, a good idea should be to integrate a control panel in the theme sidebar.<br />
Our control panel will do the following:<br />
If the user isn&#8217;t logged in or have no account yet: We&#8217;ll display a login form as well as a link to register, so the visitor can create his account.<br />
If the user is already logged in: We&#8217;ll display a link to logout as well as a link to account options, so the user (Even if (s)he doesn&#8217;t know much about WordPress) can easily update his/her profile.</p>
<p>To integrate a login form in your theme sidebar, simply open the <em>sidebar.php</em> file and paste the following code:</p>
<pre>&lt;li&gt;
  &lt;?php global $user_ID, $user_identity, $user_level ?&gt;
  &lt;?php if ( $user_ID ) : ?&gt;

    &lt;h2&gt;Control panel&lt;/h2&gt;
	 &lt;ul&gt;
	   &lt;li&gt;Identified as &lt;strong&gt;&lt;?php echo $user_identity ?&gt;&lt;/strong&gt;.
	   &lt;ul&gt;
		  &lt;li&gt;&lt;a href="&lt;?php bloginfo('url') ?&gt;/wp-admin/"&gt;Dashboard&lt;/a&gt;&lt;/li&gt;

			&lt;li&gt;&lt;a href="&lt;?php bloginfo('url') ?&gt;/wp-admin/profile.php"&gt;Profile and personal options&lt;/a&gt;&lt;/li&gt;
			&lt;li&gt;&lt;a href="&lt;?php bloginfo('url') ?&gt;/wp-login.php?action=logout&amp;amp;redirect_to=&lt;?php echo urlencode($_SERVER['REQUEST_URI']) ?&gt;"&gt;Logout&lt;/a&gt;&lt;/li&gt;

         &lt;?php
         if (is_single()) {?&gt;
           &lt;li&gt;&lt;a href="&lt;?php bloginfo('wpurl');?&gt;/wp-admin/edit.php?p=&lt;?php the_ID(); ?&gt;"&gt;Edit Post&lt;/a&gt;
           &lt;/li&gt;
         &lt;?php } ?&gt;

	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;/ul&gt;

  &lt;?php elseif ( get_option('users_can_register') ) : ?&gt;
    &lt;h2&gt;Identification&lt;/h2&gt;
    &lt;ul&gt;
      &lt;li&gt;

      &lt;form action="&lt;?php bloginfo('url') ?&gt;/wp-login.php" method="post"&gt;
      &lt;p&gt;
        &lt;label for="log"&gt;&lt;input type="text" name="log" id="log" value="&lt;?php echo wp_specialchars(stripslashes($user_login), 1) ?&gt;" size="22" /&gt; User&lt;/label&gt;&lt;br /&gt;
        &lt;label for="pwd"&gt;&lt;input type="password" name="pwd" id="pwd" size="22" /&gt; Password&lt;/label&gt;&lt;br /&gt;
&lt;input type="submit" name="submit" value="Login" /&gt;
        &lt;label for="rememberme"&gt;&lt;input name="rememberme" id="rememberme" type="checkbox" checked="checked" value="forever" /&gt; Remember me&lt;/label&gt;&lt;br /&gt;
&lt;/p&gt;
        &lt;input type="hidden" name="redirect_to" value="&lt;?php echo $_SERVER['REQUEST_URI']; ?&gt;"/&gt;
      &lt;/form&gt;

      &lt;/li&gt;
      &lt;li&gt;&lt;a href="&lt;?php bloginfo('url') ?&gt;/wp-register.php"&gt;Register&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="&lt;?php bloginfo('url') ?&gt;/wp-login.php?action=lostpassword"&gt;Recover password&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;

&lt;?php endif; ?&gt;
&lt;/li&gt;</pre>
<h3>4. Making your network private</h3>
<p>While the login/register form option can be good in some case, it will still allow people to read your discussions and search engines to index your content. If your need is a 100% private website, don&#8217;t worry. This is far from being a problem.<br />
To do so, we&#8217;ll use a WordPress plugin, named <em>Private WP</em>. Get your copy <a href="http://wordpress.org/extend/plugins/private-wp/">here</a>. Once you have it, extract the archive on your hard drive and upload the <em>private-wp</em> to the <em>wp-content/plugins</em> directory of your WordPress install. Then, simply login to WordPress, go to the dashboard, then to &#8220;Plugins&#8221; and activate the plugin.</p>
<p>That&#8217;s all you have to do. Now, your website will automatically detect logged in users, who&#8217;ll be able to read and post content, and unknown visitors, who&#8217;ll be automatically redirected to WordPress loggin panel.<br />
<img src="http://www.catswhocode.com/blog/wp-content/uploads/2009/07/private-wp.png" alt="" /></p>
<h2>Conclusion</h2>
<p>The first thing which have to be said is that, one more time, WordPress show how extensible and powerful it is. If you&#8217;re familiar with WP, creating this &#8220;Twitter-like&#8221; site using the P2 theme should not take you more than 30 minutes. Isn&#8217;t that great? I&#8217;ll not say that I love WordPress, because all of you already know <img src="http://www.catswhocode.com/blog/wp-includes/images/smilies/icon_wink.gif" alt=";)" /></p>
<p>This tutorial was focused on making a private microblogging site and used only basic techniques, but there&#8217;s a lot of other interresting things that can be done in order to enhance this &#8220;Twitter-like&#8221; site. For example, you may want to create a page template listing all members, or even better, filtering posts to see only those posted by a selection of members?</p>
]]></content:encoded>
			<wfw:commentRss>http://xwxy.zzspy.com/2009/08/01/create-your-private-twitter-like-wordpress-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress完美运行的五步法</title>
		<link>http://xwxy.zzspy.com/2009/07/31/ways-keep-wordpress-running/</link>
		<comments>http://xwxy.zzspy.com/2009/07/31/ways-keep-wordpress-running/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 15:29:31 +0000</pubDate>
		<dc:creator>jacobxx</dc:creator>
				<category><![CDATA[WordPress 翻译]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://xwxy.zzspy.com/?p=130</guid>
		<description><![CDATA[本文转载：WordPress啦 针对有的用户抱怨WordPress运行效率低，这里我就给大家介绍下优化WP博客运行的一些简单方法： 1. 理智地选择主机服务 不要被低价主机的宣传所诱惑，要记住没有白捡的便宜。随着网站越来越受欢迎，你可能得考虑升级为独立服务器甚至是云方案，才能保证更好的运行时间（特别党是你的文章被大网站推荐时）并提供优质的服务。 2. 利用插件与垃圾邮件抗争 Akismet 成为WP中最受欢迎的插件不是偶然的（并不仅仅因为安装时就自带）。因为它确实阻止了很多垃圾邮件。还有其他什么保护措施呢？你可以再安装Simple Trackback Validation作为Akismet的补充。垃圾邮件越来越先进了，防垃圾邮件的工具也要更新。任何博客都少不了反垃圾邮件插件。 3. 备份 记住不能光靠主机服务商为你的博客备份。任何网站都可能会遭遇失误，包括：丢失文件、数据库损坏、插件出问题或是软件更新出错等等。安装数据库备份插件才能让自己放心。(小帖士: 创建一个专门的Gmail账户，每天发送备份文件到邮箱)。一旦出现什么问题，你可以重新恢复你上一次的配置并且保持良好的运行。 4. 留心更新 如果你使用的是WordPress (2.6及以上)版本，可能会有一大堆的软件更新提示。 如果你安装了很多插件或者自定义主题，在按任何更新按钮之前都要三思而后行。(按照第三条，首先就是要备份。)，同时要记住删除任何“自动更新”类型的插件，很多管理员因为这些插件的不可兼容性而无法操作后台。学习下该如何管理服务器以及更新之前的测试工作。 5.为什么我的博客这么慢？ 博客打开像蜗牛一般吗？这可能有多种原因，常见的有以下原因： 你的虚拟主机方案 (具体见1) 运行了太多有潜在冲突的插件（可能的话尽量不用) 。 使用太多的小工具（代码编写的可能比较差）。 过于依赖外部服务（比如，很多文件都是来自Flickr、Twitter、YouTube， 意  味着你要等待这些文件从他们的服务器上运行）。 使用免费、现成的主题（可能他们的代码编写比较差，甚至里面有流氓代码）。 工具箱 WordPress – http://www.wordpress.org Akismet – http://wordpress.org/extend/plugins/akismet Simple Trackback Validation – http://wordpress.org/extend/plugins/simple-trackback-validation/ Bad Behavior – http://wordpress.org/extend/plugins/bad-behavior/ WordPress Database Backup – http://wordpress.org/extend/plugins/wp-db-backup/ 附原文： 5 Ways [...]]]></description>
			<content:encoded><![CDATA[<p>本文转载：<a href="http://www.wordpress.la/5-ways-make-your-wp-running-smooth.html">WordPress啦</a></p>
<p>针对有的用户抱怨WordPress运行效率低，这里我就给大家介绍下<a href="http://www.wordpress.la/5-ways-make-your-wp-running-smooth.html">优化WP博客</a>运行的一些简单方法：</p>
<h3>1. 理智地选择主机服务</h3>
<p>不要被低价主机的宣传所诱惑，要记住没有白捡的便宜。随着网站越来越受欢迎，你可能得考虑升级为独立服务器甚至是云方案，才能保证更好的运行时间（特别党是你的文章被大网站推荐时）并提供优质的服务。</p>
<h3>2. 利用插件与垃圾邮件抗争</h3>
<p>Akismet 成为WP中最受欢迎的插件不是偶然的（并不仅仅因为安装时就自带）。因为它确实阻止了很多垃圾邮件。还有其他什么保护措施呢？你可以再安装Simple Trackback Validation作为Akismet的补充。垃圾邮件越来越先进了，防垃圾邮件的工具也要更新。任何博客都少不了反垃圾邮件插件。<span id="more-130"></span></p>
<h3>3. 备份</h3>
<p>记住不能光靠主机服务商为你的博客备份。任何网站都可能会遭遇失误，包括：丢失文件、数据库损坏、插件出问题或是软件更新出错等等。安装数据库备份插件才能让自己放心。(小帖士: 创建一个专门的Gmail账户，每天发送备份文件到邮箱)。一旦出现什么问题，你可以重新恢复你上一次的配置并且保持良好的运行。</p>
<h3>4. 留心更新</h3>
<p>如果你使用的是WordPress (2.6及以上)版本，可能会有一大堆的软件更新提示。 如果你安装了很多插件或者自定义主题，在按任何更新按钮之前都要三思而后行。(按照第三条，首先就是要备份。)，同时要记住删除任何“自动更新”类型的插件，很多管理员因为这些插件的不可兼容性而无法操作后台。学习下该如何管理服务器以及更新之前的测试工作。</p>
<h3>5.为什么我的博客这么慢？</h3>
<p>博客打开像蜗牛一般吗？这可能有多种原因，常见的有以下原因：</p>
<ul>
<li>你的虚拟主机方案 (具体见1)</li>
<li>运行了太多有潜在冲突的插件（可能的话尽量不用) 。</li>
<li>使用太多的小工具（代码编写的可能比较差）。</li>
<li>过于依赖外部服务（比如，很多文件都是来自Flickr、Twitter、YouTube， 意  味着你要等待这些文件从他们的服务器上运行）。</li>
<li>使用免费、现成的主题（可能他们的代码编写比较差，甚至里面有流氓代码）。</li>
</ul>
<p><strong>工具箱</strong></p>
<ul>
<li>WordPress – <a href="http://www.wordpress.org/">http://www.wordpress.org</a></li>
<li>Akismet – <a href="http://wordpress.org/extend/plugins/akismet">http://wordpress.org/extend/plugins/akismet</a></li>
<li>Simple Trackback Validation – <a href="http://wordpress.org/extend/plugins/simple-trackback-validation/">http://wordpress.org/extend/plugins/simple-trackback-validation/</a></li>
<li>Bad Behavior – <a href="http://wordpress.org/extend/plugins/bad-behavior/">http://wordpress.org/extend/plugins/bad-behavior/</a></li>
<li>WordPress Database Backup – <a href="http://wordpress.org/extend/plugins/wp-db-backup/">http://wordpress.org/extend/plugins/wp-db-backup/</a></li>
</ul>
<p>附原文：</p>
<p><a href="http://http://feedfront.com/archives/article002021">5 Ways to Keep WordPress Running Smoothly</a></p>
<p>Here are some easy steps you can take to ensure that your WordPress blog is running optimally.</p>
<p>1. <strong>Choose Your Host Wisely</strong><br />
While it’s tempting to go for a shared plan that’s under $5/month, you have to remember you get what you pay for. As your site gets popular, you may need to consider upgrading to a virtual private server, a dedicated server, or even a cloud solution. These plans can often guarantee better uptimes (especially when you land on the home page of Digg) and offer superior performance overall.</p>
<p>2. <strong>Fight Spam with Plugins</strong><br />
It’s no accident that Akismet is WordPress’s most popular plugin (and not just because it’s included with your install). It really stops most spam in its tracks. Want even more protection? You can supplement Akismet by installing Simple Trackback Validation (to thwart pesky trackback spam) and Bad Behavior. As spammers get more sophisticated, so do these tools. No blog should be launched without them.</p>
<p>3. <strong>Back It Up</strong><br />
Remember you can’t rely on your host alone to get your blog’s data back. As with any website, there are many, many points of failure, including lost files, corrupted databases, plugin breakages, and software upgrade errors. Install the WordPress Database Backup plugin for peace of mind. (Bonus Tip: create a special Gmail account and have your backup files sent there daily). When things go wrong, you can restore to your last good known configuration and be back running quickly.</p>
<p>4. <strong>Watch Those Upgrades</strong><br />
If you are running a newer version of WordPress (2.6 and above), you can be bombarded with prompts to update your out-of-date software. If you have a lot of plugins or a customized theme, you should think twice about blindly pressing any update buttons (see #3 and do a backup first!). Also, please delete any “automatic upgrade” plugins, which have been known to lock many an admin out of their dashboard due to incompatibilities. Learn how to create development server and test out your upgrades before applying them to your production site.</p>
<p>5. <strong>Why is My Blog Slow?</strong><br />
There can be many reasons why your blog is behaving up like a snail. Common causes can be traced to:</p>
<p> Your host or your plan (see #1)<br />
 Running too many potentially conflicting plugins (pare them down when possible)<br />
 Using too many widgets (which may be poorly coded)<br />
 Relying on external services (when you pull in files from Flickr, Twitter, or YouTube, for example, it means you have to wait on them to serve up images, tweets, and videos from their sites.)<br />
 Using a free, off-the-shelf theme (they can be programmed poorly or even have rogue code within them)</p>
<p>Toolbox<br />
 WordPress – http://www.wordpress.org<br />
 Akismet – http://wordpress.org/extend/plugins/akismet<br />
 Simple Trackback Validation – http://wordpress.org/extend/plugins/simple-trackback-validation/<br />
 Bad Behavior – http://wordpress.org/extend/plugins/bad-behavior/<br />
 WordPress Database Backup – http://wordpress.org/extend/plugins/wp-db-backup/</p>
<p>Follow these 5 tips and you’ll find that your WordPress blog is more stable and easier to manage.</p>
]]></content:encoded>
			<wfw:commentRss>http://xwxy.zzspy.com/2009/07/31/ways-keep-wordpress-running/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress食言，提前结束2.0.x维护计划</title>
		<link>http://xwxy.zzspy.com/2009/07/30/the-wordpress-2-0-x-legacy-branch-is-deprecated/</link>
		<comments>http://xwxy.zzspy.com/2009/07/30/the-wordpress-2-0-x-legacy-branch-is-deprecated/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 06:09:02 +0000</pubDate>
		<dc:creator>jacobxx</dc:creator>
				<category><![CDATA[WordPress 翻译]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Release]]></category>

		<guid isPermaLink="false">http://xwxy.zzspy.com/?p=54</guid>
		<description><![CDATA[本文转载自：WordPress食言，提前结束2.0.x维护计划(WordPress啦！)WordPress团队原本计划将维持WordPress 2.0.x 版本到2010年。不幸的是，现实比预计得要困难得多，2.0.x 现在就退休惨遭淘汰，离计划的2010年还有近半年之远。 过去几年，各个新版本相继解决了在各种系统中运行WP出现的各种问题。但是把这些修改都移植到2.0.x 是一项很艰巨的任务，可能会带来新的不稳定因素和bug。WordPress开发组不得不权衡稳定性和兼容所有的修改，在两者间做出艰难的决定。另外，越 来越少人使用2.0.x了。在对WordPress的新功能（以及插件提供的功能）进行了测试 ，发现它们很多都不支持旧版的WP。 WP2.0.x 不能坚持到2010年，是有点让人失望。不过考虑到其失败的最大原因在于WP新版本大范围内的安全改善，2.0.x 退出舞台还是值得的！ 附原文： The WordPress 2.0.x Legacy Branch is Deprecated Posted July 30, 2009 by Mark Jaquith. Filed under Development, Security. The WordPress team had initially committed to maintaining the WordPress 2.0.x legacy branch until 2010. Unfortunately, we bit off more than we could chew—the 2.0.x [...]]]></description>
			<content:encoded><![CDATA[<div>本文转载自：<a href="http://www.wordpress.la/wordpress-2-0-x-legacy-branch-is-deprecated.html">WordPress食言，提前结束2.0.x维护计划(WordPress啦！)</a>WordPress团队原本计划将维持WordPress 2.0.x 版本到2010年。不幸的是，现实比预计得要困难得多，2.0.x 现在就退休惨遭淘汰，离计划的2010年还有近半年之远。</p>
<p>过去几年，各个新版本相继解决了在各种系统中运行WP出现的各种问题。但是把这些修改都移植到2.0.x 是一项很艰巨的任务，可能会带来新的不稳定因素和bug。WordPress开发组不得不权衡稳定性和兼容所有的修改，在两者间做出艰难的决定。另外，越 来越少人使用2.0.x了。在对WordPress的新功能（以及插件提供的功能）进行了测试 ，发现它们很多都不支持旧版的WP。</p>
<p>WP2.0.x 不能坚持到2010年，是有点让人失望。不过考虑到其失败的最大原因在于WP新版本大范围内的安全改善，2.0.x 退出舞台还是值得的！<span id="more-54"></span></p>
<p>附原文：</p>
<h2><a href="http://wordpress.org/development/2009/07/the-wordpress-2-0-x-legacy-branch-is-deprecated/">The WordPress 2.0.x Legacy Branch is Deprecated</a></h2>
<div>Posted July 30, 2009 by <a href="http://markjaquith.com/">Mark Jaquith</a>. Filed under <a title="View all posts in Development" rel="category tag" href="http://wordpress.org/development/category/development/">Development</a>, <a title="View all posts in Security" rel="category tag" href="http://wordpress.org/development/category/security/">Security</a>.</div>
<div>
<p>The WordPress team had initially committed to maintaining the WordPress 2.0.x legacy branch until 2010. Unfortunately, we bit off more than we could chew—the 2.0.x branch is now retired and deprecated, a few months shy of 2010.</p>
<p>Many of the security improvements to the new versions of WordPress in the last couple of years were complete reworks of how various systems were handled. Porting those changes to the 2.0.x branch would have been a monumental task and could have introduced instability or new bugs. We had to make hard decisions between stability and merging in the latest security enhancements. Additionally, far fewer people stayed on the 2.0.x branch than we anticipated. I take that as a testament to the new features in WordPress and perhaps even more the features offered by plugins, many of which don’t support older versions of WordPress!</p>
<p>I’m disappointed that we weren’t able to keep the branch maintained until 2010, but since one of the big reasons for that failure was the massive scope of our security improvements for the newer versions of WordPress, 2.0.x doesn’t die in vain!</p></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://xwxy.zzspy.com/2009/07/30/the-wordpress-2-0-x-legacy-branch-is-deprecated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>把WordPress变成Twitter</title>
		<link>http://xwxy.zzspy.com/2009/07/29/create-your-private-twitter-like-wordpress/</link>
		<comments>http://xwxy.zzspy.com/2009/07/29/create-your-private-twitter-like-wordpress/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 07:08:58 +0000</pubDate>
		<dc:creator>jacobxx</dc:creator>
				<category><![CDATA[WordPress 翻译]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://xwxy.zzspy.com/?p=49</guid>
		<description><![CDATA[本文转载自：把WordPress变成Twitter（WordPress啦！） Twitter日益流行，越来越多的人想给自己的家人、朋友、同事建立一个像Twitter这样的微博客，其实这并没有想象中的难。在这里我给大家介绍下如何在WordPress中轻松创建微博客。 前言 Twitter的成功是大家有目共睹的，微博客无疑是非常实用和高效的。它可以让我们随时跟家人、朋友、同事保持联系。 尽管Twitter已经很出色了，但是作为私人空间，比如与同事分享工作体验或是向家人汇报近况，Twitter却不是最佳的选择。 为此，之前我用开源程序laconi.ca创建自己的微博客网站，它可以让用户创建类似于Twitter 的微博客网站。说实话，它不怎么让我满意，应该说挺后悔安装它的。 在这次不愉快的体验后，我觉得应该让WordPress来实现这一功能。 动手吧！ 说了这么多，让我们行动起来用WordPress创建自己的私人微博客吧！ 1. 安装WordPress 首先要做的当然是在服务器上安装WordPress。安装WordPress非常简单，你可以在网上找到安装教程，这里就不再讲述。需要帮助的话，你可以阅读相关文档。 2.使用P2 主题 Automattic公司出品的适合微博客应用的一个非常酷的主题，叫做P2，你可以 免费下载 。 下载完后，将它上传到WordPress的the wp-content/ themes 目录下。然后，登陆到WordPress后台的外观/主题，选择P2主题并激活。 这样你就成功安装P2主题，一切准备就绪了。 3.关于登录面板 尽管P2主题已经不错了，你还可以通过一些方法完善它。由于P2允许用户不通过WordPress后台直接从frontpage发布内容。在主题的侧边栏添加个登录控制面板是个不错的主意。 登录控制面板可以帮你实现： 如果用户尚未登录或还没有账户，系统将会显示登录表单及注册链接，访问者可以自己创建账户。 如果用户已经登录，系统会显示一个退出和账户选项的链接，因此就算是不懂WordPress的用户也可以轻松更新他的资料。 在主题的侧边栏添加登录面板，只要打开主题中sidebar.php文件，粘贴下面的代码就行： &#60;li&#62; &#60;?php global $user_ID, $user_identity, $user_level ?&#62; &#60;?php if ( $user_ID ) : ?&#62; &#60;h2&#62;Control panel&#60;/h2&#62; &#60;ul&#62; &#60;li&#62;Identified as &#60;strong&#62;&#60;?php echo $user_identity ?&#62;&#60;/strong&#62;. &#60;ul&#62; &#60;li&#62;&#60;a href=&#8221;&#60;?php [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>本文转载自：<a href="http://www.wordpress.la/create-your-private-twitter-like-wordpress.html">把WordPress变成Twitter（WordPress啦！）</a></p>
<p>Twitter日益流行，越来越多的人想给自己的家人、朋友、同事建立一个像Twitter这样的微博客，其实这并没有想象中的难。在这里我给大家介绍下如何在WordPress中<a href="http://www.wordpress.la/create-your-private-twitter-like-wordpress.html">轻松创建微博客</a>。</p>
<h3>前言</h3>
<p>Twitter的成功是大家有目共睹的，微博客无疑是非常实用和高效的。它可以让我们随时跟家人、朋友、同事保持联系。  尽管Twitter已经很出色了，但是作为私人空间，比如与同事分享工作体验或是向家人汇报近况，Twitter却不是最佳的选择。<span id="more-49"></span></p>
<p>为此，之前我用开源程序laconi.ca创建自己的微博客网站，它可以让用户创建类似于Twitter 的微博客网站。说实话，它不怎么让我满意，应该说挺后悔安装它的。<br />
在这次不愉快的体验后，我觉得应该让WordPress来实现这一功能。</p>
<p><a href="http://www.wordpress.la/sites/default/files/p2-_-faster-blogging-3.png" target="_blank"><img src="http://www.wordpress.la/sites/default/files/p2-_-faster-blogging-3.png" alt="" width="415" height="245" /></a></p>
<h3>动手吧！<strong> </strong></h3>
<p>说了这么多，让我们行动起来用WordPress创建自己的私人微博客吧！</p>
<p><strong>1. </strong><strong>安装WordPress</strong></p>
<p>首先要做的当然是在服务器上安装WordPress。安装WordPress非常简单，你可以在网上找到安装教程，这里就不再讲述。需要帮助的话，你可以阅读相关<a href="http://codex.wordpress.org/Main_Page">文档</a>。</p>
<p><strong>2.</strong><strong>使用P2 主题 </strong></p>
<p>Automattic公司出品的适合微博客应用的一个非常酷的主题，叫做P2，你可以 <a href="http://www.wordpress.la/theme-p2.html">免费下载</a> 。</p>
<p>下载完后，将它上传到WordPress的the wp-content/ themes 目录下。然后，登陆到WordPress后台的外观/主题，选择P2主题并激活。    这样你就成功安装P2主题，一切准备就绪了。</p>
<p><a href="http://www.wordpress.la/sites/default/files/p2.jpg" target="_blank"><img src="http://www.wordpress.la/sites/default/files/p2.jpg" alt="" width="415" height="241" /></a></p>
<p><strong>3.</strong><strong>关于登录面板 </strong></p>
<p>尽管P2主题已经不错了，你还可以通过一些方法完善它。由于P2允许用户不通过WordPress后台直接从frontpage发布内容。在主题的侧边栏添加个登录控制面板是个不错的主意。 登录控制面板可以帮你实现：</p>
<ul>
<li>如果用户尚未登录或还没有账户，系统将会显示登录表单及注册链接，访问者可以自己创建账户。</li>
<li>如果用户已经登录，系统会显示一个退出和账户选项的链接，因此就算是不懂WordPress的用户也可以轻松更新他的资料。</li>
</ul>
<p>在主题的侧边栏添加登录面板，只要打开主题中<em>sidebar.php</em>文件，粘贴下面的代码就行：</p>
<blockquote><p>&lt;li&gt;<br />
&lt;?php global $user_ID, $user_identity, $user_level ?&gt;<br />
&lt;?php if ( $user_ID ) : ?&gt;</p>
<p>&lt;h2&gt;Control panel&lt;/h2&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;Identified as &lt;strong&gt;&lt;?php echo $user_identity ?&gt;&lt;/strong&gt;.<br />
&lt;ul&gt;<br />
&lt;li&gt;&lt;a href=&#8221;&lt;?php bloginfo(&#8216;url&#8217;) ?&gt;/wp-admin/&#8221;&gt;Dashboard&lt;/a&gt;&lt;/li&gt;</p>
<p>&lt;li&gt;&lt;a href=&#8221;&lt;?php bloginfo(&#8216;url&#8217;) ?&gt;/wp-admin/profile.php&#8221;&gt;Profile and personal options&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;&lt;?php bloginfo(&#8216;url&#8217;) ?&gt;/wp-login.php?action=logout&amp;amp;redirect_to=&lt;?php echo urlencode($_SERVER['REQUEST_URI']) ?&gt;&#8221;&gt;Logout&lt;/a&gt;&lt;/li&gt;</p>
<p>&lt;?php<br />
if (is_single()) {?&gt;<br />
&lt;li&gt;&lt;a href=&#8221;&lt;?php bloginfo(&#8216;wpurl&#8217;);?&gt;/wp-admin/edit.php?p=&lt;?php the_ID(); ?&gt;&#8221;&gt;Edit Post&lt;/a&gt;<br />
&lt;/li&gt;<br />
&lt;?php } ?&gt;</p>
<p>&lt;/ul&gt;<br />
&lt;/li&gt;<br />
&lt;/ul&gt;</p>
<p>&lt;?php elseif ( get_option(&#8216;users_can_register&#8217;) ) : ?&gt;<br />
&lt;h2&gt;Identification&lt;/h2&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;</p>
<p>&lt;form action=&#8221;&lt;?php bloginfo(&#8216;url&#8217;) ?&gt;/wp-login.php&#8221; method=&#8221;post&#8221;&gt;<br />
&lt;p&gt;<br />
&lt;label for=&#8221;log&#8221;&gt;&lt;input type=&#8221;text&#8221; name=&#8221;log&#8221; id=&#8221;log&#8221; value=&#8221;&lt;?php echo wp_specialchars(stripslashes($user_login), 1) ?&gt;&#8221; size=&#8221;22&#8243; /&gt; User&lt;/label&gt;&lt;br /&gt;<br />
&lt;label for=&#8221;pwd&#8221;&gt;&lt;input type=&#8221;password&#8221; name=&#8221;pwd&#8221; id=&#8221;pwd&#8221; size=&#8221;22&#8243; /&gt; Password&lt;/label&gt;&lt;br /&gt;<br />
&lt;input type=&#8221;submit&#8221; name=&#8221;submit&#8221; value=&#8221;Login&#8221; /&gt;<br />
&lt;label for=&#8221;rememberme&#8221;&gt;&lt;input name=&#8221;rememberme&#8221; id=&#8221;rememberme&#8221; type=&#8221;checkbox&#8221; checked=&#8221;checked&#8221; value=&#8221;forever&#8221; /&gt; Remember me&lt;/label&gt;&lt;br /&gt;<br />
&lt;/p&gt;<br />
&lt;input type=&#8221;hidden&#8221; name=&#8221;redirect_to&#8221; value=&#8221;&lt;?php echo $_SERVER['REQUEST_URI']; ?&gt;&#8221;/&gt;<br />
&lt;/form&gt;</p>
<p>&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;&lt;?php bloginfo(&#8216;url&#8217;) ?&gt;/wp-register.php&#8221;&gt;Register&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;&lt;?php bloginfo(&#8216;url&#8217;) ?&gt;/wp-login.php?action=lostpassword&#8221;&gt;Recover password&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;</p>
<p>&lt;?php endif; ?&gt;<br />
&lt;/li&gt;</p></blockquote>
<p><strong>4. </strong><strong>微博客保密化 </strong><br />
登录/注册表单在某些情况下是挺完美了，但是别人还是可以通过搜索引擎引用你的内容。如果你想要让你的网站完全保密，也是没有问题的。   这就需要使用到WordPress插件<em>Private WP</em>，（<a href="http://wordpress.org/extend/plugins/private-wp/">下载</a>）。下载完后，将它上传到<em>wp-content/plugins</em> 目录下。然后登陆WordPress后台，激活该插件。</p>
<p>这样，你的网站就可以自动检测登录用户，只有登录用户才可阅读和发布文章。对于未知访问者，系统将会自动转向到WordPress登录面板。</p>
<p><a href="http://www.wordpress.la/sites/default/files/private-wp.png" target="_blank"><img src="http://www.wordpress.la/sites/default/files/private-wp.png" alt="" width="415" height="308" /></a></p>
<h3>结论</h3>
<p>这再次验证了WordPress的可扩展性以及功能的强大。如果你对WP比较熟悉，不用半个小时就可以用P2主题创建一个类似于Twitter的站点。够神奇吧！</p>
<p>这里只是简单介绍创建微博客网站的一些基本技巧，如果有兴趣，还有很多有意思的功能可以用来加强你的微博网站。比如，创建一个页面显示所有的会员列表或者过滤文章（只有特定的会员才可以发布文章）等等。</p>
<p>原文：<a href="http://www.catswhocode.com/blog/create-your-own-private-twitter-site-using-wordpress">Create your own private Twitter site using WordPress</a><br />
翻译：<a href="http://www.wordpress.la/">WordPress啦!</a></div>
]]></content:encoded>
			<wfw:commentRss>http://xwxy.zzspy.com/2009/07/29/create-your-private-twitter-like-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress 2.8 偷偷修改了ping的频率</title>
		<link>http://xwxy.zzspy.com/2009/07/23/wordpress-switches-to-hourly-pinging-tells-no-one/</link>
		<comments>http://xwxy.zzspy.com/2009/07/23/wordpress-switches-to-hourly-pinging-tells-no-one/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 09:18:11 +0000</pubDate>
		<dc:creator>jacobxx</dc:creator>
				<category><![CDATA[WordPress 翻译]]></category>
		<category><![CDATA[Ping]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://xwxy.zzspy.com/?p=160</guid>
		<description><![CDATA[本文转载自：WordPress啦！ WordPress 2.8 修改了默认的ping频率，将发布或编辑文章时的ping改为每小时一次。这一修改既没有写进文档也没有在发布说明中提到，发现这一问题的是一位名叫Christian Bolstad的WordPress用户。 这会造成什么影响呢？ 推迟了RSS订阅的更新。 推迟了RSS订阅的更新意味着推迟了所有与其相关的服务。 推迟了RSS订阅意味着与RSS相关的搜索引擎的工作也推迟。 我猜测这个功能是为了加快管理界面的执行速度。如果很多服务要执行Ping，比如发布或编辑文章等，意味着你要等待管理界面解析Ping后再执行。 Christian Bolstad有人认为此举严重阻碍了实时网站的实现。 这么说可能有点过了，但是它确实延迟了一切从WordPress上发出的东西。 这一变动的负责人，Denis de Bernardy（WordPress核心开发成员之一）认为Christian Bolstad 的文章是危言耸听的，并发表了评论: 如果最终用户没有代码经验不能写补丁，他随时可以提交一个评论或建议，这也就罢了。 但对于程序员来说，就不太好了，把一篇危言耸听的文章置顶，这行为是让人无法忍受的。他能够也应该写一个补丁。如果不写补丁的话，就应该接受我们的修改。 至于为什么没有在版本说明里阐明，因为这根本就是很小的事，对WordPress用户（也包括免费用户）都不值得一提。如果你觉得有必要可以自己添加这个说明。 很明显他是在为Ping行为的修改做辩解，只不过这辩解显得苍白无力。从某种程度上来讲，他认为程序员不能对这种决定评头论足，他们应该安安静静地提交补丁。真是滑稽，希望他的本意不是这样的。 总之，要记住现在WordPress默认的不再是发布时就执行Ping了，而是每个小时Ping一次。你可以随时修改Ping行为，但是可能你的网站会受到影响，甚至崩溃。 原文：WordPress Switches to Hourly Pinging, Tells No One Blogger Christian Bolstad found a new feature in WordPress 2.8, undocumented and not among the release notes in the Codex. Basically, it changes the [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>本文转载自：<a href="http://www.wordpress.la/wp-changes-ping-frequency.html">WordPress啦！</a></p>
<p>WordPress 2.8 修改了默认的ping频率，将发布或编辑文章时的ping改为每小时一次。这一修改既没有写进文档也没有在发布说明中提到，发现这一问题的是一位名叫<a href="http://www.karamell.net/2009/07/19/wordpress-putting-the-real-time-web-to-a-halt/">Christian Bolstad</a>的WordPress用户。</p>
<p><strong>这会造成什么影响呢？</strong></p>
<ul>
<li>推迟了RSS订阅的更新。</li>
<li>推迟了RSS订阅的更新意味着推迟了所有与其相关的服务。</li>
<p><span id="more-160"></span></p>
<li>推迟了RSS订阅意味着与RSS相关的搜索引擎的工作也推迟。</li>
</ul>
<p>我猜测这个功能是为了加快管理界面的执行速度。如果很多服务要执行Ping，比如发布或编辑文章等，意味着你要等待管理界面解析Ping后再执行。 Christian Bolstad有人认为此举严重阻碍了实时网站的实现。 这么说可能有点过了，但是它确实延迟了一切从WordPress上发出的东西。</p>
<p>这一变动的负责人，Denis de Bernardy（WordPress核心开发成员之一）认为Christian Bolstad 的文章是危言耸听的，并发表了评论:</p>
<blockquote><p>如果最终用户没有代码经验不能写补丁，他随时可以提交一个评论或建议，这也就罢了。  但对于程序员来说，就不太好了，把一篇危言耸听的文章置顶，这行为是让人无法忍受的。他能够也应该写一个补丁。如果不写补丁的话，就应该接受我们的修改。</p>
<p>至于为什么没有在版本说明里阐明，因为这根本就是很小的事，对WordPress用户（也包括免费用户）都不值得一提。如果你觉得有必要可以自己添加这个说明。</p></blockquote>
<p>很明显他是在为Ping行为的修改做辩解，只不过这辩解显得苍白无力。从某种程度上来讲，他认为<strong>程序员不能对这种决定评头论足，他们应该安安静静地提交补丁</strong>。真是滑稽，希望他的本意不是这样的。 总之，要记住现在WordPress默认的不再是发布时就执行Ping了，而是每个小时Ping一次。<strong>你可以随时修改Ping行为，但是可能你的网站会受到影响，甚至崩溃。</strong></div>
<h3>原文：<a title="WordPress Switches to Hourly Pinging, Tells No One" rel="bookmark" href="http://www.blogherald.com/2009/07/21/wordpress-switches-to-hourly-pinging-tells-no-one/">WordPress Switches to Hourly Pinging, Tells No One</a></h3>
<p>Blogger Christian Bolstad <a href="http://www.karamell.net/2009/07/19/wordpress-putting-the-real-time-web-to-a-halt/">found a new feature in WordPress 2.8</a>, undocumented and not among the <a href="http://codex.wordpress.org/Version_2.8">release notes</a> in the Codex. Basically, it changes the notification behavior of WordPress, from notifying ping services like Pingomatic and others you might use automatically when publishing a post or editing a previously published post, to doing a once an hour notification using the built-in pseudo cron.</p>
<p><strong>So why is this a bad thing?</strong> <em>[Note! Bullets updated below! See comments for more.]</em></p>
<ul>
<li>It delays updates to <del datetime="2009-07-26T12:21:50+00:00">the RSS feed</del> to services relying on pinging.</li>
<li>Delaying pings delaying all services depending on pinging.</li>
<li>Delaying pinging to middle man services means that syndication of the links will be delayed.</li>
</ul>
<p>My guess is that this feature was implemented to speed up the admin interface. After all, if you’ve got a bunch of services to ping, publishing or editing a published post would mean that you’d have to wait while the admin interface parsed through the pinging.</p>
<p>Christian Bolstad thinks <a href="http://www.karamell.net/2009/07/19/wordpress-putting-the-real-time-web-to-a-halt/">this is putting the real time web to a halt</a>. That might a bit over the top, but it does delay everything coming from a WordPress install.</p>
<p>Denis de Bernardy was the developer responsible for this change in behavior, and he find the post alarmist and intolerable. This are his words <a href="http://www.karamell.net/2009/07/19/wordpress-putting-the-real-time-web-to-a-halt/#comment-3456">in a comment on the post</a>:</p>
<blockquote><p>If an end user with no coding skills can’t write a patch, he can always submit a comment in trac, and suggest things to be done otherwise. That’s fine.</p>
<p>The same from a coder is not fine. Add an alarmist post on top, and things become intolerable. If a coder isn’t not happy with a behavior, he can and should write a patch. If he doesn’t, he should put up with the behavior.</p>
<p>As to why this wasn’t added in the release notes, it’s a Wiki. It occurred to nobody who contributed to them (without getting paid either) that it was worth a mention. Go right ahead and add the note yourself if you think it’s so important.</p></blockquote>
<p>Obviously he is just defending the decision to change the pinging behavior, albeit in a somewhat poor way. For some reason he thinks that <strong>coders are not allowed to criticize choices made,</strong> they should be quiet and submit patches instead. Let’s hope he didn’t really mean it that way. And the fact that an end user should update the release notes is something of an issue with open source overall, because as Bernardy says the developers do it on their free time. Ideally they would write complete release notes, but if the choice is to either finish a function/feature, or write the notes, the developer will finish his coding instead. As he should. Still, it is an issue as this discussion surely points out.</p>
<p>Anyway, one should be aware that WordPress per default does not ping on publish anymore, it does it on a per-hour basis instead. <strong>It is also a reminder of the fact that developers can change behavior at any time, and that it might in fact effect your site, or even break it.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://xwxy.zzspy.com/2009/07/23/wordpress-switches-to-hourly-pinging-tells-no-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
