<?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>Comments on: 评论短信提醒 (补充)</title>
	<atom:link href="http://philna.com/2009/04/comment-sms-alert-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://philna.com/2009/04/comment-sms-alert-2/</link>
	<description>找寻那些幸福...</description>
	<lastBuildDate>Thu, 29 Jul 2010 05:55:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: seri</title>
		<link>http://philna.com/2009/04/comment-sms-alert-2/comment-page-2/#comment-2411</link>
		<dc:creator>seri</dc:creator>
		<pubDate>Sat, 19 Sep 2009 13:10:07 +0000</pubDate>
		<guid isPermaLink="false">http://philna.com/?p=184#comment-2411</guid>
		<description>关键，管理员回复也发短信 =。=如何屏蔽 - - （ps：偶在别的地方下到了别人加过防止spam的飞信提醒插件！=。=</description>
		<content:encoded><![CDATA[<p>关键，管理员回复也发短信 =。=如何屏蔽 &#8211; - （ps：偶在别的地方下到了别人加过防止spam的飞信提醒插件！=。=</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leaveoff&#39;s blog &#187; WP手记：评论实时短信提醒</title>
		<link>http://philna.com/2009/04/comment-sms-alert-2/comment-page-2/#comment-2336</link>
		<dc:creator>Leaveoff&#39;s blog &#187; WP手记：评论实时短信提醒</dc:creator>
		<pubDate>Fri, 04 Sep 2009 06:09:10 +0000</pubDate>
		<guid isPermaLink="false">http://philna.com/?p=184#comment-2336</guid>
		<description>[...] PhilNa提供的一个评论实时短信提醒的方法。利用wp mail将评论发送到139邮箱，139邮箱的短信提醒功能实现，具体方法将以下代码放进主题的functions.php文件内即可： add_action(&#039;comment_post&#039;, create_function(&#039;$cmid&#039;, &#039;return philna_comment_send_mail($cmid);&#039;)); function philna_comment_send_mail($cmid){ /* 这个是从官方找到的get_commentdata的用法: get_commentdata( $comment_ID, $no_cache = 0, $include_unapproved = false ) */ $commentdata = get_commentdata($cmid,1,true); $comment_author=$commentdata[&#039;comment_author&#039;]; $commentcontent=$commentdata[&#039;comment_content&#039;]; $post_id=$commentdata[&#039;comment_post_ID&#039;]; $post=get_post($post_id); $post_title=$post-&gt;post_title; $message=$comment_author.&#039; 在日志: &lt;em&gt;&#039;.$post_title.&#039;  &lt;/em&gt;&lt;strong&gt;说 :&lt;/strong&gt;  &#039;.$commentcontent;   $blogname = get_option(&#039;blogname&#039;); $charset = get_option(&#039;blog_charset&#039;); $mail_headers  = &quot;From: $blogname n&quot; ; $mail_headers .= &quot;MIME-Version: 1.0n&quot;; $mail_headers .= &quot;Content-Type: text/html;charset=&quot;$charset&quot;n&quot;;   $to=&#039;你的手机号@139.com&#039;; $subject=&#039;博客评论提醒 来自:&#039;.$comment_author; @wp_mail($to, $subject,$message,$mail_headers); } [...]</description>
		<content:encoded><![CDATA[<p>[...] PhilNa提供的一个评论实时短信提醒的方法。利用wp mail将评论发送到139邮箱，139邮箱的短信提醒功能实现，具体方法将以下代码放进主题的functions.php文件内即可： add_action(&#39;comment_post&#39;, create_function(&#39;$cmid&#39;, &#39;return philna_comment_send_mail($cmid);&#39;)); function philna_comment_send_mail($cmid){ /* 这个是从官方找到的get_commentdata的用法: get_commentdata( $comment_ID, $no_cache = 0, $include_unapproved = false ) */ $commentdata = get_commentdata($cmid,1,true); $comment_author=$commentdata[&#39;comment_author&#39;]; $commentcontent=$commentdata[&#39;comment_content&#39;]; $post_id=$commentdata[&#39;comment_post_ID&#39;]; $post=get_post($post_id); $post_title=$post-&gt;post_title; $message=$comment_author.&#39; 在日志: &lt;em&gt;&#39;.$post_title.&#39;  &lt;/em&gt;&lt;strong&gt;说 :&lt;/strong&gt;  &#39;.$commentcontent;   $blogname = get_option(&#39;blogname&#39;); $charset = get_option(&#39;blog_charset&#39;); $mail_headers  = &quot;From: $blogname n&quot; ; $mail_headers .= &quot;MIME-Version: 1.0n&quot;; $mail_headers .= &quot;Content-Type: text/html;charset=&quot;$charset&quot;n&quot;;   $to=&#39;你的手机号@139.com&#39;; $subject=&#39;博客评论提醒 来自:&#39;.$comment_author; @wp_mail($to, $subject,$message,$mail_headers); } [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: leaveoff</title>
		<link>http://philna.com/2009/04/comment-sms-alert-2/comment-page-2/#comment-2335</link>
		<dc:creator>leaveoff</dc:creator>
		<pubDate>Fri, 04 Sep 2009 06:00:05 +0000</pubDate>
		<guid isPermaLink="false">http://philna.com/?p=184#comment-2335</guid>
		<description>这个好像会把待审的评论也提醒吧？ :?:</description>
		<content:encoded><![CDATA[<p>这个好像会把待审的评论也提醒吧？ <img src='http://philna.com/wp-includes/images/smilies/icon_question.gif' alt=':?:' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kid</title>
		<link>http://philna.com/2009/04/comment-sms-alert-2/comment-page-2/#comment-1954</link>
		<dc:creator>Kid</dc:creator>
		<pubDate>Wed, 06 May 2009 14:59:34 +0000</pubDate>
		<guid isPermaLink="false">http://philna.com/?p=184#comment-1954</guid>
		<description>我直接在插件里加入
$comment_state=$commentdata[&#039;comment_approved&#039;];
if($comment_state==&#039;spam&#039;){
return;
}
不就行了？</description>
		<content:encoded><![CDATA[<p>我直接在插件里加入<br />
$comment_state=$commentdata['comment_approved'];<br />
if($comment_state==&#8217;spam&#8217;){<br />
return;<br />
}<br />
不就行了？</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brhum</title>
		<link>http://philna.com/2009/04/comment-sms-alert-2/comment-page-2/#comment-1937</link>
		<dc:creator>Brhum</dc:creator>
		<pubDate>Mon, 04 May 2009 20:10:15 +0000</pubDate>
		<guid isPermaLink="false">http://philna.com/?p=184#comment-1937</guid>
		<description>不错很适合我</description>
		<content:encoded><![CDATA[<p>不错很适合我</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lane</title>
		<link>http://philna.com/2009/04/comment-sms-alert-2/comment-page-2/#comment-1919</link>
		<dc:creator>Lane</dc:creator>
		<pubDate>Mon, 04 May 2009 02:59:04 +0000</pubDate>
		<guid isPermaLink="false">http://philna.com/?p=184#comment-1919</guid>
		<description>&lt;a href=&quot;#comment-1897&quot; rel=&quot;nofollow&quot;&gt;@yinheli &lt;/a&gt; 
看到了，多谢！</description>
		<content:encoded><![CDATA[<p><a href="#comment-1897" rel="nofollow">@yinheli </a><br />
看到了，多谢！</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 9oe</title>
		<link>http://philna.com/2009/04/comment-sms-alert-2/comment-page-1/#comment-1917</link>
		<dc:creator>9oe</dc:creator>
		<pubDate>Mon, 04 May 2009 02:03:45 +0000</pubDate>
		<guid isPermaLink="false">http://philna.com/?p=184#comment-1917</guid>
		<description>:grin: 谢谢，你太棒啦！ :roll:</description>
		<content:encoded><![CDATA[<p> <img src='http://philna.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':grin:' class='wp-smiley' />  谢谢，你太棒啦！ <img src='http://philna.com/wp-includes/images/smilies/icon_rolleyes.gif' alt=':roll:' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yinheli</title>
		<link>http://philna.com/2009/04/comment-sms-alert-2/comment-page-1/#comment-1897</link>
		<dc:creator>yinheli</dc:creator>
		<pubDate>Sat, 02 May 2009 01:33:59 +0000</pubDate>
		<guid isPermaLink="false">http://philna.com/?p=184#comment-1897</guid>
		<description>&lt;a href=&quot;#comment-1896&quot; rel=&quot;nofollow&quot;&gt;@Lane &lt;/a&gt; 
我已经写了啊.你没有仔细看文章.(- -!)</description>
		<content:encoded><![CDATA[<p><a href="#comment-1896" rel="nofollow">@Lane </a><br />
我已经写了啊.你没有仔细看文章.(- -!)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lane</title>
		<link>http://philna.com/2009/04/comment-sms-alert-2/comment-page-1/#comment-1896</link>
		<dc:creator>Lane</dc:creator>
		<pubDate>Sat, 02 May 2009 01:27:59 +0000</pubDate>
		<guid isPermaLink="false">http://philna.com/?p=184#comment-1896</guid>
		<description>能不能改进下在Akismet对评论进行过滤之后再发送。。。
垃圾评论太多了。</description>
		<content:encoded><![CDATA[<p>能不能改进下在Akismet对评论进行过滤之后再发送。。。<br />
垃圾评论太多了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 给WordPress增加留言评论的短信提醒功能 &#124; FanBing.NET 范冰</title>
		<link>http://philna.com/2009/04/comment-sms-alert-2/comment-page-1/#comment-1812</link>
		<dc:creator>给WordPress增加留言评论的短信提醒功能 &#124; FanBing.NET 范冰</dc:creator>
		<pubDate>Wed, 29 Apr 2009 10:23:58 +0000</pubDate>
		<guid isPermaLink="false">http://philna.com/?p=184#comment-1812</guid>
		<description>[...] 今天在philna博客上看到一篇折腾WP使之支持评论短信提醒的文章，经过个人测试，好用靠谱。在此隆重分享。 [...]</description>
		<content:encoded><![CDATA[<p>[...] 今天在philna博客上看到一篇折腾WP使之支持评论短信提醒的文章，经过个人测试，好用靠谱。在此隆重分享。 [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
