Briefly, wikisrvd is initiallized with a Objective-C object by replacing the codes in Main.cpp. A trival hacking to correct _basePath is also needed. And the service is triggered with [NSThread detachNewThreadSelector:...] from [Application applicationDidFinishLaunching].
If everything goes smoothly, a standalone wikimedia reader would be possible.
The screenshot on the left demonstrates a page from wikia.com (Forgotten Realms Wiki).
No comments:
Post a Comment