On 08/03/2010 05:59 PM, Mingli Yuan wrote:
It uses API call to get pageId by the title, and then
convert pageId by base
36 to the short url. It is quite simple.
To reduce the frequency of API call, a simple cache was used. So far, only
Chinese and English were supported.
you should consider base32
http://www.crockford.com/wrmg/base32.html
j