<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>《WordPress 中 N合一的日志摘要方法》的评论</title>
	<atom:link href="http://wange.im/wordpress-post-excerpt-n-in-one.html/feed" rel="self" type="application/rss+xml" />
	<link>http://wange.im/wordpress-post-excerpt-n-in-one.html</link>
	<description>My Life, My Studio...</description>
	<lastBuildDate>Tue, 07 Feb 2012 07:56:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>作者：松原建网站</title>
		<link>http://wange.im/wordpress-post-excerpt-n-in-one.html/comment-page-1#comment-129642</link>
		<dc:creator>松原建网站</dc:creator>
		<pubDate>Thu, 10 Nov 2011 09:06:04 +0000</pubDate>
		<guid isPermaLink="false">http://wange.im/?p=3139#comment-129642</guid>
		<description>好高的人气啊</description>
		<content:encoded><![CDATA[<p>好高的人气啊</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：心叔</title>
		<link>http://wange.im/wordpress-post-excerpt-n-in-one.html/comment-page-1#comment-114539</link>
		<dc:creator>心叔</dc:creator>
		<pubDate>Fri, 20 May 2011 02:22:09 +0000</pubDate>
		<guid isPermaLink="false">http://wange.im/?p=3139#comment-114539</guid>
		<description>:cool: 我需要的是，可以在自定义摘要里面直接编辑HTML。。这个能实现吗？</description>
		<content:encoded><![CDATA[<p> <img src='http://wange.im/wp-includes/images/smilies/icon_cool.gif' alt=':cool:' class='wp-smiley' />  我需要的是，可以在自定义摘要里面直接编辑HTML。。这个能实现吗？</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：美韵榜网</title>
		<link>http://wange.im/wordpress-post-excerpt-n-in-one.html/comment-page-1#comment-98768</link>
		<dc:creator>美韵榜网</dc:creator>
		<pubDate>Fri, 25 Feb 2011 03:55:24 +0000</pubDate>
		<guid isPermaLink="false">http://wange.im/?p=3139#comment-98768</guid>
		<description>文章写的不错呀~</description>
		<content:encoded><![CDATA[<p>文章写的不错呀~</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：废纸篓</title>
		<link>http://wange.im/wordpress-post-excerpt-n-in-one.html/comment-page-1#comment-88505</link>
		<dc:creator>废纸篓</dc:creator>
		<pubDate>Wed, 05 Jan 2011 13:37:17 +0000</pubDate>
		<guid isPermaLink="false">http://wange.im/?p=3139#comment-88505</guid>
		<description>加MORE都嫌弃麻烦的话我觉得你该蛋疼了</description>
		<content:encoded><![CDATA[<p>加MORE都嫌弃麻烦的话我觉得你该蛋疼了</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：新主题呼之欲出(3) &#124; 阿邙’S Blog</title>
		<link>http://wange.im/wordpress-post-excerpt-n-in-one.html/comment-page-1#comment-50943</link>
		<dc:creator>新主题呼之欲出(3) &#124; 阿邙’S Blog</dc:creator>
		<pubDate>Sun, 06 Jun 2010 13:51:32 +0000</pubDate>
		<guid isPermaLink="false">http://wange.im/?p=3139#comment-50943</guid>
		<description>[...] 首页关于归档Wp相关左右间给我捎信干掉侧边栏首页&gt;WordPress&gt;∷新主题呼之欲出(3)∷&#160;看了万戈兄的文章摘要免插件输出总结:《Wordpress 中 N合一的日志摘要方法》,决定自己也折腾一把,去掉实现此功能的插件.结果发现我的主机貌似对mb_strimwidth函数的支持性比较差劲,虽然我也是php5,但输出的摘要末尾一个字符偶尔会是乱码.这样很不爽.的确很不爽.于是到处查找,综合了一个方法,是使不支持此函数的童鞋也能完美输出无乱码的摘要了.新主题呼之欲出(3)我也要完美的摘要!首先在主题function.php文件&lt;?php  代码   ?&gt;中,定义两个新的函数.代码如下: function Limit_Char($max_char = 200, $more_text = &#039;...&#039;, $more_link_text = &#039;&#039;, $limit_type = &#039;content&#039;) { if ($limit_type == &#039;title&#039;) { $limiter = get_the_title(); } else { $limiter = get_the_content(); } $limiter = apply_filters(&#039;the_content&#039;, $limiter); $limiter = strip_tags(str_replace(&#039;]]&gt;&#039;, &#039;]]&gt;&#039;, $limiter)); if (strlen($limiter) &gt; $max_char) { $limiter = substr($limiter, 0, $max_char+1); $limiter = utf8_conver($limiter); echo $limiter; echo $more_text; if ($more_link_text != &#039;&#039;) { echo &#039; &lt;a href=&quot;&#039;; echo the_permalink(); echo &#039;&quot;&gt;&#039;.$more_link_text.&#039;&lt;/a&gt;&#039;; } } else { echo $limiter; } } function utf8_conver($str) { $len = strlen($str); for ($i=strlen($str)-1; $i&gt;=0; $i-=1){ $hex .= &#039; &#039;.ord($str[$i]); $ch = ord($str[$i]); if (($ch &amp; 128)==0) return(substr($str,0,$i)); if (($ch &amp; 192)==192) return(substr($str,0,$i)); } return($str.$hex); }上面代码能够实现utf-8格式的中文无乱码输出摘要,并且如果使用了more标签,那么会自动输出more标签前的为摘要.函数定义完毕,那么我们如果想要在哪里显示摘要内容,就插入代码如下:&lt;?php Limit_Char(200); ?&gt; &lt;!-- 200是你需要截断多少字节的长度，根据实际情况修改。--&gt;Ps:以上方法来源于Jackly:彻底解决wordpress中文截断产生乱码的方法这样还不够完美,如果你自定义了摘要,用此代码不会输出自定义摘要内容.我参考万戈童鞋的方法,修改在显示摘要位置需要的代码如下:&lt;div&gt; &lt;?php $myExcerpt = $post-&gt;post_excerpt; //如果自定义摘要内容为空 if ( empty ( $myExcerpt ) ) { echo Limit_Char(500);} //输出我们定义的函数产生的摘要 else { //自定义摘要不为空则摘出自定义摘要末尾显示..... echo $myExcerpt.&quot;......&quot;; } ?&gt; &lt;/div&gt;当然了,前提是要在function.php中定义我们刚才讲的那两个新函数.由此一来,当你在文章中使用了more标签,那么程序就会将文章摘要输出为more标签前的文字;当你在发布文章时自定义了摘要内容,那么程序就会将文章摘要输出为自定义文章摘要;当你上面两种都没做的时候,程序就会将文章摘要输出为我们定义的函数所控制的500字摘要.这个也是真对我的新主题应用的一个方法.新主题已经有了雏形了,但还不是很完善,先放个预览出来:google_ad_client = &quot;pub-8840778242744981&quot;; /* 468x15, 创建于 10-6-1 */ google_ad_slot = &quot;2698087236&quot;; google_ad_width = 568; google_ad_height = 15;  相关标签: more标签,WordPress,截断,摘要,自定义 &#124;&#187;本博客所有文章欢迎转载，请遵循 !，&#124;&#187;转载请注明来源:阿邙’S Blog &#187;新主题呼之欲出(3)&#124;&#187;本文链接地址:http://amangs.com/wordpress/my-news-theme-coming-soon-3.html&#124;&#187;本文短网址：,你可以将本文地址转发至微博。 这篇文章发表 于 2010年06月06日,星期天 0人浏览, 21:37 文章分类为WordPress. 你可以通过 RSS 2.0订阅. 也可以 发表评论, 或者进行trackback.  上一篇: 乐铺送大礼，博主撰文喜 相关日志 随机文章 热门文章          光09-07-06 但愿长醉不复醒周杰伦新专辑《摩杰座》第二主打《乔克叔叔》网络热门文章推荐：看看乞丐是怎么分析市场的？DIY的远距离无线上网，农民雄起暮地……也谈修改.htaccess文件进行301重定向.vps更换php环境小计.腾讯微博邀请码激情发放! (67)我的Wordpress，这些一个都不能少（一） (60)「暖暖为你」Doulex鼠标灯,温馨暖人间! (46)我的Wordpress，这些一个都不能少（二） (44)咱也搬家到衡天小张啦~ (39)搬家至vpsyou! (39)Hit FM杰伦新歌《超人不会飞》全球首播 (37)也谈修改.htaccess文件进行301重定向. (33) 本篇文章有一条评论 林木木    说：2010年六月 6日于21:50一直用more标签…… 回复留下评论 点击这里取消回复称呼 (*)Mail (*,不会被公开)站点地址﻿/**/                     &lt;&lt;勾选这里推荐你的最新日志！最新评论近期热评随机文章林木木：一直用more标签……Ray Chow：这一页严重错位？Ray Chow：插件很不错很实用diyidu：哇噻，这个还有啊！万戈：牛人啊，自己做插件，厉害厉害，佩服佩服joyla：在我眼里，这篇文章已经是家喻户晓了一样！JasonChao：嘿嘿，我也收到了iamlukas：再买就打算买苹果的  ...ikeeptrying：这个看过了~没什么说法~闲云野鹤：对于我来说有点贵,玩不起啊! :arro...腾讯微博邀请码激情发放! (67)我的Wordpress，这些一个都不能少（一） (60)「暖暖为你」Doulex鼠标灯,温馨暖人间! (46)我的Wordpress，这些一个都不能少（二） (44)咱也搬家到衡天小张啦~ (39)搬家至vpsyou! (39)Hit FM杰伦新歌《超人不会飞》全球首播 (37)也谈修改.htaccess文件进行301重定向. (33)wp_list_comments结构分析 (23)关于现在的生活 (23)将GIF动画导入Photoshop CS3 [以及CS4]教你如何游泳（有动态图）FlashFXP空闲时也保持连接2009-08-30 末哑巴My girl~！谷歌搜索服务退出中国内地市场test往事随风妈妈生日快乐！榜单推荐点击评论加入榜单唠叨几句眼睛今天好多了总算是..&amp;nbsp唠叨于23小时前&amp;nbsp回复一不小心删除了数据库,这几天真的很郁闷,.做什么都不顺..&amp;nbsp唠叨于23小时前&amp;nbsp回复文章分类今日事 (165)WordPress (17)Code (6)术业攻 (5)他山石 (41)乱七杂八 (7)知识库 (8)眼耳口 (22)最新文章新主题呼之欲出(3) 乐铺送大礼，博主撰文喜 插件发布 Wp Plugin:MO Widgets 灵动边栏 通过Api调用腾讯微博到任何位置. 新主题呼之欲出(2) 新主题呼之欲出(1) Wordpress免插件实现五类文章输出 ThinkPad引发的血案 「暖暖为你」Doulex鼠标灯,温馨暖人间! vps更换php环境小计. 左邻右里够酷℃羽毛の家互联风尚创意星空老七博客可可美食闲云野鹤老孙博客链链更健康soluo博客歪歪八卦网友链联盟中国红酒网中国博客联盟 © 2006-2012 &#124; 阿邙’S BlogBm&#124;站点地图 var _bdhmProtocol = ((&quot;https:&quot; == document.location.protocol) ? &quot; https://&quot; : &quot; http://&quot;); document.write(unescape(&quot;%3Cscript src=&#039;&quot; + _bdhmProtocol + &quot;hm.baidu.com/h.js%3Fe101a1b399fbb159515843183b59037a&#039; type=&#039;text/javascript&#039;%3E%3C/script%3E&quot;));   (function(){ var corecss = document.createElement(&#039;link&#039;); var themecss = document.createElement(&#039;link&#039;); var corecssurl = &quot;http://amangs.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter/styles/shCore.css?ver=2.1.364b&quot;; if ( corecss.setAttribute ) { corecss.setAttribute( &quot;rel&quot;, &quot;stylesheet&quot; ); corecss.setAttribute( &quot;type&quot;, &quot;text/css&quot; ); corecss.setAttribute( &quot;href&quot;, corecssurl ); } else { corecss.rel = &quot;stylesheet&quot;; corecss.href = corecssurl; } document.getElementsByTagName(&quot;head&quot;)[0].appendChild(corecss); var themecssurl = &quot;http://amangs.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter/styles/shThemeRDark.css?ver=2.1.364b&quot;; if ( themecss.setAttribute ) { themecss.setAttribute( &quot;rel&quot;, &quot;stylesheet&quot; ); themecss.setAttribute( &quot;type&quot;, &quot;text/css&quot; ); themecss.setAttribute( &quot;href&quot;, themecssurl ); } else { themecss.rel = &quot;stylesheet&quot;; themecss.href = themecssurl; } document.getElementsByTagName(&quot;head&quot;)[0].appendChild(themecss); })(); SyntaxHighlighter.config.clipboardSwf = &#039;http://amangs.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter/scripts/clipboard.swf&#039;; SyntaxHighlighter.config.strings.expandSource = &#039;show source&#039;; SyntaxHighlighter.config.strings.viewSource = &#039;查看源代码&#039;; SyntaxHighlighter.config.strings.copyToClipboard = &#039;复制到剪贴板&#039;; SyntaxHighlighter.config.strings.copyToClipboardConfirmation = &#039;代码现在在你的剪贴板&#039;; SyntaxHighlighter.config.strings.print = &#039;打印&#039;; SyntaxHighlighter.config.strings.help = &#039;帮助&#039;; SyntaxHighlighter.config.strings.alert = &#039;SyntaxHighlighternn&#039;; SyntaxHighlighter.config.strings.noBrush = &#039;无法找到Brush：&#039;; SyntaxHighlighter.config.strings.brushNotHtmlScript = &#039;Brush不能设置 html-script选项&#039;; SyntaxHighlighter.defaults[&#039;auto-links&#039;] = false; SyntaxHighlighter.defaults[&#039;gutter&#039;] = false; SyntaxHighlighter.defaults[&#039;smart-tabs&#039;] = false; SyntaxHighlighter.all();$(document).ready(function(){ DD_roundies.addRule(&#039;#sidebar-tab,.post, .sticky, .curved, .widget,.navigation,.submit&#039;, 12, true); DD_roundies.addRule(&#039;.downright&#039;, &#039;0 0 0 6px&#039;, true); DD_roundies.addRule(&#039;.avli,.avatars,.postfeet,ol.commentlist li&#039;, &#039;10px 30px 10px 6px&#039;, true); DD_roundies.addRule(&#039;.ta-pageimg-left a img,ol.commentlist li div.reply&#039;, 8, true); DD_roundies.addRule(&#039;#comment&#039;, &#039;15px 15px 50px 10px&#039;, true); }) [...]</description>
		<content:encoded><![CDATA[<p>[...] 首页关于归档Wp相关左右间给我捎信干掉侧边栏首页&gt;WordPress&gt;∷新主题呼之欲出(3)∷&nbsp;看了万戈兄的文章摘要免插件输出总结:《Wordpress 中 N合一的日志摘要方法》,决定自己也折腾一把,去掉实现此功能的插件.结果发现我的主机貌似对mb_strimwidth函数的支持性比较差劲,虽然我也是php5,但输出的摘要末尾一个字符偶尔会是乱码.这样很不爽.的确很不爽.于是到处查找,综合了一个方法,是使不支持此函数的童鞋也能完美输出无乱码的摘要了.新主题呼之欲出(3)我也要完美的摘要!首先在主题function.php文件&lt;?php  代码   ?&gt;中,定义两个新的函数.代码如下: function Limit_Char($max_char = 200, $more_text = &#39;...&#39;, $more_link_text = &#39;&#39;, $limit_type = &#39;content&#39;) { if ($limit_type == &#39;title&#39;) { $limiter = get_the_title(); } else { $limiter = get_the_content(); } $limiter = apply_filters(&#39;the_content&#39;, $limiter); $limiter = strip_tags(str_replace(&#39;]]&gt;&#39;, &#39;]]&gt;&#39;, $limiter)); if (strlen($limiter) &gt; $max_char) { $limiter = substr($limiter, 0, $max_char+1); $limiter = utf8_conver($limiter); echo $limiter; echo $more_text; if ($more_link_text != &#39;&#39;) { echo &#39; &lt;a href=&quot;&#39;; echo the_permalink(); echo &#39;&quot;&gt;&#39;.$more_link_text.&#39;&lt;/a&gt;&#39;; } } else { echo $limiter; } } function utf8_conver($str) { $len = strlen($str); for ($i=strlen($str)-1; $i&gt;=0; $i-=1){ $hex .= &#39; &#39;.ord($str[$i]); $ch = ord($str[$i]); if (($ch &amp; 128)==0) return(substr($str,0,$i)); if (($ch &amp; 192)==192) return(substr($str,0,$i)); } return($str.$hex); }上面代码能够实现utf-8格式的中文无乱码输出摘要,并且如果使用了more标签,那么会自动输出more标签前的为摘要.函数定义完毕,那么我们如果想要在哪里显示摘要内容,就插入代码如下:&lt;?php Limit_Char(200); ?&gt; &lt;!-- 200是你需要截断多少字节的长度，根据实际情况修改。--&gt;Ps:以上方法来源于Jackly:彻底解决wordpress中文截断产生乱码的方法这样还不够完美,如果你自定义了摘要,用此代码不会输出自定义摘要内容.我参考万戈童鞋的方法,修改在显示摘要位置需要的代码如下:&lt;div&gt; &lt;?php $myExcerpt = $post-&gt;post_excerpt; //如果自定义摘要内容为空 if ( empty ( $myExcerpt ) ) { echo Limit_Char(500);} //输出我们定义的函数产生的摘要 else { //自定义摘要不为空则摘出自定义摘要末尾显示..... echo $myExcerpt.&quot;......&quot;; } ?&gt; &lt;/div&gt;当然了,前提是要在function.php中定义我们刚才讲的那两个新函数.由此一来,当你在文章中使用了more标签,那么程序就会将文章摘要输出为more标签前的文字;当你在发布文章时自定义了摘要内容,那么程序就会将文章摘要输出为自定义文章摘要;当你上面两种都没做的时候,程序就会将文章摘要输出为我们定义的函数所控制的500字摘要.这个也是真对我的新主题应用的一个方法.新主题已经有了雏形了,但还不是很完善,先放个预览出来:google_ad_client = &quot;pub-8840778242744981&quot;; /* 468x15, 创建于 10-6-1 */ google_ad_slot = &quot;2698087236&quot;; google_ad_width = 568; google_ad_height = 15;  相关标签: more标签,WordPress,截断,摘要,自定义 |&raquo;本博客所有文章欢迎转载，请遵循 !，|&raquo;转载请注明来源:阿邙’S Blog &raquo;新主题呼之欲出(3)|&raquo;本文链接地址:<a href="http://amangs.com/wordpress/my-news-theme-coming-soon-3.html" rel="nofollow">http://amangs.com/wordpress/my-news-theme-coming-soon-3.html</a>|&raquo;本文短网址：,你可以将本文地址转发至微博。 这篇文章发表 于 2010年06月06日,星期天 0人浏览, 21:37 文章分类为WordPress. 你可以通过 RSS 2.0订阅. 也可以 发表评论, 或者进行trackback.  上一篇: 乐铺送大礼，博主撰文喜 相关日志 随机文章 热门文章          光09-07-06 但愿长醉不复醒周杰伦新专辑《摩杰座》第二主打《乔克叔叔》网络热门文章推荐：看看乞丐是怎么分析市场的？DIY的远距离无线上网，农民雄起暮地……也谈修改.htaccess文件进行301重定向.vps更换php环境小计.腾讯微博邀请码激情发放! (67)我的Wordpress，这些一个都不能少（一） (60)「暖暖为你」Doulex鼠标灯,温馨暖人间! (46)我的Wordpress，这些一个都不能少（二） (44)咱也搬家到衡天小张啦~ (39)搬家至vpsyou! (39)Hit FM杰伦新歌《超人不会飞》全球首播 (37)也谈修改.htaccess文件进行301重定向. (33) 本篇文章有一条评论 林木木    说：2010年六月 6日于21:50一直用more标签…… 回复留下评论 点击这里取消回复称呼 (*)Mail (*,不会被公开)站点地址﻿/**/                     &lt;&lt;勾选这里推荐你的最新日志！最新评论近期热评随机文章林木木：一直用more标签……Ray Chow：这一页严重错位？Ray Chow：插件很不错很实用diyidu：哇噻，这个还有啊！万戈：牛人啊，自己做插件，厉害厉害，佩服佩服joyla：在我眼里，这篇文章已经是家喻户晓了一样！JasonChao：嘿嘿，我也收到了iamlukas：再买就打算买苹果的  ...ikeeptrying：这个看过了~没什么说法~闲云野鹤：对于我来说有点贵,玩不起啊! :arro...腾讯微博邀请码激情发放! (67)我的Wordpress，这些一个都不能少（一） (60)「暖暖为你」Doulex鼠标灯,温馨暖人间! (46)我的Wordpress，这些一个都不能少（二） (44)咱也搬家到衡天小张啦~ (39)搬家至vpsyou! (39)Hit FM杰伦新歌《超人不会飞》全球首播 (37)也谈修改.htaccess文件进行301重定向. (33)wp_list_comments结构分析 (23)关于现在的生活 (23)将GIF动画导入Photoshop CS3 [以及CS4]教你如何游泳（有动态图）FlashFXP空闲时也保持连接2009-08-30 末哑巴My girl~！谷歌搜索服务退出中国内地市场test往事随风妈妈生日快乐！榜单推荐点击评论加入榜单唠叨几句眼睛今天好多了总算是..&amp;nbsp唠叨于23小时前&amp;nbsp回复一不小心删除了数据库,这几天真的很郁闷,.做什么都不顺..&amp;nbsp唠叨于23小时前&amp;nbsp回复文章分类今日事 (165)WordPress (17)Code (6)术业攻 (5)他山石 (41)乱七杂八 (7)知识库 (8)眼耳口 (22)最新文章新主题呼之欲出(3) 乐铺送大礼，博主撰文喜 插件发布 Wp Plugin:MO Widgets 灵动边栏 通过Api调用腾讯微博到任何位置. 新主题呼之欲出(2) 新主题呼之欲出(1) WordPress免插件实现五类文章输出 ThinkPad引发的血案 「暖暖为你」Doulex鼠标灯,温馨暖人间! vps更换php环境小计. 左邻右里够酷℃羽毛の家互联风尚创意星空老七博客可可美食闲云野鹤老孙博客链链更健康soluo博客歪歪八卦网友链联盟中国红酒网中国博客联盟 © 2006-2012 | 阿邙’S BlogBm|站点地图 var _bdhmProtocol = ((&quot;https:&quot; == document.location.protocol) ? &quot; <a href="https://&#038;quot" rel="nofollow">https://&#038;quot</a>; : &quot; <a href="http://&#038;quot" rel="nofollow">http://&#038;quot</a> <img src='http://wange.im/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ; document.write(unescape(&quot;%3Cscript src=&#39;&quot; + _bdhmProtocol + &quot;hm.baidu.com/h.js%3Fe101a1b399fbb159515843183b59037a&#39; type=&#39;text/javascript&#39;%3E%3C/script%3E&quot;));   (function(){ var corecss = document.createElement(&#39;link&#39;); var themecss = document.createElement(&#39;link&#39;); var corecssurl = &quot;<a href="http://amangs.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter/styles/shCore.css?ver=2.1.364b&quot;" rel="nofollow">http://amangs.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter/styles/shCore.css?ver=2.1.364b&quot;</a>; if ( corecss.setAttribute ) { corecss.setAttribute( &quot;rel&quot;, &quot;stylesheet&quot; ); corecss.setAttribute( &quot;type&quot;, &quot;text/css&quot; ); corecss.setAttribute( &quot;href&quot;, corecssurl ); } else { corecss.rel = &quot;stylesheet&quot;; corecss.href = corecssurl; } document.getElementsByTagName(&quot;head&quot;)[0].appendChild(corecss); var themecssurl = &quot;<a href="http://amangs.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter/styles/shThemeRDark.css?ver=2.1.364b&quot;" rel="nofollow">http://amangs.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter/styles/shThemeRDark.css?ver=2.1.364b&quot;</a>; if ( themecss.setAttribute ) { themecss.setAttribute( &quot;rel&quot;, &quot;stylesheet&quot; ); themecss.setAttribute( &quot;type&quot;, &quot;text/css&quot; ); themecss.setAttribute( &quot;href&quot;, themecssurl ); } else { themecss.rel = &quot;stylesheet&quot;; themecss.href = themecssurl; } document.getElementsByTagName(&quot;head&quot;)[0].appendChild(themecss); })(); SyntaxHighlighter.config.clipboardSwf = &#39;<a href="http://amangs.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter/scripts/clipboard.swf&#039;" rel="nofollow">http://amangs.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter/scripts/clipboard.swf&#039;</a>; SyntaxHighlighter.config.strings.expandSource = &#39;show source&#39;; SyntaxHighlighter.config.strings.viewSource = &#39;查看源代码&#39;; SyntaxHighlighter.config.strings.copyToClipboard = &#39;复制到剪贴板&#39;; SyntaxHighlighter.config.strings.copyToClipboardConfirmation = &#39;代码现在在你的剪贴板&#39;; SyntaxHighlighter.config.strings.print = &#39;打印&#39;; SyntaxHighlighter.config.strings.help = &#39;帮助&#39;; SyntaxHighlighter.config.strings.alert = &#39;SyntaxHighlighternn&#39;; SyntaxHighlighter.config.strings.noBrush = &#39;无法找到Brush：&#39;; SyntaxHighlighter.config.strings.brushNotHtmlScript = &#39;Brush不能设置 html-script选项&#39;; SyntaxHighlighter.defaults[&#39;auto-links&#39;] = false; SyntaxHighlighter.defaults[&#39;gutter&#39;] = false; SyntaxHighlighter.defaults[&#39;smart-tabs&#39;] = false; SyntaxHighlighter.all();$(document).ready(function(){ DD_roundies.addRule(&#39;#sidebar-tab,.post, .sticky, .curved, .widget,.navigation,.submit&#39;, 12, true); DD_roundies.addRule(&#39;.downright&#39;, &#39;0 0 0 6px&#39;, true); DD_roundies.addRule(&#39;.avli,.avatars,.postfeet,ol.commentlist li&#39;, &#39;10px 30px 10px 6px&#39;, true); DD_roundies.addRule(&#39;.ta-pageimg-left a img,ol.commentlist li div.reply&#39;, 8, true); DD_roundies.addRule(&#39;#comment&#39;, &#39;15px 15px 50px 10px&#39;, true); }) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：流年</title>
		<link>http://wange.im/wordpress-post-excerpt-n-in-one.html/comment-page-1#comment-50918</link>
		<dc:creator>流年</dc:creator>
		<pubDate>Sun, 06 Jun 2010 10:19:26 +0000</pubDate>
		<guid isPermaLink="false">http://wange.im/?p=3139#comment-50918</guid>
		<description>是不是需要显示指定为utf-8编码呢？</description>
		<content:encoded><![CDATA[<p>是不是需要显示指定为utf-8编码呢？</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：万戈</title>
		<link>http://wange.im/wordpress-post-excerpt-n-in-one.html/comment-page-1#comment-49067</link>
		<dc:creator>万戈</dc:creator>
		<pubDate>Mon, 31 May 2010 07:48:27 +0000</pubDate>
		<guid isPermaLink="false">http://wange.im/?p=3139#comment-49067</guid>
		<description>:eek: PHP5应该是支持此函数的说，原因不明～</description>
		<content:encoded><![CDATA[<p> <img src='http://wange.im/wp-includes/images/smilies/icon_surprised.gif' alt=':eek:' class='wp-smiley' />  PHP5应该是支持此函数的说，原因不明～</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：阿邙</title>
		<link>http://wange.im/wordpress-post-excerpt-n-in-one.html/comment-page-1#comment-49066</link>
		<dc:creator>阿邙</dc:creator>
		<pubDate>Mon, 31 May 2010 07:45:56 +0000</pubDate>
		<guid isPermaLink="false">http://wange.im/?p=3139#comment-49066</guid>
		<description>linux vps啊，php5的没错。</description>
		<content:encoded><![CDATA[<p>linux vps啊，php5的没错。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：万戈</title>
		<link>http://wange.im/wordpress-post-excerpt-n-in-one.html/comment-page-1#comment-49062</link>
		<dc:creator>万戈</dc:creator>
		<pubDate>Mon, 31 May 2010 07:40:17 +0000</pubDate>
		<guid isPermaLink="false">http://wange.im/?p=3139#comment-49062</guid>
		<description>难道你是win主机？不支持mb_strimwidth函数？</description>
		<content:encoded><![CDATA[<p>难道你是win主机？不支持mb_strimwidth函数？</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：阿邙</title>
		<link>http://wange.im/wordpress-post-excerpt-n-in-one.html/comment-page-1#comment-49052</link>
		<dc:creator>阿邙</dc:creator>
		<pubDate>Mon, 31 May 2010 06:12:47 +0000</pubDate>
		<guid isPermaLink="false">http://wange.im/?p=3139#comment-49052</guid>
		<description>这样输出的摘要 最后一个字有的会是一个黑底的问号 有办法解决么?</description>
		<content:encoded><![CDATA[<p>这样输出的摘要 最后一个字有的会是一个黑底的问号 有办法解决么?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

