cogCreate a XAR file by exporting and converting content from a mysql database
Developed by


0 Votes
LicenseGNU Lesser General Public License 2.1


To import content from other Wikis (e.g. MediaWiki) into XWiki you can use .XAR files.  You can use the Perl module HTML::WikiConverter in the toWikiContent function to convert your content to the XWiki syntax.

Perl Sample Script

The attached sample script creates the documents in the specified space directory and generates the appropriate package.xml file. Beside that it demonstrates how to add tags to a document.

After creating this file structure it has to be packed in a zip file which must be renamed with a .xar extension.

Tags: XAR
Created by gus27 on 2007/09/22 17:39

Get Connected