Pubblicare la libreria e ottenere il codice di incorporamento

There are two ways

Choose what your home page shows

If you have built more than one library, you can choose what the home page of your standalone website shows. On the Pubblica Libreria page, under Your website, set the Home page to your full all-documents view or a single library. This is useful when some of your libraries are password protected and you do not want the all-documents view shown publicly.

Choosing how to publish your library: embed it or create a hosted page to share your library. It can live on its own web address as a standalone page, and it can be embedded on any website you already have. Both are set up on the Pubblica Libreria page in your dashboard. Most sites have a single library, and Publish Library is where you get its embed code.

Copying the embed code for each document library

Your library’s web address

Every library has its own address in the form your-slug.documentlibrary.app, ready to share straight away. If you would rather use your own branded address, such as docs.yourcompany.com, you can connect a custom domain.

Getting your embed code

Apri Pubblica Libreria in your dashboard and copy the embed code shown there. This is the right place for the typical single library. (Only if you have built more than one library do you use the Libraries screen, which has a separate embed code for each one.) Always use the exact code from your own screen, not this example:

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

The iframe shows your library and the small script lets it resize itself to fit its content. Paste both wherever you want the library to appear.

Set your allowed domains

Add the website or websites where you embed the library to the allowed domains box. This stops anyone else from placing your library on their own site.

Add it to your website

The embed code works on virtually any platform. We have step-by-step guides for WordPress, Shopify, Wix, Squarespace, Webflow, and more.

Use it as a standalone page

If you prefer not to embed, your library works as its own page. You can add a link to it in your library site’s menu, or keep it as a separate unlisted page that is hidden from search engines.

Let people submit documents

The Publish Library screen also gives you a separate submission-form embed code, which you can paste on any website to let people submit documents to your library for review.

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