Voeg uw documentbibliotheek toe aan Google Sites

Google Sites has a built-in Embed tool that lets you show your hosted document library on any page. Here is how to set it up from start to finish.

Voordat je begint: every embed in Google Sites is given a fixed size, so you will need to resize the box around your library (covered in Step 5). The library shows up both in Preview and on your published site.

Stap 1: Kopieer je insluitcode

Open in uw gehoste dashboard Bibliotheek publiceren om uw insluitcode te vinden en deze te kopiëren. De meeste sites hebben een enkele bibliotheek, en de pagina Publiceren bibliotheek is waar de insluitcode zich bevindt. (Als u meer dan één bibliotheek hebt gebouwd, kopieert u de code voor degene die u wilt uit Bibliotheken scherm in plaats daarvan.) Plak altijd de exacte code van uw eigen dashboard, niet het onderstaande voorbeeld:

<iframe src="https://your-library.documentlibrary.app/?dlp_embed=1" title="Document library" style="width:100%;border:0;height:600px;" loading="lazy"></iframe>
<script src="https://your-library.documentlibrary.app/?dlp_embed_resize=1" async></script>

Stap 2: Een pagina voor je bibliotheek maken

In the Google Sites editor, switch to the Pages tab and add a new page, or reuse one you already have. Name it something like Documentenbibliotheek. Google Sites will add it to your navigation menu for you.

Step 3: Open the Embed tool

While on your page, open the Insert panel and click Embed. When the dialog opens, switch to the Embed code tab.

Stap 4: Plak uw insluitcode

Drop the embed code from Step 1 into the box, then click Next followed by Insert.

Pasting the document library embed code into a Google Sites Embed element

Step 5: Resize the embed to fit your library

Do not skip this part. Because Google Sites assigns the embed a fixed size, drag its handles so the box ends up both wider and taller than your library. That way the entire table fits without getting cut off and has a little space to spare. Switch to Desktop view as well, so the library has enough room to show all of its columns.

Stap 6: Publiceer en bekijk je bibliotheek

Klik Publiceren in the top right, or use Preview if you want to check it first. Once it is live, open the page to find your document library there, where visitors can search it, filter by category, and download or preview any document.

A document library displayed on a published Google Sites page

Gerelateerde artikelen

Klaar om uw documenten samen te brengen in één doorzoekbare bibliotheek?

Stel je eerste bibliotheek in enkele minuten in - als WordPress-plug-in, ingesloten op elke site, of als je eigen gehoste bibliotheek.

Gratis aan de slag

14 dagen gratis Altijd opzegbaar