Forums

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

Showing confluence content on a wordpress site

Saleha Jaweid
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 10, 2023

Hi,

 

I would like to create a roadmap page in Confluence and then show it on an external website designed through wordpress - how would this be doable? And would this site update automatically anytime I update the content on the Confluence page? 

1 answer

1 vote
Nic Brough -Adaptavist-
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 Leaders.
November 11, 2023

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events