Import of simple HTML pages as Confluence pages

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
Davin Studer Community Champion 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.

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

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
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...

380 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