I haven't tried it, but there is a Mediawiki extension for the purpose. <
http://www.mediawiki.org/wiki/Extension:Wiki2xml>. The example links to the
following page:

"Magnus' magic MediaWiki-to-XML-to-stuff converter"
http://tools.wikimedia.de/~magnus/wiki2xml/w2x.php

Templates:

Use all templates
Do not use templates
Use these templates
Use all but these templates

Inputs:

This is
raw wikitext
a list of articles
the name of an article with a list of pages
Site : http:///index.php
Title :
Include GFDL (for some output formats)
Keep categories
Keep interlanguage links

Outputs:

XML
Plain text Use *_/ markup Put → before internal links
Plain text, google-translated to EnglishFrenchGermanItalianSpanish (works
only for wikipedia/wikibooks)
XHTML Align paragraphs as 'justify' Use logical markup (e.g., 'strong'
instead of 'b') Return source XHTML
DocBook XML
OpenOffice XML
OpenOffice ODTReferences as endnotes (instead of footnotes)

Known issues:

   - In templates, {{{variables}}} used within <nowiki> tags will be
   replaced as well (too lazy to strip them)
   - HTML comments are removed (instead of converted into XML tags)


See also:

<http://tools.wikimedia.de/~magnus/wiki2xml/README>
<http://fedoraproject.org/wiki/DocsProject/Tools/Wiki2XML>
<http://trac.c3d2.de/jargon/browser/trunk/jargon/converters?rev=5>




On 7/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Quoting Alan <[EMAIL PROTECTED]>:
>
> Alan,
>
> Is there one that converts wiki to xml? From there, all other formats
> are able to be created fairly easily.
>
> Mike
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to