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

仅仅用于软件推荐,不适合发求软件或软件使用问题方面的贴子
回复
头像
parseeci
帖子: 1230
注册时间: 2009-11-19 15:03
来自: 娜美星

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

#1

帖子 parseeci » 2010-08-09 23:45

去这里下载: 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) 已下载 77 次
上次由 parseeci 在 2010-08-10 22:21,总共编辑 1 次。
rediscover
帖子: 3173
注册时间: 2010-01-13 23:26

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

#2

帖子 rediscover » 2010-08-10 21:22

QT的东西,不知道仓库里有没有。二进制deb不能随便用的啊。

http://kde-apps.org/content/show.php/Wi ... tent=65244
Here I am.
Ubuntu 桌面培训 - 全中文官方文档,含汉化截图,提供PDF
头像
lainme
论坛版主
帖子: 7805
注册时间: 2008-09-13 19:17
系统: Arch Linux (x86_64)
联系:

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

#3

帖子 lainme » 2010-08-11 13:49

launchpad ppa 有
heavencen
帖子: 132
注册时间: 2011-02-04 14:08

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

#4

帖子 heavencen » 2011-12-06 1:25

这个一定要收藏!!!太好了!!
heavencen
帖子: 132
注册时间: 2011-02-04 14:08

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

#5

帖子 heavencen » 2011-12-06 1:29

http://download.wikimedia.org/backup-index.html, 能浏览,不能下载,是不是被墙了!!!
回复