Feeds:
Posts
Comments

Posts Tagged ‘Blogging’

真遗憾,可是我确实无法继续管理自己的服务器。考虑了很久,我最后决定将此blog移到wordpress.com并且安排自动转向。麻烦的是,因为wordpress.com被GFW被封锁,所以中国大陆的读者需要一些特别安排。目前有几种解决方法:

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

只有使用代理的才可以来我的blog留言或者trackback(引用通告)。我回到北京以后(大概明年)也许会建立一个镜像blog,让大家来那里访问。

多谢Herock对以上的评论。要是还有其它解决方法请大家留言。在中国的读者并不多,但我非常珍惜我们的交流。我大约在一个星期内进入“中国封”状态……

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.

Installation:

  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.

History:

  • 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 »

Follow

Get every new post delivered to your Inbox.