Since Clearspace doesn't understand mediawiki or Confluence macros, the best thing to do would be to export the HTML from your wiki and then use the Clearspace API to import the content. Here's an example of some Clearspace code that imports content from HTML:
String body = "the HTML from your old wiki"; RenderStrategy strategy = new RenderStrategy(RenderTarget.TARGET_PLAIN_TEXT, RenderStrategy.RENDER_ALL); String wikiBody = JiveApplication.getContext(AuthFactory.getSystemAuthToken()) .getRenderManager().render(post, RenderType.BODY, strategy, body);
Hope that's enough to get you started.
Thanks AJ for this information.
I exported all the content from other wiki tools.
I've to confess I'm not in API...
Would you have the complete sets of actions to implement this ?