View source for Mokopedia
From Openmoko
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page:
Templates used on this page:
Return to Mokopedia.
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page:
Templates used on this page:
Return to Mokopedia.
TODO: Support this project by adding ideas and comments to the discussion page and edit this article (See: To-Do List) |
Mokopedia makes wikipedia accessible on your openmoko phone even without being online because all articles will reside in a compressed filesystem (squashFS) on your SD Card.
You will have to install lighttpd to access a local perl cgi script with the web browser of your choice. This script will offer you a text box to easily search your stored articles.
Please feel free to add anything that comes to your mind.
You can download the current code at http://projects.openmoko.org/projects/mokopedia/
You can view a little demo here: http://www.rabenfrost.net/mokopedia_demo.ogg
enable server-module "mod_cgi", "mod_rewrite", "mod_redirect", "mod_access"
#### CGI module cgi.assign = ( ".pl" => "/usr/bin/perl", ".cgi" => "/usr/bin/perl" )
#### url handling modules (rewrite, redirect, access) url.rewrite-once = ( "^/wiki/(.*)" => "/wiki/search.py?q=$1" )
To build the squashFS image on your PC instead of downloading ready-to-use-images you additionally need mksquashfs-tools
A big thank to the following people:
All you guys helped me a lot!!