<?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>Da苹果 &#187; 留言</title>
	<atom:link href="http://aionshops.com/blog/tag/%e7%95%99%e8%a8%80/feed" rel="self" type="application/rss+xml" />
	<link>http://aionshops.com</link>
	<description>工作的最高境界就是看着别人上班，领着别人的工资。</description>
	<lastBuildDate>Sun, 22 Aug 2010 00:07:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>如何在 WordPress 评论贴图</title>
		<link>http://aionshops.com/blog/2009/06/28/263.html</link>
		<comments>http://aionshops.com/blog/2009/06/28/263.html#comments</comments>
		<pubDate>Sun, 28 Jun 2009 08:46:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[图片]]></category>
		<category><![CDATA[留言]]></category>

		<guid isPermaLink="false">http://aionshops.com/?p=263</guid>
		<description><![CDATA[在 WordPress 评论的内容中，如果用 〈img src=&#8221;图片地址&#8221; /〉 的语法，将被 WordPress 自带的过滤器删除，所以评论后看不到贴图。你可以利用类似 Quotmarks Replacer 阻止全角转换的方法阻止过滤器的运作，但对访客来说，输入语法是件不方便的事，万一输错了，还是要被过滤掉。所以最好是让访客直接输入&#8221;图片位址&#8221;就好。 实现让 WordPress 在评论上贴图有三步骤： 〈1〉Wordpress 的评论不能用 〈img〉，我们就改用 [img]，所以先准备个转换字元的函式： 将下段放在 functions.php 中： /* Comment Image Embedder */ function embed_images($content) { $content = preg_replace('/\[img=?\]*(.*?)(\[\/img)?\]/e', '"]]></description>
		<wfw:commentRss>http://aionshops.com/blog/2009/06/28/263.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
