How can I convert a whole XML dump from Wikia to Kindle? [closed]
It looks like you can do this with Mobipocket.
Building from XML
I don't know your Wiki system, but if it can export to PDF instead of XML, then calibre is one tool that can convert pdf to almost any ebook format.
I figured out a way to do it without too much effort. I've set up my own Mediawiki installation and imported the XML (I needed to increase the limits in PHP configuration - the ones concering the maximum execution time and uploaded file size). It took quite a lot of time on my netbook. On the result page, I could copy the list of the pages, then use egrep -v
to filter out non-content pages, such as user profiles, discussions, templates etc.
Then I installed EPubExport. I visited Special:EpubPrint
page and copied the filtered-out list of pages there. Generating the ebook took ages and then converting the EPUB to .mobi was another two hours. The output file is suspiciously long (I doubt that users wrote as much content as Mitchell did in "Cloud Atlas" book), but judging from the preview, it looks legit. It lacks images because they weren't in the XML, though. I'll read it once I'll have some more spare time and let you know how it worked in the long run. If you want to read the ebook by yourself, it can be found here. You'll need to jump to the "Deus Ex" article, because I forgot to cut the index page from the output file.