# PubCoder HTML5 Export User Guide

### What's Included

The PubCoder HTML5 export package directory includes a directory with the following files:

- index.html
- content.html
- readme.html (current file)

And the following sub-directories:

- js
- css
- images
- BookPayload

Make sure all of these files and directories are present, otherwise the content will not be viewed correctly.

### Technical Requirements

In order to work all files must be installed behind a webserver of any kind (Apache, IIS, nginx, etc.).

### How to Install

Upload this directory in any position under the root of your website, for instance:

You can view your content in two ways:

1) Full View mode: the content can be viewed accessing the following url:

If you inspect the code you will see that an iframe is included. If in PubCoder you selected "auto" the iframe will adapt to the window browser's sizes, otherwise it will respect the sizes specified in your workspace. You may change those sizes according to your wishes.

2) Embedded mode: the content can be embedded in an iframe of any of your html pages by including the following code:

Where "yourwebsite" is the name of the website url, %width% and %height% are respectively the iframe width and height in pixels