guaka / mediawikixml2meteor2phonegap

Turn MediaWiki XML dumps into a Phonegap app, through Meteor
http://wiki.yt/
Other
9 stars 1 forks source link

this code is not working anymore as of September 2014

mediawikixml2meteor2phonegap turns a MediaWiki XML dump into a Meteor app and consequently into a Phonegap app. Requires https://github.com/guaka/meteor-phonegap

This is a work in progress with running code.

It's mainly built for information that you want to have available when not online. Or when roaming. Sites like Hitchwiki, Couchwiki and Wikivoyage.

How this works

build.sh is the main script. It will parse a MediaWiki XML dump into json, only keeping the most important namespaces. The json ends up in dump.js in meteor/client. It is thus parsed directly on the client.

This works really well with wikis the size of Hitchwiki (around 3000 articles). It will fail miserably with the English Wikipedia. But the English Wikivoyage is a good candidate.

Examples

GPLv2+ for compatibility with MediaWiki.