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 Sign up to answer
Community showcase
Published yesterday in Feedback & Announcements

How do you analyze GC logs, thread dumps and head dumps?

Hi awesome community!  In this article, I would like to describe the one of the toolset (service) for the analyze some problems on different Java-based instances, of course, as Atlassian admini...

62 views 0 6
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