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

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.

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 (you can also ...

2,517 views 14 20
Read article

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