Posts Tagged ‘Blogging’


  1. 订阅我的FeedBurner。图象因为在wordpress.com的服务器还是无法显示。我不能使用FeedSky因为他们的服务器在中国大陆……
  2. 使用Google Reader的可以继续阅读,但也不能显示图象
  3. 使用代理(请参看ProxyCN.COM代理服务器网Tor



Read Full Post »

Despite the infinte coolness of my new server environment I have finally decided to stop hosting my own web server. Shortly after I installed the new silent hard drive my server begun making a high pitch noise, somewhat like a television set but much more annoying. I was very close to sending the hard drive back for repair when I discovered that the noise was actually coming from the processor (an AMD Athlon XP 2800+). The noise pitch changes with the CPU load and no combination of BIOS settings or cooling has made any difference. I’ve never experienced this before and the only solution seems to be buying new hardware (again).

In the long term I don’t want the burden of running my own web server, so I have begun “outsourcing” everything. This blog has been exported to wordpress.com and I am paying $10/year to use my own domain. However, there’s no way I could keep the “blog” path in http://foolip.org/blog/, so my only solution is relocating to http://blog.foolip.org/. As we all know, cool URIs don’t (must not, ever) change, so for a while I was at a loss about how to redirect my old URLs. Eventually I found a free webhost which supports mod_rewrite and seems fairly solid. I will use this only to redirect, without serving a single file. Writing a .htaccess is very straightforward:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^foolip\.org$ [OR]
RewriteCond %{HTTP_HOST} ^www\.foolip\.org$
# http://(www.)foolip.org/blog/... -> http://blog.foolip.org/...
RewriteRule ^blog$ http://blog.foolip.org/ [R=permanent,L]
RewriteRule ^blog/(.*)$ http://blog.foolip.org/$1 [R=permanent,L]
# http://(www.)foolip.org/ -> http://blog.foolip.org/
RewriteRule ^$ http://blog.foolip.org/ [R,L]

If you are one the approximately three readers of this blog, you don’t need to do anything. Your browser and feed reader will automatically find the way (because cool URIs don’t change). However, as wordpress.com is blocked in mainland China I will have to make some special arrangements for those users, possibly using a mirror blog on wordpress.com.cn. As soon as all of that is handled, I will enable redirection and my private web server will enter eternal downtime.

Update: .htaccess made more strict, only redirecting known URLs

Read Full Post »

This plugin is now hosted at wordpress.org. It is not being maintained as I am no longer running my own WordPress installation. Please contact me if you want to take over development.

I’ve written a wordpress widget to put AddThis buttons in your sidebar. This is a convenient way for visitors to subscribe to your feed or bookmark your pages without cluttering the sidebar with a gazillion buttons for all the different feed readers and social bookmark sites.


  1. For WordPress 2.0/2.1, first install the widgets framework.
  2. Download the plugin and unzip it in wp-content/plugins.
  3. Activate AddThis Sidebar Widget in the plugin configuration panel.
  4. Visit the widgets configuration panel and drop one or both of AddThis Subscribe and AddThis Bookmark into your sidebar.

Widget configuration is pretty self-explanatory. You will most likely want to leave the title blank. If you want stats from AddThis, enter your username. The AddThis page can be opened either in the current window, in a new winow or in a JavaScript popup.

You can see the widget in action right here in my sidebar. If you use it on your site or have any problems, please leave a comment/trackback.


  • 1.0 Initial release for WordPress 2.1 and earlier.
  • 1.1 Updated for WordPress 2.2 (breaks support for 2.1 and earlier).
  • 1.2 Minor changes. Now works on any WordPress 2.x.

Read Full Post »


Get every new post delivered to your Inbox.