How to embed Confluence page in other website with confluence styles

Raúl Parra Molina January 12, 2024

Hi guys,

I need to embed some of our confluence pages into our intranet, in order to let the users consult the information we add to our wiki in a most accesible way.

I'm getting the html contect right but is there any way to get it with the styles of it? I want to show them like we can see in the Confluence page. I tried with so much API calls and the one let me closer was that one:

https://XXX.atlassian.net/wiki/rest/api/content/XXX?expand=body.styled_view

But this gave to me the styles on Lss code and there's information I cant get. Is there another easier way to do what I am trying?

 

Thanks community!

3 answers

0 votes
Piotr Wiśniewski
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!
April 10, 2024

Hi @Raúl Parra Molina I have the same problem. Have you managed to use styles from the response?

0 votes
Barbara Szczesniak
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.
January 16, 2024

@Raúl Parra Molina Are you wanting to provide these users with access to one page of content at a time? Not any kind of linking to additional pages within your Confluence space?

If this is the case, have you considered publishing the page as a blog and making that available in your intranet? 

Raúl Parra Molina January 17, 2024

I dont want to publish anything, i just want to get the contentent with the styles, just like I see it on Confluence. I mean i got a wiki page like this one:

Wiki.JPG

I can get the data with the API but I just recibe the images, text and links, but I want to get the styles aswell, in order to see it like i see on the image but on Intranet.

0 votes
Laura Campbell _Seibert Group_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 12, 2024

Hi @Raúl Parra Molina and welcome to Community,

I'm going to assume that letting intranet users directly access your Confluence is not an option (but Confluence is a great base for an intranet). Can you provide some more information about what intranet solution you are using?

Raúl Parra Molina January 17, 2024

I mean I got an internal webapp where the workers access to do diferent work and serch some information of the company. I want to let the users access to our wiki without leaving the webapp. I tried so much API calls but I cant get the styles like i sow on the Confluence page. I give more information on the other reply if you want to check it. Thanks @Laura Campbell _Seibert Group_  

Suggest an answer

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

Atlassian Community Events