Añade tu biblioteca de documentos a cualquier otra plataforma

The hosted embed for Document Library Pro is a single, universal snippet that runs on nearly any website. As long as your platform gives you somewhere to drop an embed or a piece of custom HTML, you can display your document library there. Use this guide for any platform we have not covered separately, including other CMSs, plain HTML sites, internal intranets, and bespoke custom builds.

How it works: the embed combines a regular <iframe> with a small helper <script>. The iframe displays everywhere without exception. On platforms that permit scripts, the helper resizes the library to fit and brings in an in-page document preview. On platforms that block scripts, the library still functions at a fixed height and opens previews in a new tab instead.

Paso 1: Copie su código de inserción

En su panel alojado, abra Publicar biblioteca para encontrar su código de inserción y copiarlo. La mayoría de los sitios tienen una sola biblioteca, y la página Publicar biblioteca es donde vive su código de inserción. (Si ha creado más de una biblioteca, copie el código de la que desee desde la pantalla Libraries en su lugar.) Pegue siempre el código exacto de su propio panel, no el ejemplo a continuación:

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

Step 2: Find where your platform accepts HTML

Almost every platform offers somewhere to add custom HTML. The option you are after tends to look like one of these:

  • Otros CMS (Drupal, Joomla, Ghost, HubSpot and the like): a “Custom HTML”, “Code”, or “Embed” block or module.
  • Sitios HTML estáticos: drop the snippet straight into your page’s HTML at the point where the library should appear.
  • Intranets privadas: a web part or content block that takes embed code.
  • Sitios personalizados (React, Vue, server-rendered, and so on): add the snippet to your template or page component.

Step 3: Paste your embed code and publish

Take the embed code from Step 1, drop it into that HTML or embed area, and then save or publish the page. Open the page to view your document library, where visitors can run searches, narrow results by category, and preview or download any document.

If the library is cut off

A few platforms drop embeds into a fixed-size container. If your library appears cropped or scrolls within a small frame, make the embed area a touch taller and wider than the library so everything sits comfortably.

No website? Use a standalone library

No website to embed into? No problem. We can host your library as a standalone site, either on your own domain or on ours, and you simply pass around the link. Get started here.

Artículos relacionados

¿Listo para reunir tus documentos en una biblioteca con búsqueda?

Configura tu primera biblioteca en minutos: como plugin de WordPress, insertada en cualquier sitio, o como una biblioteca alojada propia.

Empieza gratis

Prueba gratuita 14 días Cancela cuando quieras