How to turn Confluence Pages into web page
Asked by Mrinalika Akula:

Hi All,

I'm exploring the options for diverting the content of confluence pages into our external website.

Is there a way to directly export confluence pages onto an external website.

Looking forward to some solutions on this front.

Thanks in Advance

Mrinalika


Answers:
author: Yevhen Rohovets
body: Hello,

Do you mean the case when the site uses content from the Confluence and it changes when the Confluence page changes?

I think you can use API Confluence page <https://developer.atlassian.com/server/confluence/confluence-rest-api-examples/>


author: Kiran Panduga {Appfire}
body: Hi [@Mrinalika Akula](/t5/user/viewprofilepage/user-id/3109178) ,

To convert the Confluence Pages into the Web pages, you need to export the page or space in HTML format and then can build the web pages.

For more information, please visit the below link:

<https://confluence.atlassian.com/confcloud/export-content-to-word-pdf-html-and-xml-724764824.html>

Thanks,

Kiran.


author: Mrinalika Akula
body: Thanks for responding Matt. We're trying to publish API documentation collated in Confluence Pages on to the external website. Looking to establish a straight pipeline which can pull the content from confluence page and push it onto the website. There could be multipages aligned with in a space.

comments: author: Matt Reiner [K15t]
body: Hmmm, OK.

I would say that if you're trying to bring the Confluence content into your current site CMS, you might need to implement a custom solution using the Confluence API.

If the API docs can live outside your site CMS, then you could use Scroll Viewport to present the Confluence pages as a website without having to even write code. Here's the example of our help site which is authored in Confluence: <https://help.k15t.com/>

Also, I was also just thinking that you'll also need a way to display only the current API docs online and have a way to update them or add new docs for the next release. There are quite a few ways to do this: <https://www.k15t.com/rock-the-docs/versioning>  
How are you doing this today?


author: Conrado Maggi
body: Exporting your confluence as HTML is a bit tricky. You can use the API to [download the content.](https://developer.atlassian.com/cloud/confluence/rest/api-group-content/#api-wiki-rest-api-content-get)

The problem is that the response is not a properly formatted HTML code. You need to fix the CSS issues to show most of the macros, internal links need to point to your public URL or remove all together and for the attachments you need to [another API,](https://developer.atlassian.com/cloud/confluence/rest/api-group-content---attachments/#api-group-content---attachments)an update all images URLs to point to your server

We built [DeskBase](https://marketplace.atlassian.com/apps/1227534/deskbase-on-brand-websites-for-confluence?hosting=cloud&tab=overview) (Cloud) to fix exactly this issue. You can create a website from your confluence content and publish live under your own domain.


author: Matt Reiner [K15t]
body: Hi [@Mrinalika Akula](/t5/user/viewprofilepage/user-id/3109178)

I would say it depends on the type of content you're looking to display:

If you're looking to display just bits and pieces of content within your site, the Confluence API might be a good fit.

If you want to display multiple pages, or even an entire space worth of content on the web -- as a help center, for example -- my team's app [Scroll Viewport](https://marketplace.atlassian.com/apps/1211636/scroll-viewport-for-confluence?hosting=server&tab=overview) would be a good option.

Can you share a little more about what you're trying to do?

comments: author: Robert Yu
body: Is this available for cloud version of confluence? I was not able to find it.


author: Matt Reiner [K15t]
body: Hey [@Robert Yu](/t5/user/viewprofilepage/user-id/3547835)

Net yet, but we're working on it right now. I'd recommend you follow the progress here to find out when it's ready to go: <https://www.k15t.com/software/scroll-viewport/scroll-viewport-for-confluence-cloud>


Tags: cloud

confluence-cloud