epaper.guru
EN

Home / Help / Embedding the e-paper on your website

Embedding the e-paper on your website

There are three ways to bring your readers to the e-paper. All show the same reader and always the latest issues.

1. Embed on your own website

You will find the code for your title in the customer portal under the title in Embed. It consists of two parts:

<script type="module" src="https://…/madlab-epaper.js"></script>
<madlab-epaper collection="IHR-TITEL"></madlab-epaper>
  • The script loads the reader. It belongs on the page once, ideally in the <head>.
  • The element shows the e-paper where it is placed. It takes the full width of the content area.

Copy the code from the portal, not from this guide: it contains the right address and your title's identifier.

In WordPress

On the desired page, add a «Custom HTML» block and paste both lines into it.

In TYPO3

Use a «Plain HTML» content element with both lines.

Content Security Policy

If your website uses a Content Security Policy, the reader's address must be allowed for scripts, images and connections. The required entries are listed in the portal next to the embed code.

2. Link your own e-paper page

Every title has its own page with the reader. Link it in newsletters, on social media or as a QR code in the printed issue. You will find the link in the portal under the title.

3. Under your own domain

With the Publisher edition the reader runs under your address, e.g. epaper.verlag.ch. See Using your own domain.