Hi Michael, On May 4, 2012, at 11:04 AM, Thomas Mortagne wrote:
On Thu, May 3, 2012 at 11:49 PM, <[email protected]> wrote:
We have a small Confluence Wiki that is approaching its user limit. We have the option of either purchasing additional licenses or moving to XWiki. One huge advantage of XWiki is that we could vastly increase the number of users with access to our Wiki even if we did not allow those users write access.
In order to make such a conversion feasible, we would first need to import our existing Confluence Wiki. In searching around I have found references to some Google Summer of Code proposals < http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/ImportExportfromanyotherWiki2010>. I have been less successful in locating implementations.
Only mediawiki import has been done during this GSOC.
Is there a (relatively) straightforward way to import my Confluence content into an XWiki? How might I go about doing this?
There is no real Confluence importer. So it depends of the number of pages you have, if there is not too much pages you can use the built in document content converter to convert them one by one in you XWiki instance.
If there is more then you might want to write a script which parse whatever you can get from confluence in input and use the rendering framework to convert Confluence syntax into XWiki syntax. You can find several examples using various technologies to do that for other wikis (TWiki, Dokuwiki, ...) but unfortunately not for Confluence (yet ;)).
And here's a code snippet showing you how to do it: http://extensions.xwiki.org/xwiki/bin/view/Extension/Convert+Confluence+to+X... Thanks -Vincent
Note that a Java based universal importer/exporter is in progress on https://github.com/xwiki-contrib/wiki-stream (with only a mediawiki importer module right now).
Thanks Michael Ottati