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
Community showcase
Published in Confluence

Introducing Confluence Cloud and Jira Software Cloud Premium

Wherever you are in your team’s journey , our goal is to support your big ambitions. We’re a cloud-first company with the mission of unleashing the potential of every team, and to address the range ...

600 views 4 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