Question:
Offline Wikipedia....?
?
2011-12-06 03:23:12 UTC
i have downloaded .xml file of offline wikipedia. But i don't know how to to use it for reading the contents of wikipedia. Please help...
Four answers:
S.A.STAFILA B
2011-12-09 06:32:00 UTC
Offline-wikipedia server requires with its dependencies at least 50 MB. Wikipedia content, articles and indexes require 5,6 GB for english dump (march's version).



It works on legacy hardware and low cost laptop (Asus EEE PC), but for good performance, we recommand a 2 years old computer.

Installation



This operation is divided into 2 steps. First you download and install Offline-Wikipedia Server and then you install Offline-Wikipedia Content. Unfortunately, for the moment, we can't provide the content, because we are looking for an online file storage service to host modified wikipedia dumps. For the moment, if you really want to install offline-wikipedia, you have to install owi-server package and then build by yourself the content.

Server Installation

Dependencies



This project depends on this packages :



php5-cli

libxapian15

python-django

imagemagick (for Mathematics support)

texlive-latex-base (for Mathematics support)

texlive-base-bin (for Mathematics support)



Ubuntu Hardy Heron 8.04

So you have to install project dependencies by typing in a terminal :



sudo apt-get install php5-cli libxapian15 python-django imagemagick texlive-latex-base texlive-base-bin



You have to download the offline-wikipedia server at Download Page. Just run



sudo dpkg -i owi-server_0.1b1-ubuntu8.04-1_i386.deb



Ubuntu Gutsy Gibbon 7.10



On Ubuntu Gutsy Gibbon, you have to install the last version of xapian :



sudo wget -O- http://www.xapian.org/debian/archive_key.asc | sudo apt-key add -



Enter your user password



sudo apt-get update



This command has to return the version 1.0.5 not the 1.0.2.



apt-cache show libxapian-dev



So you have to install project dependencies by typing in a terminal :



sudo apt-get install php5-cli libxapian15 python-django imagemagick texlive-latex-base texlive-base-bin



Then, you have to download the offline-wikipedia server at Download Page. Just run



sudo dpkg -i owi-server_0.1b1-ubuntu7.10-1_i386.deb



In order to get the database, you have 2 possibilities, make by yourself the indexed database from official dump or download the indexed database.

Content Installation

Build by yourself the content

1) Get the source code : (you need subversion)



svn co https://owi.svn.sourceforge.net/svnroot/owi/trunk owi-server



2) Install and compile xapian index engine :



sudo apt-get install libxapian-dev



Compile xapian program :



cd owi-server/owi-index_search



make xapian



3) Go into install directory, edit the Makefile (version is available at http://download.wikipedia.org/backup-index.html, it corresponds to a dump release date )



VERSION = 20080312



LANG = en



Launch the whole process :



make content



Warning : on slow system, it can take very long time !

Team

Role User Information

Project Administrator & Developer Jerome CHARLOT 'bsheep'

Contact



If you want additional information, send me an email at offlinewikipediaproject_[At-No_SpAm]gmail_[dot SpAm] com.

Developper information

How to get the source



You have to install subversion and just type :



svn co https://owi.svn.sourceforge.net/svnroot/owi/trunk owi-server



Or browse the source code at http://owi.svn.sourceforge.net/viewvc/owi/ .
?
2011-12-06 04:22:27 UTC
this XML document does not DO anything. It is just information wrapped in tags. Someone must write a piece of software to send, receive or display it.
Nihiltres
2011-12-06 06:46:40 UTC
For some useful tools, see:



< http://en.wikipedia.org/wiki/Wikipedia:Database_download#Dynamic_HTML_generation_from_a_local_XML_database_dump >
?
2014-10-28 22:03:09 UTC
ok


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...