<?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; WordPress</title>
	<atom:link href="http://aionshops.com/blog/category/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://aionshops.com</link>
	<description>工作的最高境界就是看着别人上班，领着别人的工资。</description>
	<lastBuildDate>Tue, 23 Mar 2010 14:57:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<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>
		<item>
		<title>26条WordPress .htaccess技巧</title>
		<link>http://aionshops.com/blog/2009/06/28/259.html</link>
		<comments>http://aionshops.com/blog/2009/06/28/259.html#comments</comments>
		<pubDate>Sun, 28 Jun 2009 08:31:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[.htaccess技巧]]></category>

		<guid isPermaLink="false">http://aionshops.com/?p=259</guid>
		<description><![CDATA[


 对于使用 LAMP（Linux+Apache+MySQL+PHP）结构来搭建自己的 WordPress 服务器平台的同学来说，.htaccess 文件再熟悉不过了。合理使用 .htaccess 能极大提高 WordPress 的安全性和易用性。在本篇 WordPress 教程中，我们从A到Z，一起来探讨26条WordPress .htaccess技巧。

1、保护 wp-admin 目录
wp-admin 是 WordPress 管理后台，我们可以限定 IP 访问，不让坏人越雷池一步：
order deny,allow
allow from a.b.c.d # This is your static IP
deny from all
2、Blacklist
绿光荭草小盆友曾非常困惑如何阻止某些 IP 访问其网站，答案就是建立黑名单：
order allow,deny
allow from all
deny from 123.456.789 # Change this IP instead that you want to deny
3、保护 WP-Config 文件
WP-Config 文件里存有数据库地址、用户名以及密码等敏感信息，保护起来吧：

order allow,deny
deny from all

4、Disable Directory [...]]]></description>
		<wfw:commentRss>http://aionshops.com/blog/2009/06/28/259.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
