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 vote
Stephen Deutsch Community Champion Aug 18, 2017

Are you using Confluence Server or Cloud?

Confluence Server 6.3

0 vote

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 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

605 views 20 11
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