<?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>陈志伟博客 &#187; 插件</title>
	<atom:link href="http://chenzhiwei.net/tag/%e6%8f%92%e4%bb%b6/feed/" rel="self" type="application/rss+xml" />
	<link>http://chenzhiwei.net</link>
	<description>善始者实繁，克终者盖寡。</description>
	<lastBuildDate>Sat, 17 Mar 2012 04:16:44 +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>推荐使用火狐浏览器</title>
		<link>http://chenzhiwei.net/2010/04/recommend-to-use-firefox-web-browser/</link>
		<comments>http://chenzhiwei.net/2010/04/recommend-to-use-firefox-web-browser/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 07:07:04 +0000</pubDate>
		<dc:creator>zhiwei</dc:creator>
				<category><![CDATA[建站相关]]></category>
		<category><![CDATA[软件应用]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[插件]]></category>
		<category><![CDATA[浏览器]]></category>
		<category><![CDATA[火狐]]></category>

		<guid isPermaLink="false">http://chenzhiwei.net/?p=30175</guid>
		<description><![CDATA[在拥有独立博客之前，也就是2008年十月份之前，我一直都在使用IE浏览器，极少使用其他浏览器。当自己建立这个独立博客后，我认识了很多人，了解的东西也越来越多，然后就看到很多同学都在使用火狐浏览器，于是我也下载了一个试用了一下，结果一下子就喜欢上火狐浏览器了，除了用网银和支付宝外，我极少使用过IE浏览器。火狐浏览器的功能本来不算强大，但它提供插件支持，这样使得火狐浏览器功能变的非常强大，完成了很多浏览器不能完成的工作，比如过滤互联网上浩浩荡荡的广告，整个网页截图，网页设计工具等等，深得广大站长和博主的喜爱。 火狐浏览器(Firefox)内置了分页浏览、拼字检查、即时书签、下载管理器和自定义搜索引擎等等功能。此外还可以通过由第三方开发者贡 献的扩展来加强各种功能，还支持多种操作系统。火狐浏览器(Firefox)一直被大家非正式的称作“FF浏览器”。下面是我一直在使用的几种插件，感觉很不错。另外，Mozilla还开发出了Mozilla Weave，其可以实现同步书签，历史记录，已保存密码，浏览器设置和标签等功能。 1. Adblock Plus：广告过滤插件。安装上之后可以屏蔽来自互联网上的很多广告，也可以自己写一些过滤规则来选择性的过滤哪些广告，当然你也可以选择在哪些站点禁用此插件。下载地址：https://addons.mozilla.org/firefox/addon/1865 2.Pearl Crescent Page Saver Basic：网页截图插件。可以截取整个网页的图片，不管这个页面有多长，有时当你浏览一个页面时，想收藏这个页面，那么你只须点击插件图标就能把这个页面以图片的形式保存下来，不必担心这个页面被删除。这个插件允许你自定义要保存图片的格式，名称，可以以标题、时间、URL等来命名，还可以选择是保存可见区域还是整个页面。下载地址：https://addons.mozilla.org/firefox/addon/10367 3.Firebug ：网页开发工具。官方介绍：Firebug 为你的 Firefox 集成了浏览网页的同时随手可得的丰富开发工具。你可以对任何网页的 CSS、HTML 和 JavaScript 进行实时编辑、调试和监控。站长博主和网页开发人员的最爱。下载地址：https://addons.mozilla.org/firefox/addon/1843 4.User Agent Switcher：切换浏览器user agent。该插件可以实现访问只有在手机上才能访问的页面，如3GQQ、手机wap站点。例如，当时你在浏览器里输入wap.baidu.com、sina.cn等手机站点时会打不开或者自动跳转到平时浏览页面，但是当安装该插件后，你可以切换一下user agent，这样就可以浏览这些站点了。下载地址：https://addons.mozilla.org/firefox/addon/59 5.FlashGot：下载文件时的插件。该插件可以让用户自己选择下载机器上已安装的下载工具下载文件。该插件还能加快下载速度。下载地址：https://addons.mozilla.org/firefox/addon/220 6.AutoProxy：官方介绍：你要翻墙对吗？你想让它聪明点：该翻墙时才翻，不要所有的网站都用代理，对吗？你还想让它再聪明一点：该不该翻墙它自己知道，不用什么事都要你跟它讲，对 吗？ AutoProxy 就是为您设计的：）。下载地址：https://addons.mozilla.org/firefox/addon/11009 此外还有很多优秀的插件，在此就不再多说了，以上几个都是我常用的插件。这是我收集的比较优秀的火狐浏览器插件(https://addons.mozilla.org/firefox/collection/chenzhiwei/chenzhiwei)，大家可以来围观一下，等遇到好插件时我会及时添加进去的。 下面是火狐浏览器所有版本的下载地址：http://www.mozilla.com/en-US/firefox/all.html 另外，这个地址是最新试用版的下载地址：http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/，该版本的火狐浏览器可能会不稳定，但是里面会包含一些新的功能及新的UI界面。 update: 以上所说的插件，其实应该称作扩展。 &#169; 2010, chenzhiwei.net. 版权所有. 本文永久链接：http://chenzhiwei.net/2010/04/recommend-to-use-firefox-web-browser/相关日志新版火狐浏览器3.5beta4可以下载试用搜狗浏览器，很好很强大Chrome Web Store正式上线我的博客已经屏蔽了360浏览器wordpress的评论邮件回复功能]]></description>
			<content:encoded><![CDATA[<p>在拥有独立博客之前，也就是2008年十月份之前，我一直都在使用IE浏览器，极少使用其他浏览器。当自己建立这个独立博客后，我认识了很多人，了解的东西也越来越多，然后就看到很多同学都在使用火狐浏览器，于是我也下载了一个试用了一下，结果一下子就喜欢上火狐浏览器了，除了用网银和支付宝外，我极少使用过IE浏览器。火狐浏览器的功能本来不算强大，但它提供插件支持，这样使得火狐浏览器功能变的非常强大，完成了很多浏览器不能完成的工作，比如过滤互联网上浩浩荡荡的广告，整个网页截图，网页设计工具等等，深得广大站长和博主的喜爱。<span id="more-30175"></span></p>
<p>火狐浏览器(Firefox)内置了分页浏览、拼字检查、即时书签、下载管理器和自定义搜索引擎等等功能。此外还可以通过由第三方开发者贡 献的扩展来加强各种功能，还支持多种操作系统。火狐浏览器(Firefox)一直被大家非正式的称作“FF浏览器”。下面是我一直在使用的几种插件，感觉很不错。另外，Mozilla还开发出了Mozilla Weave，其可以实现同步书签，历史记录，已保存密码，浏览器设置和标签等功能。</p>
<p><strong>1. Adblock Plus</strong>：广告过滤插件。安装上之后可以屏蔽来自互联网上的很多广告，也可以自己写一些过滤规则来选择性的过滤哪些广告，当然你也可以选择在哪些站点禁用此插件。下载地址：<a href="https://addons.mozilla.org/firefox/addon/1865?collection_uuid=2b4a1702-8281-c4c5-ee5a-88cf2a1e439b" target="_blank">https://addons.mozilla.org/firefox/addon/1865</a></p>
<p><strong>2.Pearl Crescent Page Saver Basic</strong>：网页截图插件。可以截取整个网页的图片，不管这个页面有多长，有时当你浏览一个页面时，想收藏这个页面，那么你只须点击插件图标就能把这个页面以图片的形式保存下来，不必担心这个页面被删除。这个插件允许你自定义要保存图片的格式，名称，可以以标题、时间、URL等来命名，还可以选择是保存可见区域还是整个页面。下载地址：<a href="https://addons.mozilla.org/firefox/addon/10367?collection_uuid=2b4a1702-8281-c4c5-ee5a-88cf2a1e439b" target="_blank">https://addons.mozilla.org/firefox/addon/10367</a></p>
<p><strong>3.Firebug</strong> ：网页开发工具。官方介绍：Firebug 为你的 Firefox 集成了浏览网页的同时随手可得的丰富开发工具。你可以对任何网页的 CSS、HTML 和  JavaScript 进行实时编辑、调试和监控。站长博主和网页开发人员的最爱。下载地址：<a href="https://addons.mozilla.org/firefox/addon/1843?collection_uuid=2b4a1702-8281-c4c5-ee5a-88cf2a1e439b" target="_blank">https://addons.mozilla.org/firefox/addon/1843</a></p>
<p><strong>4.User Agent Switcher</strong>：切换浏览器user agent。该插件可以实现访问只有在手机上才能访问的页面，如3GQQ、手机wap站点。例如，当时你在浏览器里输入wap.baidu.com、sina.cn等手机站点时会打不开或者自动跳转到平时浏览页面，但是当安装该插件后，你可以切换一下user agent，这样就可以浏览这些站点了。下载地址：<a href="https://addons.mozilla.org/firefox/addon/59?collection_uuid=2b4a1702-8281-c4c5-ee5a-88cf2a1e439b" target="_blank">https://addons.mozilla.org/firefox/addon/59</a></p>
<p><strong>5.FlashGot</strong>：下载文件时的插件。该插件可以让用户自己选择下载机器上已安装的下载工具下载文件。该插件还能加快下载速度。下载地址：<a href="https://addons.mozilla.org/firefox/addon/220?collection_uuid=2b4a1702-8281-c4c5-ee5a-88cf2a1e439b" target="_blank">https://addons.mozilla.org/firefox/addon/220</a></p>
<p><strong>6.AutoProxy</strong>：官方介绍：你要翻墙对吗？你想让它聪明点：该翻墙时才翻，不要所有的网站都用代理，对吗？你还想让它再聪明一点：该不该翻墙它自己知道，不用什么事都要你跟它讲，对 吗？ AutoProxy 就是为您设计的：）。下载地址：<a href="https://addons.mozilla.org/firefox/addon/11009?collection_uuid=2b4a1702-8281-c4c5-ee5a-88cf2a1e439b" target="_blank">https://addons.mozilla.org/firefox/addon/11009</a></p>
<p>此外还有很多优秀的插件，在此就不再多说了，以上几个都是我常用的插件。这是我收集的比较优秀的火狐浏览器插件(<a href="https://addons.mozilla.org/firefox/collection/chenzhiwei/chenzhiwei" target="_blank">https://addons.mozilla.org/firefox/collection/chenzhiwei/chenzhiwei</a>)，大家可以来围观一下，等遇到好插件时我会及时添加进去的。</p>
<p>下面是火狐浏览器所有版本的下载地址：<a href="http://www.mozilla.com/en-US/firefox/all.html" target="_blank">http://www.mozilla.com/en-US/firefox/all.html</a></p>
<p>另外，这个地址是最新试用版的下载地址：<a href="http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/" target="_blank">http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/</a>，该版本的火狐浏览器可能会不稳定，但是里面会包含一些新的功能及新的UI界面。</p>
<p><strong>update</strong>: 以上所说的插件，其实应该称作扩展。</p>
<p style="font-weight: bold;">&copy; 2010, <a href="http://chenzhiwei.net">chenzhiwei.net</a>. 版权所有.  <br />本文永久链接：<a title="推荐使用火狐浏览器" href="http://chenzhiwei.net/2010/04/recommend-to-use-firefox-web-browser/">http://chenzhiwei.net/2010/04/recommend-to-use-firefox-web-browser/</a></p><hr /><div  class="related_post_title">相关日志</div><ul class="related_post"><li><a href="http://chenzhiwei.net/2009/04/new-version-of-firefox-35-beta4/" title="新版火狐浏览器3.5beta4可以下载试用">新版火狐浏览器3.5beta4可以下载试用</a></li><li><a href="http://chenzhiwei.net/2009/03/sougou-browser/" title="搜狗浏览器，很好很强大">搜狗浏览器，很好很强大</a></li><li><a href="http://chenzhiwei.net/2010/12/chrome-web-store-is-now-launched/" title="Chrome Web Store正式上线">Chrome Web Store正式上线</a></li><li><a href="http://chenzhiwei.net/2010/10/lets-block-360se/" title="我的博客已经屏蔽了360浏览器">我的博客已经屏蔽了360浏览器</a></li><li><a href="http://chenzhiwei.net/2009/04/wordpress-comments-reply/" title="wordpress的评论邮件回复功能">wordpress的评论邮件回复功能</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://chenzhiwei.net/2010/04/recommend-to-use-firefox-web-browser/feed/</wfw:commentRss>
		<slash:comments>29</slash:comments>
		</item>
		<item>
		<title>wordpress的评论邮件回复功能</title>
		<link>http://chenzhiwei.net/2009/04/wordpress-comments-reply/</link>
		<comments>http://chenzhiwei.net/2009/04/wordpress-comments-reply/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 01:09:04 +0000</pubDate>
		<dc:creator>zhiwei</dc:creator>
				<category><![CDATA[建站相关]]></category>
		<category><![CDATA[默认分类]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[插件]]></category>

		<guid isPermaLink="false">http://blog.chenzhiwei.cn/?p=222</guid>
		<description><![CDATA[相信现在很多人都在使用wordpress的那个评论回复的插件（WP Thread Comment）吧，其中有个功能是当评论者的评论被人回复后可以邮件通知，通知的电子邮件地址一般都是 no-reply@博客地址，很不够个性，我今天看了下这个插件的代码，发现这个发件人地址是可以更改的，并且可以改成任意你想要的发件人地址，具体做法请看下段文字。顺便说一下，邮件发件人的地址并不是真正的发件人地址，真正的发件人地址在信头文件里，所以以后看到一些邮件，并且地址是自己熟悉的带有欺骗性质的邮件一定要看一下信头文件，看看是不是真实的邮件。 编辑WP Thread Comment 插件的代码，找到这一行代码， $wp_email = &#8216;no-reply@&#8217; . preg_replace(&#8216;#^www\.#&#8217;, ”,  strtolower($_SERVER['SERVER_NAME'])); 然后将这一行代码做以下修改，$wp_email = &#8216;*@XX.com&#8217;; 其中 *@XX.com 就是你想要的发件人地址。改好后自己测试一下吧。 update: 更新一下，新版的wordpress后台已经有嵌套评论了(wordpress后台-&#62;设置-&#62;讨论-&#62;其他评论设置-&#62;允许嵌套N条评论)，所以这个thread comment插件一般也就用不上了，可以使用comment-reply-notification这个插件来代替，安装这个插件并激活后可以到wordpress后台设置那里来对该插件做详细设置。具体设置方法可以参考插件页面。另外，自定义邮箱地址在我的主机上不能使用。 update20101210：现在已经可以不用插件来实现评论邮件回复了。我已经使用半年了，感觉很不错，将以下代码贴到主题的functions.php文件中的合适位置即可实现评论邮件回复功能。这样一来，你的wordpress博客就可以少用一个插件了。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 /* comment_mail_notify v1.0 by [...]]]></description>
			<content:encoded><![CDATA[<p>相信现在很多人都在使用wordpress的那个评论回复的插件（WP Thread Comment）吧，其中有个功能是当评论者的评论被人回复后可以邮件通知，通知的电子邮件地址一般都是 no-reply@博客地址，很不够个性，我今天看了下这个插件的代码，发现这个发件人地址是可以更改的，并且可以改成任意你想要的发件人地址，具体做法请看下段文字。顺便说一下，邮件发件人的地址并不是真正的发件人地址，真正的发件人地址在信头文件里，所以以后看到一些邮件，并且地址是自己熟悉的带有欺骗性质的邮件一定要看一下信头文件，看看是不是真实的邮件。<span id="more-222"></span><br />
编辑WP Thread Comment 插件的代码，找到这一行代码，<br />
$wp_email = &#8216;no-reply@&#8217; . preg_replace(&#8216;#^www\.#&#8217;, ”,  strtolower($_SERVER['SERVER_NAME']));<br />
然后将这一行代码做以下修改，$wp_email = &#8216;*@XX.com&#8217;; 其中 *@XX.com 就是你想要的发件人地址。改好后自己测试一下吧。</p>
<p>update: 更新一下，新版的wordpress后台已经有嵌套评论了(wordpress后台-&gt;设置-&gt;讨论-&gt;其他评论设置-&gt;允许嵌套N条评论)，所以这个thread comment插件一般也就用不上了，可以使用<a href="http://fairyfish.net/2008/11/03/comment-reply-notification/" target="_blank">comment-reply-notification</a>这个插件来代替，安装这个插件并激活后可以到wordpress后台设置那里来对该插件做详细设置。具体设置方法可以参考<a href="http://fairyfish.net/2008/11/03/comment-reply-notification/" target="_blank">插件页面</a>。另外，自定义邮箱地址在我的主机上不能使用。</p>
<p>update20101210：现在已经可以不用插件来实现评论邮件回复了。我已经使用半年了，感觉很不错，将以下代码贴到主题的functions.php文件中的合适位置即可实现评论邮件回复功能。这样一来，你的wordpress博客就可以少用一个插件了。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">/* comment_mail_notify v1.0 by willin kan. (reply all comments) */</span>
<span style="color: #000000; font-weight: bold;">function</span> comment_mail_notify<span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment_id</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$comment</span> <span style="color: #339933;">=</span> get_comment<span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment_id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$parent_id</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_parent</span> ? <span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_parent</span> <span style="color: #339933;">:</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$spam_confirmed</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_approved</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$parent_id</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$spam_confirmed</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">'spam'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$wp_email</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'wordpress@'</span> <span style="color: #339933;">.</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'#^www\.#'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <span style="color: #990000;">strtolower</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'SERVER_NAME'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>	<span style="color: #666666; font-style: italic;">//from email address</span>
    <span style="color: #000088;">$to</span> <span style="color: #339933;">=</span> <span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span>get_comment<span style="color: #009900;">&#40;</span><span style="color: #000088;">$parent_id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_author_email</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>	<span style="color: #666666; font-style: italic;">//to email address</span>
    <span style="color: #000088;">$subject</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'您在 ['</span> <span style="color: #339933;">.</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;blogname&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'] 的留言有了回应'</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$message</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'
    &lt;div style=&quot;background-color:#eef2fa; border:1px solid #d8e3e8; color:#111; padding:0 15px; -moz-border-radius:5px; -webkit-border-radius:5px; -khtml-border-radius:5px;&quot;&gt;
      &lt;p&gt;'</span> <span style="color: #339933;">.</span> <span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span>get_comment<span style="color: #009900;">&#40;</span><span style="color: #000088;">$parent_id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_author</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">', 您好!&lt;/p&gt;
      &lt;p&gt;您曾在《'</span> <span style="color: #339933;">.</span> get_the_title<span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_post_ID</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'》的留言:&lt;br /&gt;&lt;b&gt;'</span>
       <span style="color: #339933;">.</span> <span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span>get_comment<span style="color: #009900;">&#40;</span><span style="color: #000088;">$parent_id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_content</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&lt;/b&gt;&lt;/p&gt;
      &lt;p&gt;'</span> <span style="color: #339933;">.</span> <span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_author</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">' 给您的回应:&lt;br /&gt;&lt;b&gt;'</span>
       <span style="color: #339933;">.</span> <span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_content</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&lt;/b&gt;&lt;br /&gt;&lt;/p&gt;
      &lt;p&gt;您可以点击 &lt;a href=&quot;'</span> <span style="color: #339933;">.</span> <span style="color: #990000;">htmlspecialchars</span><span style="color: #009900;">&#40;</span>get_comment_link<span style="color: #009900;">&#40;</span><span style="color: #000088;">$parent_id</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot;&gt;查看回应完整內容&lt;/a&gt;&lt;/p&gt;
      &lt;p&gt;欢迎再次访问 &lt;a href=&quot;'</span> <span style="color: #339933;">.</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'home'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot;&gt;&lt;b&gt;'</span> <span style="color: #339933;">.</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'blogname'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&lt;/b&gt;&lt;/a&gt;&lt;/p&gt;
      &lt;p&gt;&lt;b&gt;注：此邮件由系统发出，但您的回复将发送至我的收件箱。&lt;/b&gt;&lt;/p&gt;
    &lt;/div&gt;'</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$from</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;From: <span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span> <span style="color: #339933;">.</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'blogname'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span> &lt;<span style="color: #006699; font-weight: bold;">$wp_email</span>&gt;&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$headers</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$from</span><span style="color: #000099; font-weight: bold;">\n</span>Content-Type: text/html; charset=&quot;</span> <span style="color: #339933;">.</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'blog_charset'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
    wp_mail<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$to</span><span style="color: #339933;">,</span> <span style="color: #000088;">$subject</span><span style="color: #339933;">,</span> <span style="color: #000088;">$message</span><span style="color: #339933;">,</span> <span style="color: #000088;">$headers</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'comment_post'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'comment_mail_notify'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p style="font-weight: bold;">&copy; 2009, <a href="http://chenzhiwei.net">chenzhiwei.net</a>. 版权所有.  <br />本文永久链接：<a title="wordpress的评论邮件回复功能" href="http://chenzhiwei.net/2009/04/wordpress-comments-reply/">http://chenzhiwei.net/2009/04/wordpress-comments-reply/</a></p><hr /><div  class="related_post_title">相关日志</div><ul class="related_post"><li><a href="http://chenzhiwei.net/2011/01/recently-blog-update/" title="博客最近的更新">博客最近的更新</a></li><li><a href="http://chenzhiwei.net/2010/12/display-pagination-without-plugin/" title="不用插件实现wordpress分页导航的方法">不用插件实现wordpress分页导航的方法</a></li><li><a href="http://chenzhiwei.net/2010/07/wordpress-useful-code/" title="wordpress主题常用的代码">wordpress主题常用的代码</a></li><li><a href="http://chenzhiwei.net/2010/04/recommend-to-use-firefox-web-browser/" title="推荐使用火狐浏览器">推荐使用火狐浏览器</a></li><li><a href="http://chenzhiwei.net/2010/02/change-blog-theme/" title="博客更换主题">博客更换主题</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://chenzhiwei.net/2009/04/wordpress-comments-reply/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

