Latest progress on iKi
Montag, Dezember 31st, 2007Before my vacation time ends next week I wanted to have a more or less complete and stable version. So what have I added or changed in the last few days:
- The template processor was completely rewritten. I’ve learned that memory is not a problem on the iPod Touch but speed is. The new approach uses much more memory but is also much faster than the old version. While we’re on the subject: Speed is fine, but not amazing. it could happen that the iPod needs about 5-10 seconds to generate a large article. On the other hand the mobile safari need also a lot of time if a large article is displayed.
- I’ve added every parser function I’ve found in the documenation: {{lc:xxx}}, {{LOCALTIME}} and so on. Some are not very usefully, but some are: {{NUMBEROFUSERS}} which give you always 1 and that’s most of the time totally correct
- Added #switch and #ifexists parser functions. So every parser function except #ifexpr/#expr is working. The later are implemented as a stub.
- Added the Table of contents and the related handling (__TOC__, etc.)
- Port, binding address and base path can be change on the command line
- Namespace handling for different language editions is working nice. Even links to other editions are supported (if installed of course). Installed editions will be detected automatically.
- Added a config file for language/edition specific settings: The name of the template prefix or the title of the toc for instance.
BTW: The same code works on the MAC also. Nice for debugging. Compiling for a PC or another PDA should also work.
Still missing is a nice tool for splitting, indexing or even downloading the files from Wikipedia. Further, there is still no application to control the server on the device. You have to start it manually using SSH.




