PDA

View Full Version : DSwiki - Offline Wikipedia Reader v0.3 alpha1



wraggster
March 17th, 2009, 19:43
ollipolli (http://www.neoflash.com/forum/index.php/topic,5519.0.html) has posted an entry in the Neoflash Coding Contest:


Nickname: OlliPolli
Project name : DSwiki
From: Germany
Division : DS APP
Original submission : YES
Support for Motion Card : NO
In last NEO Compo this project have won in the top 10 : NO
Download link: http://dswiki.googlecode.com/files/DSwiki-0.3alpha1.zip
Installation: See the README below
Description: Offline Wikipedia Reader
-------------------------------------------------

OK, then, time to enter the compo. I present DSwiki. This program is a viewer application for any wikimedia powered wiki, the most famous one is surely the original "Wikipedia". But also any(!) wiki hosted on http://www.wikia.com can be used.

You can download pre-made dumps from http://code.google.com/p/dswiki/wiki/Dumps, or use an indexer to turn any database dump into usable files for DSwiki. The indexer can be dowloaded from http://code.google.com/p/dswiki too.

The new version (0.3+), exclusively built for months to reach the deadline of this compo, is not comparable to v0.2 in any way. It features a totally different approach, namely to convert the markup into XML and parsing the XML-tree.

The left image shows the rendering of a "random" article ;-) Note the typography (bold/italic), the correct rendering of the list and that you reached this page through a redirection. The right image shows the table of contents that you can use to quickly navigate the article.

The left image shows the searchable index (this screenshot was taken from the uncyclopedia), the right image demonstrates just a little of DSwiki's feature to display most unicode characters.

The last image shows a typical run of the indexer, preparing the german wikibooks for DSwiki.

If you have questions, feature requests or other things you want to say, just do that in the thread in the PAlib forum (just google it), here, or write me a mail. Bug reports should go into the list on the googlecode-page.

For the installation, see the README below. Make sure you take the tutorial on the first start, you'll learn everything you need. But you can start it also at a later time from the menu.

I hope you like DSwiki, it was a pleasure to code it.

Ciao
OlliPolli

DSwiki (v0.3alpha1)
=====================

DSwiki is an offline viewer for Wiki markup, for example for the
Wikipedia, Wikibooks, Wiktionaries, ...

DSwiki is NOT a web browser!

Why DSwiki?
=============

DSwiki is optimal for all people with a Nintendo DS that like to
have their information "portable", but cannot access the Internet
directly. So far, no Program was very good in displaying the
Wikipedia on the DS. NewDictS can display an uncompressed dump, but
this dump is outdated, and the Wikipedia has grown dramatically
since then, so compression was absolutely necessary. In addition,
most homebrew programs can't handle UTF-8.

Features
==========

-- Get the complete(!) Wikipedia on a Nintendo DS. The English language
edition fits on a 4GB storage device, the German edition is just 1.2GB.
-- Quite good handling of internal links. Alternative display text
and appended letters are supported to create the same look as
in the online version. Subpage links are supported.
-- Very good Unicode/UTF8-Support (as much - or as little - as the
underlying font covers)
-- Fast and easy searchable index
-- Bookmarks

Usage
=======

Just take the tutorial at the first start, or start it any time later
from the menu.

Installation
==============

1. Copy DSwiki.nds somewhere on your flash card, DLDI-patch it if
necessary.

2. Create dumps of your favorite wiki or download already prepared ones.
Visit <http://code.google.com/p/dswiki/wiki/Dumps> for a list.

3. Copy all files with the extensions

ifo
idx
ao1
ao2
db? [ ? = one letter, typically "a" or "b", "z" is used in older versions ]

into /dswiki. This directory must exist in the root directory of your flash card.

Planned Features
==================

-- Improved Search (advanced input)
-- "Find as you type" inside an article
-- Switching between fonts on the fly
-- Customization

DSwiki is based on
====================

-- NewDictS <http://tvgame360.com.tw/viewthread.php?tid=21913&extra=&page=1>
Thanks to sesa for graphics-/unicode- and font-routines

-- Wiki2Touch <http://code.google.com/p/wiki2touch/>
Thanks to Tom Haukap for the file format and index routines

-- libbzip2 <http://bzip.org/>

-- UCS fonts <http://www.cl.cam.ac.uk/~mgk25/ucs-fonts.html>
Thanks to Markus Kuhn

+ some other fonts

+ Titlegraphic <http://www.stefanie-gronau.de>
Thanks to my beloved wife


Have Fun!
===========

OlliPolli

Download and Give Feedback Via Comments