<?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>nonozone &#187; 自动摘要</title>
	<atom:link href="http://www.nonozone.net/tag/%e8%87%aa%e5%8a%a8%e6%91%98%e8%a6%81/feed" rel="self" type="application/rss+xml" />
	<link>http://www.nonozone.net</link>
	<description>冷眼旁观互联网</description>
	<lastBuildDate>Mon, 16 Jan 2012 10:11:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WordPress自动摘要插件wp-utf8-excerpt</title>
		<link>http://www.nonozone.net/wordpress-plugins-wp-utf8-excerpt.html</link>
		<comments>http://www.nonozone.net/wordpress-plugins-wp-utf8-excerpt.html#comments</comments>
		<pubDate>Fri, 16 Apr 2010 10:04:18 +0000</pubDate>
		<dc:creator>nonozone</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[自动摘要]]></category>

		<guid isPermaLink="false">http://www.nonozone.net/wordpress-plugins-wp-utf8-excerpt.html</guid>
		<description><![CDATA[在使用wordpress发布文章的时候，如果有需要在首页只显示摘要，可以在撰写文章的时候在需要的地方插入一个&#60;!&#8211;more&#8211;&#62;标签就可以了，这种方法一时比较麻烦，二是如果是以往的文章就需要一个一个的插入标签，如何才可以实现自动截取呢？今天为大家介绍的这款WP-utf8-excerpt插件就可以很好的解决这个问题。 其实类似的插件我还用过很多，比如Limit Posts Automatically，Advanced Excerpt等等，但是很大一个问题就是对中文的支持不是很理想，比如要么不是严格按照中文字符来截取导致截取的文章有的长有的短，要么就是在截取的最后出出现乱码如？？，等等诸如此类的问题，那今天这个插件wp-utf8-excerpt就可以很好的解决这个问题。 首先这个插件也是国人开发的，作者博客地址：http://myfairland.net/ 使用很简单，上传激活，或者WP2.8版本的直接在后台新添插件，然后搜索插件名称，点击安装就可以了。接下来还需要对主题有一点点小小的改动： 在index.php文件找到下面这行： &#60;?php the_content(); ?&#62; 然后替换成以下内容： &#60;?php if (is_single() or is_page()) { the_content(); } else { the_excerpt(); } ?&#62; 可能有些主题在the_content()中还有一些字，比如the_content(’Continue Reading »’)，这种要把整句话换掉。有些主题用了其他文件来控制存档页面，如category.php、archive.php等，如有必要，请对这些文件也做修改。 然后在后台的设置页面就可以设置自由定义首页文章摘要字数及存档页文章摘要字数了！这个插件自己亲自测试成功，所以推荐给大家。只是本博客所用主题更加负责一些，就没有折腾了。<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="108" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="WordPress分页插件pagebar" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.nonozone.net%2Fwordpress-plugins-pagebar.html&from=http%3A%2F%2Fwww.nonozone.net%2Fwordpress-plugins-wp-utf8-excerpt.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 102px !important; height: 102px !important;" src="http://static.wumii.com/site_images/2011/09/01/26857442.gif" width="102px" height="102px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 108px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress分页插件pagebar</font>
                    </a>
                </td>
                <td width="108" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="我期望的twitter comments for wordpress评论插件" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.nonozone.net%2Fi-look-forward-to-the-wordpress-plugin-about-twitter-comments.html&from=http%3A%2F%2Fwww.nonozone.net%2Fwordpress-plugins-wp-utf8-excerpt.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 102px !important; height: 102px !important;" src="http://www.nonozone.net/wp-content/uploads/2011/09/dll-file.png" width="102px" height="102px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 108px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">我期望的twitter comments for wordpress评论插件</font>
                    </a>
                </td>
                <td width="108" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Simple tags更新，完全兼容wordpress2.7" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.nonozone.net%2Fsimple-tags-updated-compatible-wordpress27.html&from=http%3A%2F%2Fwww.nonozone.net%2Fwordpress-plugins-wp-utf8-excerpt.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 102px !important; height: 102px !important;" src="http://www.nonozone.net/wp-content/uploads/2011/09/dll-file.png" width="102px" height="102px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 108px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Simple tags更新，完全兼容wordpress2.7</font>
                    </a>
                </td>
                <td width="108" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="WordPress验证码防垃圾评论插件wp-seccode" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.nonozone.net%2Fwordpress-anti-spam-plugins-wp-seccode.html&from=http%3A%2F%2Fwww.nonozone.net%2Fwordpress-plugins-wp-utf8-excerpt.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 102px !important; height: 102px !important;" src="http://static.wumii.com/site_images/2011/09/18/31808714.png" width="102px" height="102px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 108px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress验证码防垃圾评论插件wp-seccode</font>
                    </a>
                </td>
                <td width="108" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="wordpress更新twitter插件twitterbot" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.nonozone.net%2Ftwitter-updates-wordpress-plugin-twitterbot.html&from=http%3A%2F%2Fwww.nonozone.net%2Fwordpress-plugins-wp-utf8-excerpt.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 102px !important; height: 102px !important;" src="http://static.wumii.com/site_images/2011/09/01/26859935.png" width="102px" height="102px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 108px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">wordpress更新twitter插件twitterbot</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>在使用wordpress发布文章的时候，如果有需要在首页只显示摘要，可以在撰写文章的时候在需要的地方插入一个&lt;!&#8211;more&#8211;&gt;标签就可以了，这种方法一时比较麻烦，二是如果是以往的文章就需要一个一个的插入标签，如何才可以实现自动截取呢？今天为大家介绍的这款<a href="http://wordpress.org/extend/plugins/wp-utf8-excerpt/" target="_blank">WP-utf8-excerpt</a>插件就可以很好的解决这个问题。</p>
<p>其实类似的插件我还用过很多，比如Limit Posts Automatically，Advanced Excerpt等等，但是很大一个问题就是对中文的支持不是很理想，比如要么不是严格按照中文字符来截取导致截取的文章有的长有的短，要么就是在截取的最后出出现乱码如？？，等等诸如此类的问题，那今天这个插件wp-utf8-excerpt就可以很好的解决这个问题。</p>
<p>首先这个插件也是国人开发的，作者博客地址：<a title="http://myfairland.net/" href="http://myfairland.net/">http://myfairland.net/</a></p>
<p>使用很简单，上传激活，或者WP2.8版本的直接在后台新添插件，然后搜索插件名称，点击安装就可以了。接下来还需要对主题有一点点小小的改动：</p>
<p>在index.php文件找到下面这行：</p>
<pre><code>    &lt;?php the_content(); ?&gt;
</code></pre>
<p>然后替换成以下内容：</p>
<pre><code>&lt;?php
        if (is_single() or is_page()) {
            the_content();
        } else {
            the_excerpt();
        }
    ?&gt;</code></pre>
<p>可能有些主题在the_content()中还有一些字，比如the_content(’Continue Reading »’)，这种要把整句话换掉。有些主题用了其他文件来控制存档页面，如category.php、archive.php等，如有必要，请对这些文件也做修改。</p>
<p>然后在后台的设置页面就可以设置自由定义首页文章摘要字数及存档页文章摘要字数了！这个插件自己亲自测试成功，所以推荐给大家。只是本博客所用主题更加负责一些，就没有折腾了。</p>
<br /><g:plusone size="" href="http%3A%2F%2Fwww.nonozone.net%2Fwordpress-plugins-wp-utf8-excerpt.html"></g:plusone><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="108" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="WordPress分页插件pagebar" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.nonozone.net%2Fwordpress-plugins-pagebar.html&from=http%3A%2F%2Fwww.nonozone.net%2Fwordpress-plugins-wp-utf8-excerpt.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 102px !important; height: 102px !important;" src="http://static.wumii.com/site_images/2011/09/01/26857442.gif" width="102px" height="102px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 108px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress分页插件pagebar</font>
                    </a>
                </td>
                <td width="108" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="我期望的twitter comments for wordpress评论插件" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.nonozone.net%2Fi-look-forward-to-the-wordpress-plugin-about-twitter-comments.html&from=http%3A%2F%2Fwww.nonozone.net%2Fwordpress-plugins-wp-utf8-excerpt.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 102px !important; height: 102px !important;" src="http://www.nonozone.net/wp-content/uploads/2011/09/dll-file.png" width="102px" height="102px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 108px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">我期望的twitter comments for wordpress评论插件</font>
                    </a>
                </td>
                <td width="108" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Simple tags更新，完全兼容wordpress2.7" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.nonozone.net%2Fsimple-tags-updated-compatible-wordpress27.html&from=http%3A%2F%2Fwww.nonozone.net%2Fwordpress-plugins-wp-utf8-excerpt.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 102px !important; height: 102px !important;" src="http://www.nonozone.net/wp-content/uploads/2011/09/dll-file.png" width="102px" height="102px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 108px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Simple tags更新，完全兼容wordpress2.7</font>
                    </a>
                </td>
                <td width="108" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="WordPress验证码防垃圾评论插件wp-seccode" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.nonozone.net%2Fwordpress-anti-spam-plugins-wp-seccode.html&from=http%3A%2F%2Fwww.nonozone.net%2Fwordpress-plugins-wp-utf8-excerpt.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 102px !important; height: 102px !important;" src="http://static.wumii.com/site_images/2011/09/18/31808714.png" width="102px" height="102px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 108px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress验证码防垃圾评论插件wp-seccode</font>
                    </a>
                </td>
                <td width="108" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="wordpress更新twitter插件twitterbot" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.nonozone.net%2Ftwitter-updates-wordpress-plugin-twitterbot.html&from=http%3A%2F%2Fwww.nonozone.net%2Fwordpress-plugins-wp-utf8-excerpt.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 102px !important; height: 102px !important;" src="http://static.wumii.com/site_images/2011/09/01/26859935.png" width="102px" height="102px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 108px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">wordpress更新twitter插件twitterbot</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.nonozone.net/wordpress-plugins-wp-utf8-excerpt.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

