How can I import XML, HTML or Latex files?

My company thinks to move technical documentations online as a Confluence spaces. Right now, we are investigating importing options. Does Confluence have these import options built-in or external.

3 answers

0 votes
Stephen Deutsch Community Champion Aug 18, 2017

Are you using Confluence Server or Cloud?

Confluence Server 6.3

0 votes

Depends on what you mean by "import".  You can attach the files of course, but I suspect you want to convert them into Confluence pages?

Yes, we need to convert them into Confluence pages. We are ok with at least XML but also the others will be much better.

Ok, then I'd go with what Steven said for XML and probably HTML.

LaTeX is a different story - translating those into Confluence is pretty much nonsense as you'll lose most of it.  However, I would import the files as plain text and wrap them in macros from https://marketplace.atlassian.com/plugins/com.stepstonetech.confluence.plugins.latex/server/overview

0 votes
Stephen Deutsch Community Champion Aug 22, 2017

Well, you have a few options.

There is the UWC Converter, which is unsupported and may not work on the latest version of Confluence (you should install it in a test instance) which you can use to import some formats.

There is also a plugin for Confluence Cloud, Confluence Universal Importer. You may be able to sign up for a trial version of Confluence Cloud, import the pages, re-export, and import into Confluence Server (since you are running the latest version of Confluence Server, this should work, but you should check with Atlassian support before trying this method).

Finally, the best method would be to use a custom solution that pulls the information needed from the XML files and saves Confluence pages using the REST API. This would require some programming and knowledge of the Confluence API (most languages support some sort of framework for Confluence, so that might at least make this easier). However, this is the only way to fully guarantee a successful conversion of pages into the proper format.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,057 views 16 14
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you