My client has Wiki residing on Confluence using an older version 3.0.0_01 and they want to enter a path (url) to a specific page/space and then extract in html and insert in an internal Google Site.
1. With this older version, how do I connect? What API?
2. Once connected, what API can I use to extract/export in HTML?
3. Note: client has another version 3.5.6 with just a couple pages/spaces that also need extraction.
Thank you in advance!
There's a SOAP API for Confluence 3 (see https://developer.atlassian.com/confdev/deprecated-apis/confluence-xml-rpc-and-soap-apis ), but it's not going to give you html. You'll have to convert anything you fetch from wiki markup to html by yourself.
You might find it easier to just scrape the page directly.
Thank you, Nic.
The SOAP and work to get it to HTML is a lot work and testing. Perhaps, I will have the client manually export to html (assuming that option exists in UI) and then upload to a web app.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Interesting. Nic, from your reference link I found this Python script. Perhaps NodeJS with this script or one similar may work. Thoughts?
https://confluence.atlassian.com/display/DISC/Export+Space
Kind Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nice find! I think that could be converted to NodeJS reasonably easily (I'm not a Javascript coder, and my Python isn't a lot better, but it does feel right)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.