Aggiungi la tua libreria documenti a 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.

Prima di iniziare: 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.

Passaggio 1: Copia il codice embed

Nel tuo dashboard ospitato, apri Pubblica Libreria per trovare il tuo codice embed, quindi copialo. La maggior parte dei siti ha una singola libreria e la pagina Pubblica libreria è dove si trova il relativo codice embed. (Se hai creato più di una libreria, copia il codice per quella desiderata dalla schermata Libraries .) Incolla sempre il codice esatto dal tuo pannello di controllo, non l’esempio seguente:

<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>

Passaggio 2: Crea una pagina per la tua libreria

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 libreria di documenti. Google Sites will add it to your navigation menu for you.

Step 3: Open the Embed tool

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

Passaggio 4: Incolla il codice embed

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

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.

Step 6: Publish and view your library

Clicca Pubblica 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

Articoli correlati

Pronto a riunire i tuoi documenti in un'unica libreria con ricerca?

Configura la tua prima libreria in pochi minuti - come plugin WordPress, incorporata su qualsiasi sito o come libreria ospitata tutta tua.

Inizia gratis

14 giorni gratis Annulla quando vuoi