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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

385 views 21 10
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