How do I upload auto generated HTML into confluence

Hello all. I would like to know if it's possible (with what comes with Confluence) to upload automatically generated HTML into confluence. I am trying to gather system information, transfer it and upload this HTML file into confluence. This is all done in a Linux environment and done with automation tools. I have tried Webdav clients, lftp, python using xmlrpc but I keep running into issues. Especially trying to upload raw html and issues with illegal characters not being escaped properly.

I know there is bobswift CLI but I'm trying to do this without having to purchase anything. I'm in a Redhat 6.x environment and if anyone know of any CLI tools that can support uploaded of pure html (which may not be all properly formatted - i don't have control over the formatting without spending my time hacking the scripts to fix the issues) please let me know. I'm also working in a purse SSL environment using our own generated SSL certs so it also needs to ignore any cert validation issues.

EDIT: one more thing. I must be able to select the parent page and the space during the upload.



1 answer

If it is not XHTML and just HTML, then I recommend you wrap it in an HTML macro.

Suggest an answer

Log in or Join to answer
Community showcase
Jason Wong
Published yesterday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

250 views 5 14
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot