<?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>77的小日子 &#187; PostRatings</title>
	<atom:link href="http://www.joyceday.com/tag/postratings/feed" rel="self" type="application/rss+xml" />
	<link>http://www.joyceday.com</link>
	<description>—— 记录成长 分享喜悦</description>
	<lastBuildDate>Mon, 09 Jan 2012 06:40:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Warning in html_entity_decode()!</title>
		<link>http://www.joyceday.com/something/html_entity_decode.html</link>
		<comments>http://www.joyceday.com/something/html_entity_decode.html#comments</comments>
		<pubDate>Mon, 25 Aug 2008 06:06:32 +0000</pubDate>
		<dc:creator>77妈</dc:creator>
				<category><![CDATA[杂七杂八]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[MBCS]]></category>
		<category><![CDATA[PostRatings]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WP]]></category>

		<guid isPermaLink="false">http://www.joyceday.com/?p=279</guid>
		<description><![CDATA[现在用的主题在使用 WP-PostRatings 这个外挂，所以想到在侧栏放一个“热门日志”的分类。特地问 prower 要了代码，那曾想突然冒出许多Warning。网上搜了下，总算是搞定了。如果有朋友碰到同样的问题，请看下面的解决方案，还是很简便的！  使用 WP-PostRatings 这个外挂的朋友，可能会遇到 WP-PostRatings 升級到1.30版后，侧栏出现很多Warning: cannot yet handle MBCS in html_entity_decode()! ……的错误信息，这是因为主机PHP版本还是4.X而WordPress已经升级到2.5.1版以上的关系。避免这样的错误出现，可以在主题文件夹内，找到会出现 WP-PostRatings Widget 的文件（例如sidebar.php，page.php，single.php等等），打开文件，并在最上方的地方加上 &#60;? error_reporting(0); ?&#62; ，这样应该就可以避免 Warning: cannot yet handle MBCS in html_entity_decode()!  这样错误信息的出现了。 参考资料：原文链接 WP-PostRatings讨论区]]></description>
			<content:encoded><![CDATA[<p>现在用的主题在使用 <a href="http://lesterchan.net/portfolio/programming/php/">WP-PostRatings</a> 这个外挂，所以想到在侧栏放一个“热门日志”的分类。特地问 <a href="http://www.prower.cn">prower</a> 要了代码，那曾想突然冒出许多Warning。网上搜了下，总算是搞定了。如果有朋友碰到同样的问题，请看下面的解决方案，还是很简便的！ </p>
<p>使用 WP-PostRatings 这个外挂的朋友，可能会遇到 WP-PostRatings 升級到1.30版后，侧栏出现很多Warning: cannot yet handle MBCS in html_entity_decode()! ……的错误信息，这是因为主机PHP版本还是4.X而WordPress已经升级到2.5.1版以上的关系。避免这样的错误出现，可以在主题文件夹内，找到会出现 WP-PostRatings Widget 的文件（例如sidebar.php，page.php，single.php等等），打开文件，并在最上方的地方加上 <span style="color: #ff0000;">&lt;? error_reporting(0); ?&gt; </span>，这样应该就可以避免 Warning: cannot yet handle MBCS in html_entity_decode()!  这样错误信息的出现了。</p>
<p>参考资料：<a href="http://www.wordpress.com.tw/?p=116">原文链接</a> <a href="http://forums.lesterchan.net/index.php?topic=1945.0">WP-PostRatings讨论区</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.joyceday.com/something/html_entity_decode.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

