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.
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.
- http://hitchwiki.meteor.com/ and https://play.google.com/store/apps/details?id=io.cordova.cordovahitchwikimeteorcom
- (Dutch Wikivoyage)[http://nlwikivoyage.meteor.com/]
GPLv2+ for compatibility with MediaWiki.