How to integrate other HTML pages

Hi!

I would like to integrate some generated HTML reports into Confluence and wonder what the easiest / best way would be to to that. The generated HTML page consists of HTML, some JS- and CSS-files, images, etc.

  • Is it possible to upload the files to a Confluence space and display them like other regular Confluence pages?
  • Is it possible to attach all the files to an existing page and include the attachment using a macro or whatsoever (similar to the Excel macro)?
  • any other ideas?

Thanks!

Christopher

3 answers

1 accepted

This widget could not be displayed.

I've done this with out Confluence-based documentation site. We have a few hundred pages of API docs, including stylesheets and images that are included. These API docs are in addition to the COnfluence content and don't require Confluence's styling.

To do this, just copy the folder that contains all your HTML into the confluence/confluence directory on the server. At that point, you'll be able to access the pages at the same level as your the /display path. You might also have to tell Confluence not to render the pages with its decorators.

I tied our HTML pages in to Confluence's permissions system and prevented the Confluence decorators from being applied to the HTML pages. I blogged about it here: http://www.confluenza.com/2013/01/04/protect-static-html-pages-using-crowd-and-confluence/

Sounds good! I'll give it a try! :)

Thanks!

This widget could not be displayed.

Do you want the pages to be an attachment or for users to be able to view them? Do they need to look like the other Confluence pages, or do they stand on their own?

This widget could not be displayed.
  • The users should be able to view them like real pages.
  • The pages stand on their own. Styling like other Conluence pages is not neccessary.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

237 views 2 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you