Extensions Wiki » Extensions » Import Content By XAR Extension

Import Content By XAR Extension

Last modified by Vincent Massol on 2013/03/11 09:38
cogCreate a XAR file by exporting and converting content from a mysql database
TypeOther
Developed by

Guido Schoepp

LicenseGNU Lesser General Public License 2.1

Download v1.0

Description

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

Download XWiki