修正了评论作者没有名字的时候出错的问题。。
Tag Archives: wordpress
Live Space to WordPress, officially…
The breaking news for me this morning is Microsoft officially announced they will give up Live Space service and allow all users migrating to WordPress.com. This is so good, for human beings.
And my small tool Live Space Mover will probably accomplish his mission after serving for 3 years. I wrote this script when I worked as an intern in Bosch RTC in 2007, for moving my own blog posts to WordPress. Since then I maintained it at times, when receiving emails from users around the world. Most updates were catching up with Live Space upgrade, while some are just bug fixing. Several nice people sent me donations, which were the best times I’ve ever had. The largest donation(20$) came from a man using an “@microsoft.com” email ;)
The small script experienced a few significant changes in its not long life. The first change is from directly publishing posts to destination blog via MetaWeblog API to exporting XML for user to import by himself. This leveraged existing functions and made it much easier. The second change is about fetching blog comments more than 1 page. Live Space switched the way of paging comments between Ajax and non-Ajax several times. In the early versions of Live Space Mover I once successfully “decoded” some Ajax functions of Live Space by watching the Ajax http traffic and guessing parameter meanings. That was fun but quite time-consuming, and also made the early Live Space Mover “full functional”. Then Live Space switched to non-Ajax way and my life was much easier for a long time. Recently Live Space used an Ajax way again but I had lost interests to waste time on this sh*t… So current Live Space Mover can’t fetch comments more than 1 page.
By the news there are 30 million live space users. I guess maybe 10% of them will move to WordPress.com? That is still a large number. For Chinese bloggers who want to use a blog service which is not GFWed, self-hosted blog (WordPress or other blog app) would be the best but expensive choice, and blog.163.com is the best choice among free solutions AFAIK.
Blogbus到WordPress的转换工具
过年的时候帮朋友写了个Blogbus到WordPress的转换工具。Blogbus提供XML格式的导出,转换到WordPress的格式也就是个力气活了。
利用了一些原来Live Space Mover的代码,所以代码还是Python的。Code放在http://code.google.com/p/blogbus-to-wordpress/。
应用放在Google App Engine上了,用起来应该会比较简单。访问
http://blogbus-to-wordpress.appspot.com/
上传Blogbus的备份XML文件,得到转换后的WordPress格式文件,到WordPress后台导入即可。
WordPress导入的时候支持一大堆类型,注意选择WordPress类型。
WordPress on Blackberry Looks Very Nice
The UI is so clean and cute. And Chinese is supportted well when reading! Let’s see if it works when posting… 喔喔喔
Get it from here
Using Google Ajax Search on This Blog
A few days ago I noticed the default searching on this blog doesn’t work well, especially for Chinese. So just now I found the Google Ajax Search plugin and applied it. See it in action here. Pretty cool~