Skip to content

Latest commit

 

History

History
37 lines (20 loc) · 1.07 KB

README.md

File metadata and controls

37 lines (20 loc) · 1.07 KB

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.