<?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>Bruce &#187; Wp</title>
	<atom:link href="http://brucehan.com/archives/tag/wp/feed" rel="self" type="application/rss+xml" />
	<link>http://brucehan.com</link>
	<description>Something of a professional cynic.</description>
	<lastBuildDate>Sat, 04 Sep 2010 09:13:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>订阅</title>
		<link>http://brucehan.com/archives/1600</link>
		<comments>http://brucehan.com/archives/1600#comments</comments>
		<pubDate>Wed, 14 Jul 2010 04:22:09 +0000</pubDate>
		<dc:creator>Bruce</dc:creator>
				<category><![CDATA[Memory]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wp]]></category>

		<guid isPermaLink="false">http://brucehan.com/?p=1600</guid>
		<description><![CDATA[居然有28人通过谷歌阅读器订阅了我的博客。真难得！自动备份还是搞不定。

中午去哪里吃饭？其实我就是想测试一下新的feed……

我恨我诚实。

<span class="readmore"><a href="http://brucehan.com/archives/1600" title="订阅">Read More: 67 Words Totally</a></span>]]></description>
			<content:encoded><![CDATA[<p>居然有28人通过谷歌阅读器订阅了我的博客。真难得！自动备份还是搞不定。</p>
<p>中午去哪里吃饭？其实我就是想测试一下新的feed……</p>
<p>我恨我诚实。</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-5736529044108483";
/* bruce文章下 */
google_ad_slot = "3956797628";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p> <h3>Related Posts</h3><ul><li><a href="http://brucehan.com/archives/1160" title="将WP日志同步到Qzone 2009.12.9">将WP日志同步到Qzone</a>(4)</li>
</ul><h3>Recent Comments</h3><ul><li><a class="commentor" href="http://brucehan.com" >Bruce</a> : <a class="comment_content" href="http://brucehan.com/archives/1600#comment-2372" title="View the entire comment by Bruce" >@如何在网上创业  你怎么连皮也跟卢松松一样？没特色……</a></li>
<li><a class="commentor" href="http://www.335156.com/" >如何在网上创业</a> : <a class="comment_content" href="http://brucehan.com/archives/1600#comment-2368" title="View the entire comment by 如何在网上创业" >文章写的还行，也来看看我的吧</a></li>
<li><a class="commentor" href="http://brucehan.com" >Bruce</a> : <a class="comment_content" href="http://brucehan.com/archives/1600#comment-2365" title="View the entire comment by Bruce" >@蚊子  兄弟情谊呗，爱一个人就要告诉她么，我一直以来都是这么做的。可惜并非每个人都看重它。</a></li>
<li><a class="commentor" href="" >蚊子</a> : <a class="comment_content" href="http://brucehan.com/archives/1600#comment-2364" title="View the entire comment by 蚊子" >⊙﹏⊙b汗，别瞎说</a></li>
<li><a class="commentor" href="http://brucehan.com" >Bruce</a> : <a class="comment_content" href="http://brucehan.com/archives/1600#comment-2362" title="View the entire comment by Bruce" >@蚊子  嗯，我爱你。

@小五  嗯，谢谢你。</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://brucehan.com/archives/1600/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>将WP日志同步到Qzone</title>
		<link>http://brucehan.com/archives/1160</link>
		<comments>http://brucehan.com/archives/1160#comments</comments>
		<pubDate>Wed, 09 Dec 2009 14:34:39 +0000</pubDate>
		<dc:creator>Bruce</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Qzone]]></category>
		<category><![CDATA[Wp]]></category>

		<guid isPermaLink="false">http://brucehan.com/archives/1160</guid>
		<description><![CDATA[当初我停Qzone的时候还特意写了个封条。尝试关闭空间几次，失败了。索性就一直让它锁着。最近有几个朋友询问我的空间密码……我很无语，即便是我将QQ签名换成了博客地址，还是没办法满足他们。那么干脆，就将WP日志同步到Qzone吧。皆大欢喜……

总所周知，QQ 的服务是不会有 API 的，但是如何同步到 Qzone 呢？这里的过程有点曲折，由于 Qzone 支持通过你的 QQ 邮箱发布，而 QQ 邮箱有支持 SMTP 协议，而 WordPress 所包含的 PHPMailer 类可以使用 SMTP 发邮件，所以我们可以通过使用 PHPMailer 同步 WordPress 博客日志到 Qzone。

<span class="readmore"><a href="http://brucehan.com/archives/1160" title="将WP日志同步到Qzone">Read More: 644 Words Totally</a></span>]]></description>
			<content:encoded><![CDATA[<p>当初我停<a href="http://brucehan.com/archives/1160"title="Wp" >Qzone</a>的时候还特意写了个封条。尝试关闭空间几次，失败了。索性就一直让它锁着。最近有几个朋友询问我的空间密码……我很无语，即便是我将QQ签名换成了博客地址，还是没办法满足他们。那么干脆，就将WP日志同步到Qzone吧。皆大欢喜……</p>
<p>总所周知，QQ 的服务是不会有 API 的，但是如何同步到 Qzone 呢？这里的过程有点曲折，由于 Qzone 支持通过你的 QQ <a href="http://brucehan.com/archives/865"title="QQ邮箱不听话了！" >邮箱</a>发布，而 QQ 邮箱有支持 SMTP 协议，而 WordPress 所包含的 <a href="http://brucehan.com/archives/250"title="PHP小实验！" >PHP</a>Mailer 类可以使用 SMTP 发邮件，所以我们可以通过使用 PHPMailer 同步 WordPress 博客日志到 Qzone。</p>
<p>首先我们可以通过下面的函数登录 QQ 邮箱并给 Qzone 发邮件（你需要首先<a href="http://service.mail.qq.com/cgi-bin/help?subtype=1&amp;&amp;no=166&amp;&amp;id=28">打开 QQ 邮箱的 SMTP 功能</a>）。<br />
其中需要把 <code>$qq_number</code> 和 <code>$qq_password</code> 设置成你的 QQ 号码和密码。</p>
<p>然后我们就可以通过 <code>publish_post</code> 这个 WordPress Hook，当发布日志的时候同步吧日志标题和内容同步到 Qzone。<span id="more-1160"></span><br />
总结下：</p>
<ol>
<li><a href="http://service.mail.qq.com/cgi-bin/help?subtype=1&amp;&amp;no=166&amp;&amp;id=28">打开 QQ 邮箱的 SMTP 功能</a>。</li>
<li>下载同步到 Qzone 插件：<a href="http://code.google.com/p/qzone/downloads/list">WP2Qzone</a>。</li>
<li>上传到 WordPress 插件目录中下并激活。</li>
<li>把插件中的 <code>$qq_number</code> 和 <code>$qq_password</code> 设置成你的 QQ 号码和密码。</li>
<li>这样只要你一发布日志就会自动更新到 Qzone 中。</li>
</ol>
<p><a href='http://brucehan.com/archives/1160#SID1160_1_tgl' title='Visit blog to check out this spoiler'>[[Visit blog to check out this spoiler]]</a></p>
<p>同步方法借鉴于：<a href="http://fairyfish.net/2009/12/04/wp-qzone/">我爱水煮鱼</a></p>
<h3>Related Posts</h3><ul><li><a href="http://brucehan.com/archives/1600" title="订阅 2010.07.14">订阅</a>(7)</li>
</ul><h3>Recent Comments</h3><ul><li><a class="commentor" href="http://ouhappy.com" >回忆</a> : <a class="comment_content" href="http://brucehan.com/archives/1160#comment-938" title="View the entire comment by 回忆" >一会试下去</a></li>
<li><a class="commentor" href="http://www.oik8.com" >浩然</a> : <a class="comment_content" href="http://brucehan.com/archives/1160#comment-926" title="View the entire comment by 浩然" >思路很好哈！可惜我用的是zblog程序
那个插件不错呢~~</a></li>
<li><a class="commentor" href="http://brucehan.com" >Bruce</a> : <a class="comment_content" href="http://brucehan.com/archives/1160#comment-925" title="View the entire comment by Bruce" >@happyet  没有…… <img src='http://brucehan.com/wp-includes/images/smilies/icon_sad.gif' alt=':sad:' class='wp-smiley' /> </a></li>
<li><a class="commentor" href="http://www.happyet.com.cn" >happyet</a> : <a class="comment_content" href="http://brucehan.com/archives/1160#comment-924" title="View the entire comment by happyet" >终于被你搞定了啊！</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://brucehan.com/archives/1160/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
