Import of simple HTML pages as Confluence pages

DRM
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 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
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 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
DRM
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 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
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 8, 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
TAGS
AUG Leaders

Atlassian Community Events