IPhone Wikipedia Project
From Dev.openbig.net
Goal: Running Wikipedia in an offline database locally on the iPhone
- Unicode characters must be able to index, search and render correctly for the zh wiki to run successfully on iphone
Contents |
Current Candidates
- http://trac2.assembla.com/iPhonePedia/wiki (iPhonePedia)
- http://collison.ie/wikipedia-iphone/ (Wikipedia)
- http://haukap.net/ (Wiki-Server)
Some useful links
Marks my involvement in improving the projects...
- http://code.google.com/p/wikipedia-iphone/
- http://www.hackint0sh.org/forum/showthread.php?p=213579&posted=1#post213579
- http://haukap.net/2008/02/05/development-of-a-new-indexer/#comment-444
iPhonePedia
Pros
- Pictures and formattings preserved
- Full text search (good for English entries)
Cons
- Uses Apache, not lighttpd
- Seems to be having problems with unicode search
- Full text search (bad for CJK entries)
- Uses Safari - can interfere with regular browsing activity
Installation
- Converted data file from instructions given on http://trac2.assembla.com/iPhonePedia/wiki/InstallationInstructions (conversion support Windows but requires cygwin dlls and perl)
- Installed Perl on iPhone
- Installed application on iPhone - manually, as the installer feed does not work.
- Successfully gotten search.php to show up, search does not work: problem with lighttpd?
Wikipedia
Pros
- Native app, no safari needed
- Search completion
- Better chance of supporting unicode / CJK characters (although it does not, at the moment)
- Title search (good for CJK entries)
- Easy to install, easy to use
Cons
- Data file a hassle to set up when using non MacOS / BSD based machines
- Currently does not support unicode characters, all text garbled
- Does not include wikitext parser so formats are stripped
Installation
- Manual installation only: copy the App to /Applications and chmod, create /var/root/wp folder and untar data file
- No dependencies
- Data file generation in Linux: see subpage IPhone Wikipedia Project/Wikipedia Datafile Generation in Linux
Wiki-Server
- Not open-source at the moment
Pros
- Moderately easy to set up - but not the easiest
- Limited formatting available
- Unicode wiki usable already!!
- Uses a separate web server and another port, does not interfere with existing web servers
- Indexes generates the fastest
Cons
- No searching? Only going to a page directly
- Some formatting tags parsed incorrectly
Comparison Table
| Feature | iPhonePedia | Wikipedia | WikiSrv |
|---|---|---|---|
| Client-Server based | Yes | No | Yes |
| Safari browsing | Yes | No | Yes |
| Native GUI browsing | No | Yes | No |
| Image Support | Yes | No | Yes |
| Formatting Parsing | Advanced | Basic | Advanced |
| Template Parsing | Limited | No | Most |
| Unicode Support | Unknown | Content only | Yes |
| Search | Fulltext and title | Title only | No |
| Data file type | Many small files | One big file | Many small files |
