The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

How do I upload auto generated HTML into confluence

Glen Collins
Contributor
July 13, 2016

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.

Thanks!

Glen

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Bob Swift
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 Champions.
July 13, 2016

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

TAGS
AUG Leaders

Atlassian Community Events