用Mail to Commenter & Configure SMTP实现邮件回复评论

终于搞定了邮件回复评论功能,贴在这里
安装了两个插件:1、Mail To Commenter;2、Configure SMTP
相关关键配置截图如下:

mail_to_commenter

configure_smtp

一点说明:
我是设置通过Gmail的SMTP服务,然后以域名邮箱的身份发送的,后者可以省略,即Sender e-mail和Sender name的参数设置。但需要注意的是,SMTP需要验证发件人,所以必须和管理员的邮箱一致,这也是我为什么自定义Sender e-mail的原因

Some WordPress Plugins Recommended

闲来无事,推荐几个我觉得比较实用的Plugin吧~~(排名不分先后)

1、Chinese Word Count
WP后台日志发布页面中,Word Count貌似不支持中文,有了这个就不怕了~~

2、Some Chinese Please!
要求评论中必须有汉字,可以防止Spam机器人,因为主要是国外才有……

3、WP Greet Box
一个可以针对浏览来源设定不同欢迎信息的插件,可以推广网站而又不显得太突兀

4、Ozh’ Better Feed
可以在Feed中添加Footer,简单方便(不过我没有使用,还是觉得直接改主题代码更好一点,过些天再整理出来~)

5、OpenID
让你的Blog支持OpenID,不知道什么是OpenID?请猛击这里

其他的在之前已经推荐过,这里只列出名字,加上了本次推荐的,方便重装的时候参照~
(有删减,毕竟有的是会被淘汰的~)
(按照Plugin列表中的顺序)

Akismet
Chinese Word Count
Google XML Sitemaps
Mail To Commenter
OpenID
Ozh' Better Feed
Some Chinese Please!
Syntax Highlighter for WordPress
Twitter Tools
WordPress Database Backup
WordPress Related Posts
WP-Cumulus
WP-PageNavi
WP Greet Box

期待新主页ing

为了迎接Catt给我设计的个人主页,给blog换了套主题,留下点东西,方便以后用。
另外欢迎各位亲朋好友留下脚印,方便我收集一下大家的博客链接,我好做Blogroll啊!

1、关闭Wordpress的修订功能
在根目录下的wp-config.php中,添加

define('WP_POST_REVISIONS',false);

2、Plugin

Akismet
WP-PageNavi
Google XML Sitemaps
WordPress Related Posts
Mail to Commenter
Twitter Tools
Syntax Highlighter for WordPress
bShare 分享
WordPress Database Backup
WP-Cumulus

3、Google analytics

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-11029434-5");
pageTracker._setDomainName(".huxuan.org");
pageTracker._trackPageview();
} catch(err) {}</script>

4、重定向

# BEGIN user-defined
<ifmodule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_USER_AGENT} !^.*(FeedBurner|FeedValidator|feedsky) [NC]
RewriteCond %{REQUEST_URI} ^/feed.* [NC]
RewriteRule .* http://feeds.huxuan.org/ [NC,L,R=301]
</ifmodule>

贴一张旧主题的照片纪念一下,地点是GoogleCamp实验室,台式机+笔记本,显示的都是原来主题的效果,拍完了才发现还是挺有感觉的……(如果看不到,我就不多说了,如果有比flickr更好的提供外链图片的网站,尽快告诉我吧!)
IMG_5074

A recommended kind of RSS solution

Today I want to recommend a kind of RSS solution and  it’s just what I use for my blog.

In this way, we will have a permanent and unique rss url. As for me, it’s http://feeds.huxuan.org/huxuan

1)Sign up as the same name for your feed in FeedSky & FeedBurner.

e.g. I have
http://feed.feedsky.com/huxuan for FeedSky &
http://feeds.feedburner.com/huxuan for FeedBurner
(I just have it for example, Please don’t subscribe my blog through this two address)

2) Use the Domain Binding Service which Feedburner & Feedsky both provide to host the feed by your own domain name

You should choose only one of the two & Feedburner is recommended absolutely
You need to create a CNAME entry in the DNS records here
More information are provided by Feedburner & Feedsky when you configure the Domain Binding Service

3) Change the feed source you didn’t choose in step 2

e.g. I choose Feedburner to create the feed, so I change the feed source of Feedsky just into http://feeds.huxuan.org/huxuan.

4)Change the default rss url of wordpress

In the header.php of theme we use, similar code can be found like this:

<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="http://blog.huxuan.org/feed" />

Change the url with underline into the feed you have created.

5)Change all possible default feed url on the site

There may be many default feed url list on the site most presenting as a link of an image or some else.
Just search for it and change it!

Attention: Some Errors happen in Step 6. Ignore it now.

6)Redirect the default feed url to the new one just in case

Insert the code below to .htacess which located in the main directory
# redirect default feed url to the permanent one
Redirect /feed http://feeds.huxuan.org/huxuan

7)Now all steps is done, just share your unique & permanet feed url to your friends

if one of the two feed service providers don’t work, just change to the other one via repeating Step 2 & 3

P.S. If there’s any error or problem, please feel free to inform me of that.

Hello World Press!

历经艰辛,终于脱离BSP加入了Wordpress行列,值此新春佳节之际,不由得牢骚一番。

标题中的关键词来自一位朋友的误用,不过仔细琢磨一下,觉得不无道理,便斗胆在此误人子弟一回了……

Action One 感谢
就按照事情发展的先后顺序了:
1、北航GC,我很有幸能成为此次由北航GC牵头的空间合租活动的成员之一。这是一个充满活力的团队,每一位成员都通过这个平台不断的展示和提高自己。虽然本次活动因为是第一次,人气不是很高,但是我相信,GoogleCamp is one for the future!
2、大猫,此次空间合租的代购方,不知道该怎样称呼和形容这样的人。他们不为利益,却花了很多时间和精力来帮助new comer代购空间和域名,还负责了很多本不属于他们的售后服务。他们已经俨然成为了中国互联网发展不可或缺的一份力量,他们的精神令我敬佩不已!
3、逆铭,不仅写了一个sina2wordpress的博客搬家程序,还帮忙解决了导入过程中的问题。这是一位名副其实的技术大牛,而且为人低调、谦虚谨慎、性格和善,与之相比,每每令我惭愧万分。也正是因为身边有这样的强者,才会让我一直充满向上的动力吧!期待有更多的合作和交流。
4、LeafduoLuin,从准备组织此次空间合租活动开始,就没少麻烦这两位GCACs。虽然是学弟,但是不得不承认在网络方面我几乎还是半个文盲,他们不仅解决了我遇到的所有问题,还提供了很多有建设性的意见和建议,更重要的是让我学到了很多!
5、除了以上,还有很多,例如一起从零开始的dxy,给予关注和支持的其他GCACs……因为你们的存在,这一切才拥有意义!
Action Two 感悟
这次博客搬家,也有机会让我回顾了一下过去的那些文字。
我的身体中遍布了多愁善感的细胞,很多文字便成为了过往的证明,我也不乏理性,于是亦充斥着很多一些个人的不成熟的看法。
但是这其中却少了技术的成分,这或许就是我大学生活中真正缺少的吧,没有踏踏实实的搞技术,时不我待,痛改前非吧!
Action Three 感×
别乱想,其实和小标题无关,小广告一则,blog.huxuan.org,这个很ZF的域名应该会保持相当长一段时间,欢迎关注哈!