<?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>joolix.com &#187; plug-in</title>
	<atom:link href="http://joolix.com/tag/plug-in/feed/" rel="self" type="application/rss+xml" />
	<link>http://joolix.com</link>
	<description>Joolix, linux everywhere!</description>
	<lastBuildDate>Thu, 22 Jul 2010 03:33:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>［转］让wordpress博客首页显示文章摘要</title>
		<link>http://joolix.com/2009/01/wordpress-chinese-abstract-plug-in/</link>
		<comments>http://joolix.com/2009/01/wordpress-chinese-abstract-plug-in/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 14:30:57 +0000</pubDate>
		<dc:creator>xiooli</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[plug-in]]></category>

		<guid isPermaLink="false">http://joolix.com/?p=53</guid>
		<description><![CDATA[一直很不喜欢wp在我的主页上全文显示文章，于是乎请教于google老师，终于功夫不负有心人，最终让我给找着一个插件： wp-CJK-excerpt
以下来源于作者博客：
Wordpress显示文章摘要插件wp首页和目录页显示摘要的方法
Yskin’s wp-CJK-excerpt 1.3 为WordPress用户提供更好的摘要算法，以解决WordPress默认摘要算法只考虑西方语言的不足。使用这个插件可以很好地显示文章摘要。 作者: Yskin 的网站坏了，找了半天才找到下载地址：
<span class="readmore"><a href="http://joolix.com/2009/01/wordpress-chinese-abstract-plug-in/" title="［转］让wordpress博客首页显示文章摘要" target="_blank">阅读全文——共963字</a></span>]]></description>
			<content:encoded><![CDATA[<p>一直很不喜欢wp在我的主页上全文显示文章，于是乎请教于google老师，终于功夫不负有心人，最终让我给找着一个插件： <a href="http://yskin.net/wp-content/uploads/wp-plugins/wp-CJK-excerpt.rar" target="_blank">wp-CJK-excerpt</a><br />
以下来源于<a href="http://hi.baidu.com/zagj11/blog/item/1e636824211aa2044c088db8.html" target="_blank">作者博客</a>：</p>
<blockquote><p>Wordpress显示文章摘要插件wp首页和目录页显示摘要的方法<br />
Yskin’s wp-CJK-excerpt 1.3 为WordPress用户提供更好的摘要算法，以解决WordPress默认摘要算法只考虑西方语言的不足。使用这个插件可以很好地显示文章摘要。 作者: Yskin 的网站坏了，找了半天才找到下载地址：<br />
wp-CJK-excerpt 1.3 下载地址<br />
要修改模板文件index.php页面中的下面这行代码：</p>
<p>&lt;?php the_content(&#8217;Read the rest of this entry ?&#8217;); /*引号中也有可能是其它内容*/ ?&gt;<br />
修改这一行为:</p>
<p>&lt;?php the_excerpt(); ?&gt;<br />
对于没有single.php页面的，还需要自建一个single.php文件，添加如下代码：</p>
<p>&lt;?php if (is_single()) { ?&gt;<br />
&lt;?php the_content(’Read the rest of this entry ?’); ?&gt;<br />
&lt;?php } else { ?&gt;<br />
&lt;?php the_excerpt(); ?&gt;<br />
&lt;?php } ?&gt;<br />
这样就可以了。</p>
<p>此外，对于K2主题，是修改theloop.php文件，找到</p>
<p>&lt;?php the_content(sprintf(__(’Continue reading \’%s\”, ‘k2_domain’), the_title(”, ”, false)));?&gt;<br />
然后改成</p>
<p>&lt;?php if (is_single()) { ?&gt;<br />
&lt;?php the_content(sprintf(__(’Continue reading \’%s\”, ‘k2_domain’), the_title(”, ”, false)));?&gt;<br />
&lt;?php } else { ?&gt;<br />
&lt;?php the_excerpt(); ?&gt;<br />
&lt;?php } ?&gt;<br />
就可以了。</p>
<p>问一个问题：为什么我在配制完成后只在主页里能看到摘要，而在Categories和Archives中仍是全文？？<br />
谢谢~~</p>
<p>回答：在Categories和Archives相应模板里也要改一下</p></blockquote>
<p>经过试验感觉不错，在写文章的时候如果你自己有写摘要，那么就会显示你自己的摘要，如果没有就会给你自动生成一个摘要。</p>
]]></content:encoded>
			<wfw:commentRss>http://joolix.com/2009/01/wordpress-chinese-abstract-plug-in/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
