Welcome to the Atlassian Community!
Broadly, there are two ways to do this.
- You could use an iframe to show a Confluence page within your site. This is problematic and clunky, because
- You would need to configure the page with the iframe on it to understand all the stuff Confluence is doing when it renders a page. When Confluence renders a page, it's not just serving up plain text content, it can by dynamically drawing content from many places.
- It will render all of the Confluence page, not just the content, you'll get the menu bar, headers and footers, and it will not be formatted in the same way as the rest of your Wordpress page
- You could find or write something for Wordpress that can, when a Wordpress page is rendered, reaches out into Confluence and pulls the content from a page. This is not as simple as it sounds though.
- Your code will have to parse the Confluence storage format. At the most simple level, just to extract the raw text, but you're likely to want to be able to do formatting like bold or underlining, and work out how to extract headings from it
- Confluence can be highly dynamic content - your code will need to understand not just formatting, but how the macros work. If anyone has used macros on a page, then you would need to replicate all the functions Confluence is using to render the macro content
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.