What E-mail Name to Choose on Your Own Domain

This is a question occured to me when I was suggesting a friend to apply a Google account and to use gtalk. At that time I realized there have been too many Google accounts so it’s very hard to find an ideal name, even for Chinese with 3 characters in name, lol.

AFAIK, another way to enjoy the wonderful GMail service but not need to bother with the name choosing problem is to use the Google App service. If you have your own domain name (e.g., yourdomain.com) and you enabled the Google App service on your domain, you can have email like this “abc@yourdomain.com”. That’s also cool, right?

Now comes my question, how to choose an E-mail name for yourself on your own domain? I talked this with riki several days ago, I’ll list some options here:

  • “yourname@yourdomain.com” : redundant if your domain IS your name already.
  • “me@yourdomain.com” : riki said this will make the one who is writing email to you feel weird, for feeling like writing email to himself.
  • “webmaster@yourdomain.com” : this stupid choice came from riki.
  • “yournameabbr@yourdomain.com” : e.g. “ww@weiwei9.com”
  • “boss@yourdomain.com” : I saw an email address of this style today, which drove me to write down this blog post.

PicasaWeb Host Domain Changed

Several days ago I found that my pictures shown with Picasa Web Matrix plugin on blog were gone. At first I thought it was fault of PicasaWeb, because fetching the RSS link in Firefox will return a “400 Bad Request” error. But today I noticed I can still receive friends’ picture updates from PicasaWeb in Google Reader… And the RSS link in IE works well actually. So I guess the problem is on the plugin.

After a few minutes’ examination, the problem is uncovered. In the codes of Picasa Web Matrix plugin, a regular expression with “google” is used from matching the image src value, but PicasaWeb appears to just changed its host domain name from “google.com” to “ggpht.com”…. So, simply change this line

preg_match(‘/http:\/\/.*\.google\..*\/([^.]*\.(jpg|png|gif))/i’, $photos[$count][‘thumbURL’], $picasaWebSlugMatches);

to

preg_match(‘/http:\/\/.*\.ggpht\..*\/([^.]*\.(jpg|png|gif))/i’, $photos[$count][‘thumbURL’], $picasaWebSlugMatches);

and the photos are back again :)

Get Recent Comments" plugin for WordPress

Get-Recent-Comments is a great plugin for WordPress. It enables you to display comments in the sidebar with various ways. You can choose to display the comment author, comment excerpt, post title and a lot of other parts with your customized formats.

However, there were some problems when I tried to display my post excerpts by it. Some Chinese characters were messed, showed as a black square with a question mark in the center. Fortunately, sunshow has given out a patched version, which can deal with unicode characters correctly.

A tiny question about the sunshow version is that it inserts “wbr” tag sometimes to prevent a too long line spoiling the page layout. This is a good idea but “wbr” is not a standard tag, so my page can’t pass W3C validation with it -_- Then I opened the file “get-recent-comments.php”, replaced all “wbr” with a blankspace. Now everything goes well.

The version I’m using – get-recent-comments.zip

WordPress 2.3 and higher version may need to use another version, please check the links above for detail