It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Import of simple HTML pages as Confluence pages

Damien Raude-Morvan Apr 14, 2014

Hi,

I'm trying to find an efficient way to migrate 100+ HTML pages into a Confluence 5.x (latest release).

I've tried to use UWC (using testxml.properties as baseline) but was unable to manage importing any markup (only plain/text is visible in Confluence).

Is there an simplier tool / solution to import HTML pages (with some attachments) into Confluence ? IMHO, it seems a more useful feature than Word document import but YMMV.

Regards,

2 answers

1 accepted

1 vote
Answer accepted
Davin Studer Community Leader Apr 14, 2014

You could try the WebDAV plugin for confluence. It maps the page heirarchy structure to a file system and allows you to work with it as if it were files and folders. Each page is represented by a folder and in that folder is a .txt file with the same name as the folder. This .txt file is the page content. Any other files in that folder are attachments to the page. So, you could create folders for you html pages with the folder name as the page name ... avoid special characters ... only use letters, numbers, and spaces if you can. The create a .txt file in the folder with the same name as the folder. The .txt file will have your html content minus the html, head, and body elements. Only put in the .txt file what would be inside the body element of the page. Then simply drag and drop the folder to the WebDAV folder that you have mapped to Confluence.

1 vote
Damien Raude-Morvan Apr 21, 2014

Hi Davin,

Thanks for your answer. I've started working an a simple tool which allow me to copy/transform/import raw HTML data + binary attachments into a Confluence WebDAV directory.

https://github.com/drazzib/confluence-importer

Anthony Delaney Jul 08, 2015

Hi Damien, Can I ask if this tool will allow me to convert a HTML5 page into a Confluence page? The HTML page I want to import has a number of headings, images, lists, and tables. I would like to maintain these as part of the import and see confluence detect the headings to build a TOC, and save the images to the space so I can insert them in the appropriate places. I am not sure how comprehensive your tool is. If you could give an explanation it would be appreciated. Thanks, Anthony

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

915 views 6 17
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you