SunPinyin for Mac Leopard Updated (5)

此次更新的主要内容包括:

  1. 加入了候选词字符集的选项
  2. 调整了原来的界面布局,感谢jjgod的帮助

最初觉得缺省支持大字符集很好, 不过最近在帮Feng Zhu收集手写样本时发现,原来GB2312中的二级汉字,我也有若干不认识的。将候选词的字符集设小之后,也有助于减少候选词(主要是字)的个数,提高选取的效率。

大家可以从这里下载最新的安装包。在安装完成之后,请到http://src.opensolaris.org/.../sunpinyin/ime/data下载lm_sc.t3g.le以及pydict_sc.bin.le(如果是PowerPC请下载后缀为'.be'的对应文件),将'.le'(或'.be')的后缀去掉,并拷贝到/Library/Input Methods/SunPinyin.app/Contents/Resources目录下。

A simple python script to backup your roller blog.

I tried to find some backup tools for jroller, some only backs up the recent 30 entries in RSS feed, some does not handul unicode characters. By referring the python/xmlrpclib and MetaWeblog API documents, I wrote a simple backup tool, you could download it here. (But I did not find a good way to get tags for entries.) You may need to modify the global variables, like blogid/user/passwd.

#!/usr/bin/python
import xmlrpclib
blogid = 'yongsun'
user = 'yong.sun@sun.com'
passwd = '**********'
host = 'http://blogs.sun.com'
server = xmlrpclib.ServerProxy(host+'/roller-services/xmlrpc', use_datetime=True)
num = 1000
... ...
... ...

Please note that the passwd is the "Weblog Client API Password", it's probably your original login password, anyway, you could set it in your profile page.