分页: 1 / 1

Wikipedia Dump Reade,直接读取*.xml.bz2

发表于 : 2010-08-09 23:45
parseeci
去这里下载: https://launchpad.net/wikipediadumpreader

An application to easily read Wikipedia's downloaded dump files.

This simple program displays the text-only Wikipedia compressed dumps, currently available at http://download.wikimedia.org/backup-index.html, generally named like pages-articles.xml.bz2.

It's fairly useable now for wikipedia reading, altough lots of rendering or layout glitch occurs.
It is focused on usability, and not necessarily trying to mimic the online web interface.

Features includes a Qt viewer with basic text mark-up, following links, ability to read directly on the .bz2 compressed file (although some index creations step is needed on first run), tab-like list of articles with load-in-the-background by default, a simple but useful keyword search, very light source-code, optional latex rendering, no install necessary.



After reading on some blog from planetkde about an offline wikipedia reader, I decided to make available some python-Qt program I wrote some months ago as i realized it might be useful for more people than myself.

Wikipedia Dump Reader display the text-only wikipedia compressed dumps, currently available at http://download.wikimedia.org/backup-index.html, generally named something like pages-articles.xml.bz2.

It's fairly useable now for basic wikipedia reading, altough lots of feature might still not work, since i originally intended this reader for my own usage only.

Features includes a Qt viewer with basic text markup, following links, ability to read directly on the .bz2 compressed file (altough some index creations step is needed on first run), tab-like list of articles with load-in-the-background by default, very light source-code.

The current code required PyQt4, altough some old unmaintened PyQt 3 code is included.

Tested on Fedora Core 4 and Kubuntu with PyQt4.1 (Python 2.4, Qt 4.2).

Usage:

1. on the commandline, run:

python dumpReader.py

or just click on it from your favorite file manager

2. Browse and select the archive (some file probably named *.xml.bz2)

3. If it's the first time, an index is created, which can take some time. Currently, the program need write permission on the same directory.

4. The main windows contains the article title area (top), main text area (left) and article history (right). You can go to an article by typing its name then click the "Go" button, or by clicking a link from the main text area. By default, clicking a link load the article in the background. The search-box area allows to keyword search among the articles' title. You can also go to a random article by clicking "Go" with an empty entry.


deb包:
wikipediaDumpReader-i386-0.2.10.deb
(260.07 KiB) 已下载 76 次

Re: Wikipedia Dump Reade,直接读取*.xml.bz2

发表于 : 2010-08-10 21:22
rediscover
QT的东西,不知道仓库里有没有。二进制deb不能随便用的啊。

http://kde-apps.org/content/show.php/Wi ... tent=65244

Re: Wikipedia Dump Reade,直接读取*.xml.bz2

发表于 : 2010-08-11 13:49
lainme
launchpad ppa 有

Re: Wikipedia Dump Reade,直接读取*.xml.bz2

发表于 : 2011-12-06 1:25
heavencen
这个一定要收藏!!!太好了!!

Re: Wikipedia Dump Reade,直接读取*.xml.bz2

发表于 : 2011-12-06 1:29
heavencen
http://download.wikimedia.org/backup-index.html, 能浏览,不能下载,是不是被墙了!!!