maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   portable wikipedia - mokopedia (https://talk.maemo.org/showthread.php?t=24251)

svs57 2008-10-25 17:16

Re: portable wikipedia - mokopedia
 
ls -l /media/mmc2/sdic/ruwiki-2007-01-03_wiki.dct
-rw-r--r-- 1 user root 187805506 апр 12 2008 /media/mmc2/sdic/ruwiki-2007-01-03_wiki.dct

allnameswereout 2008-10-25 19:13

Re: portable wikipedia - mokopedia
 
you can use xml2dict to convert it to a .dct

There are various database dumps. You need to grab the right one.

I have an issue with it because my howto asks for a SQL file, which I don't have. I suppose I browsed around at the XML files; not the SQL files.

allnameswereout 2008-10-27 06:55

Re: portable wikipedia - mokopedia
 
http://mokopedia.mister-muffin.de is down. You cannot access it even with Google Cache. Live.com Cache does work though.

I've installed Wikipedia Offline Reader and grabbed nlwiki-latest-pages-articles.xml.bz2 (341 MB) which can be read directly after an index database is created (takes a while).

So I'm waiting, but I can tell you its easier than the method described at the mokopedia page. It speaks about importing wikidb.sql but this file simply doesn't exist; bad documentation!

qole 2008-10-28 17:00

Re: portable wikipedia - mokopedia
 
Quote:

Originally Posted by Felixx (Post 234781)
When I try to install the lighttpd package provided by alendit I get:...
dpkg: dependency problems prevent configuration of lighttpd:

lighttpd depends on libpcre3-dev (>= 6.7-1osso1); however:

Package libpcre3-dev is not installed.

Here's another lighttpd server package, also includes PHP support.

Quote:

Originally Posted by jolouis (Post 235084)
The package is quite big (about 10 mb when installed), with the vast majority of that being the PHP binary itself. I noticed that there had been requests for gzip support, and somebody mentioned SQLite, so I've included both those modules which in turn required a few other bits which makes PHP grow in filesize. Anyways, details:
This package contains:
- PHP 5.2.5 CGI
- Built in support for: SimpleXML, sessions, PDO, SQLite
- Modules included for: FTP, pcntl (Process control), Sockets, XML, zlib (gzip, etc)

- Lighttpd (latest version, the number escapes me at the moment)
- Modules for: Authentication, Aliases, CGI

Tested working on Diablo, it's very easy. Simply click the link, wait for application manager to open and install.



All times are GMT. The time now is 20:00.

vBulletin® Version 3.8.8