Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Confluence Bulk Import HTML

Sarah Sand January 3, 2018

Has anyone had any luck with this recently?

We're trying to migrate from one Knowledge base to another. I'm able to pull out the content as a CHM, then convert it to HTML and attachments using a converter. But, I'm having trouble getting the HTML imported into Confluence.

Here are the solutions we're currently trying:

  • Built-in Confluence file importer (didn't work - is getting hung up on the fact that the pages are formatted as tables)
  • Confluence's REST API calls to create a page and add an attachment (currently working on this)
  • Universal Wiki Converter (looks like it's no longer supported, as of a long time ago)
  • Bob Swift's Command Line Interface/CLI (loadfiles worked great, but brings it in as HTML code which our users won't be able to support)
  • Bulk convert the HTML to PDF files, then use the REST API to create pages and attach the PDF files (currently working on this, at least it keeps the original formatting of the pages)

Thanks for your help!

2 answers

1 vote
Nar Kumar C_ - Narva Software
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
April 23, 2020

For others who are looking for an option to import HTML files in bulk, we have developed alternative to universal importer: All-in-one File Importer for Confluence

You can import multiple files at once or just reference folder and it will import the files under it.

It also supports bulk importing other file formats like Markdown, Microsoft Word etc.

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 4, 2018

Sarah,

What's the software that you're trying to import from?

Ideally you would be importing XML files but if you let us know the exact software you're coming from we might have some other suggestions.

Regards,

Shannon

Sarah Sand January 4, 2018

Hi Shannon,

The software is Moxie. The business member who owns the application is trying to get in contact with the vendor to find out what other export formats they can create for us aside from CHM, so there's a chance that XML may be an option.

And I should clarify in case they see this question that we're doing a proof of concept for the conversion. 

Thanks for asking!

Sarah

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 4, 2018

Hi Sarah,

Thank you for confirming that.

So for external sites, here's what we recommend (see Import Content into Confluence)

 

Import web content

To embed web content on a page:

  • Use the Widget Connector Macro to display videos, slide shows, twitter chats, documents and more, sourced from other web sites and displayed on your Confluence page.

  • Embed an external web page into Confluence with the HTML Include macro

  • Use HTML code in a page with the HTML macro

Note: The HTML macro is not enabled in all sites. Talk to your Confluence Admin about whether you can use this macro. 

Importing content from another wiki

Confluence does not provide a method for importing content from another wiki. You may be able to build your own import solution using our REST APIs, as mentioned below, or work with an Atlassian Solution Partner to develop a custom solution. 

Import other content

Importing non-wiki markup into Confluence requires a conversion process:

You could work with Moxie as you have been, and let them know your options through Confluence, and hopefully they can work with something for you. The XML to import into Confluence must be Confluence generated, so with Moxie, you'll need to go the HTML or basic text route. Another option is if you have a copy of any of your pages as a Word Document, you could import these.It's still worth trying the unsupported options, as it could work depending on your content.

Regards,

Shannon

Sarah Sand January 8, 2018

Thank you very much, Shannon. I appreciate the help!

We'll keep working with Moxie, and trying out the different unsupported options. I'll make a note to come back here once we've found a solution.

For the Word Document option you mentioned, there's not a built-in way to do this in bulk that you know of, is there?

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 9, 2018

Hi Sarah,

There's not, unfortunately.

I made a feature request for it a few years ago but it didn't gather much interest and was closed:

Thank you in advance for updating us when you find a solution!

Regards,

Shannon

Sarah Sand January 9, 2018

Darn, thank you for taking that step! I'll keep that in mind as well. Thanks!

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 9, 2018

No worries, Sarah! Keep us updated. :) 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events