Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Step-by-step guide

Table of Contents
maxLevel3
minLevel3
stylenone

1. Create a Public Link for your Confluence Page

First, you will need to generate a public link from your Confluence instance. Go to the

To get a copy of your link

  • in the page tools menu

...

  • on your page,

...

  • choose Share this page...

...

  •   

Image Added

For the current example, we are sharing the Spaceship Requirements page.

Image Removed

2. Getting your Website ready

For this tutorial, we have created a dummy "Company Website", where  where we will embed our shared page Spaceship Requirements.

Image Modified

3. Generate your HTML Snippet

We are going to use an iframe to directly embed our shared page.

In the following snippet,

  • replace the attribute

...

  • src

...

  • with

...

  • the public link

...

  • for your shared page and add it to your website html

...

Code Block
languagexml
        <iframe sandbox="allow-same-origin allow-scripts allow-popups allow-forms"
    src="http://YOUR_DOMAIN/display/shareit/4556722/TEK19cf49188ff94c489c0d374ea3ee63daTSJ" width="800" height="600" frameborder="0"></iframe>

Image Modified

Finally, you can improve the style of your shared page if you like by changing the look and feel. For example, by removing the Confluence header:

Code Block
languagexml
 <div id="myDivId" class="col-md-4" style="width: 775px; height: 600px;overflow: hidden">
 <iframe sandbox="allow-same-origin allow-scripts allow-popups allow-forms"
    src="http://YOUR_DOMAIN/display/shareit/4556722/TEK19cf49188ff94c489c0d374ea3ee63daTSJ" width="775" height="600" frameborder="0" style="position:relative; margin-top: -80px;"></iframe>
</div>

 


Image Modified

Filter by label (Content by label)
showSpace
showLabelsfalse
max5
spacesSID
showSpacefalse
sortmodified
falsereversetrue
typepage
cqllabel in ("page","shareit","confluence","shared") and type = "page" and space = "SID"
labelsShareIt Confluence Shared Page

Page Properties
hiddentrue


 
Related issues