{"id":355,"date":"2026-06-24T06:41:10","date_gmt":"2026-06-24T06:41:10","guid":{"rendered":"https:\/\/documentlibrary.pro\/docs\/publishing-your-library\/"},"modified":"2026-07-03T13:48:05","modified_gmt":"2026-07-03T13:48:05","slug":"publishing-your-library","status":"publish","type":"doc","link":"https:\/\/documentlibrary.pro\/fr\/docs\/publishing-your-library\/","title":{"rendered":"Publier votre biblioth\u00e8que et obtenir votre code int\u00e9gr\u00e9"},"content":{"rendered":"<p>Il existe deux fa\u00e7ons \n\n\n<h2 class=\"wp-block-heading\">Choisissez ce qu'affiche votre page d'accueil<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Si vous avez cr\u00e9\u00e9 plusieurs biblioth\u00e8ques, vous pouvez choisir ce qu'affiche la page d'accueil de votre site autonome. Sur la page <strong>Publier la biblioth\u00e8que<\/strong> , sous <strong>Votre site web<\/strong>, r\u00e9glez la <strong>Page d'accueil<\/strong> sur votre vue compl\u00e8te de tous les documents ou sur une seule biblioth\u00e8que. C'est utile lorsque certaines de vos biblioth\u00e8ques sont prot\u00e9g\u00e9es par mot de passe et que vous ne souhaitez pas afficher publiquement la vue de tous les documents.<\/p>\n<img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/07\/publish-document-library-to-website.jpg\" alt=\"Choisir comment publier votre biblioth\u00e8que : l&#039;int\u00e9grer ou cr\u00e9er une page h\u00e9berg\u00e9e\"\/>\n\nde partager votre biblioth\u00e8que. Elle peut vivre \u00e0 sa propre adresse web comme page autonome, et elle peut \u00eatre int\u00e9gr\u00e9e sur n'importe quel site que vous poss\u00e9dez d\u00e9j\u00e0. Les deux se configurent sur la page <strong>Publier la biblioth\u00e8que<\/strong> de votre tableau de bord. La plupart des sites n'ont qu'une seule biblioth\u00e8que, et c'est dans Publier la biblioth\u00e8que que vous obtenez son code int\u00e9gr\u00e9.<\/p>\n<img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/07\/multiple-document-libraries-embed-codes.jpg\" alt=\"Copier le code int\u00e9gr\u00e9 de chaque biblioth\u00e8que de documents\"\/>\n\n<h2 id=\"your-librarys-web-address\">L'adresse web de votre biblioth\u00e8que<\/h2>\n<p>Chaque biblioth\u00e8que poss\u00e8de sa propre adresse, de la forme <code>your-slug.documentlibrary.app<\/code>, pr\u00eate \u00e0 \u00eatre partag\u00e9e imm\u00e9diatement. Si vous pr\u00e9f\u00e9rez utiliser votre propre adresse de marque, comme <code>docs.yourcompany.com<\/code>, vous pouvez connecter un <a href=\"https:\/\/documentlibrary.pro\/fr\/docs\/document-library-pro-hosted-custom-domain\/\">domaine personnalis\u00e9<\/a>.<\/p>\n<h2 id=\"getting-your-embed-code\">Obtenir votre code int\u00e9gr\u00e9<\/h2>\n<p>Ouvrez <strong>Publier la biblioth\u00e8que<\/strong> dans votre tableau de bord et copiez le code int\u00e9gr\u00e9 qui s'y affiche. C'est le bon endroit pour une biblioth\u00e8que unique, cas le plus courant. (Ce n'est que si vous avez cr\u00e9\u00e9 plusieurs biblioth\u00e8ques que vous utilisez l'\u00e9cran <strong>Libraries<\/strong> , qui comporte un code int\u00e9gr\u00e9 distinct pour chacune.) Utilisez toujours le code exact affich\u00e9 sur votre \u00e9cran, pas cet exemple :<\/p>\n<pre>&lt;iframe src=\"https:\/\/your-library.documentlibrary.app\/?dlp_embed=1\" title=\"Document library\" style=\"width:100%;border:0;height:600px;\" loading=\"lazy\"&gt;&lt;\/iframe&gt;\n&lt;script src=\"https:\/\/your-library.documentlibrary.app\/?dlp_embed_resize=1\" async&gt;&lt;\/script&gt;<\/pre>\n<p>L'iframe affiche votre biblioth\u00e8que et le petit script lui permet de s'adapter \u00e0 son contenu. Collez les deux \u00e0 l'endroit o\u00f9 vous souhaitez faire appara\u00eetre la biblioth\u00e8que.<\/p>\n<h2 id=\"set-your-allowed-domains\">D\u00e9finissez vos domaines autoris\u00e9s<\/h2>\n<p>Ajoutez le ou les sites web sur lesquels vous int\u00e9grez la biblioth\u00e8que dans le champ <strong>domaines autoris\u00e9s<\/strong> . Cela emp\u00eache quiconque de placer votre biblioth\u00e8que sur son propre site.<\/p>\n<h2 id=\"add-it-to-your-website\">Ajoutez-la \u00e0 votre site web<\/h2>\n<p>Le code int\u00e9gr\u00e9 fonctionne sur pratiquement toutes les plateformes. Nous proposons des guides pas \u00e0 pas pour <a href=\"https:\/\/documentlibrary.pro\/fr\/docs\/category\/platforms\/\">WordPress, Shopify, Wix, Squarespace, Webflow et bien d'autres<\/a>.<\/p>\n<h2 id=\"use-it-as-a-standalone-page\">L'utiliser comme page autonome<\/h2>\n<p>Si vous pr\u00e9f\u00e9rez ne pas l'int\u00e9grer, votre biblioth\u00e8que fonctionne comme une page \u00e0 part enti\u00e8re. Vous pouvez ajouter un lien vers celle-ci dans le menu de votre site, ou la conserver comme page distincte non r\u00e9pertori\u00e9e, invisible pour les moteurs de recherche.<\/p>\n<h2 id=\"let-people-submit-documents\">Laissez les visiteurs soumettre des documents<\/h2>\n<p>L'\u00e9cran Publier la biblioth\u00e8que vous fournit \u00e9galement un code int\u00e9gr\u00e9 distinct pour le formulaire de soumission, que vous pouvez coller sur n'importe quel site afin que les visiteurs proposent des documents \u00e0 votre biblioth\u00e8que pour validation.<\/p>","protected":false},"excerpt":{"rendered":"<p>Mettez votre biblioth\u00e8que en ligne : utilisez sa propre adresse web, ou copiez le code int\u00e9gr\u00e9 pour l'ajouter \u00e0 n'importe quel site.<\/p>","protected":false},"menu_order":3,"template":"","meta":{"footnotes":""},"doc_category":[11],"class_list":["post-355","doc","type-doc","status-publish","hentry","doc_category-getting-started"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Publishing your library and getting your embed code<\/title>\n<meta name=\"description\" content=\"Get your library live: use its own web address, or copy the embed code to add your document library to any website.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/documentlibrary.pro\/fr\/docs\/publishing-your-library\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Publishing your library and getting your embed code\" \/>\n<meta property=\"og:description\" content=\"Get your library live: use its own web address, or copy the embed code to add your document library to any website.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/documentlibrary.pro\/fr\/docs\/publishing-your-library\/\" \/>\n<meta property=\"og:site_name\" content=\"Document Library Pro\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-03T13:48:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/07\/publish-document-library-to-website.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/publishing-your-library\\\/\",\"url\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/publishing-your-library\\\/\",\"name\":\"Publishing your library and getting your embed code\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/publishing-your-library\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/publishing-your-library\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/documentlibrary.pro\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/publish-document-library-to-website.jpg\",\"datePublished\":\"2026-06-24T06:41:10+00:00\",\"dateModified\":\"2026-07-03T13:48:05+00:00\",\"description\":\"Get your library live: use its own web address, or copy the embed code to add your document library to any website.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/publishing-your-library\\\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/publishing-your-library\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/publishing-your-library\\\/#primaryimage\",\"url\":\"https:\\\/\\\/documentlibrary.pro\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/publish-document-library-to-website.jpg\",\"contentUrl\":\"https:\\\/\\\/documentlibrary.pro\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/publish-document-library-to-website.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/publishing-your-library\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/documentlibrary.pro\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Publishing your library and getting your embed code\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/#website\",\"url\":\"https:\\\/\\\/documentlibrary.pro\\\/\",\"name\":\"Document Library Pro\",\"description\":\"Searchable document libraries for any website\",\"publisher\":{\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/documentlibrary.pro\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/#organization\",\"name\":\"Document Library Pro\",\"url\":\"https:\\\/\\\/documentlibrary.pro\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/documentlibrary.pro\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/favicon-512.png\",\"contentUrl\":\"https:\\\/\\\/documentlibrary.pro\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/favicon-512.png\",\"width\":512,\"height\":512,\"caption\":\"Document Library Pro\"},\"image\":{\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"description\":\"Document Library Pro is hosted document library software that lets you publish searchable, filterable libraries of PDFs, documents and resources on any website or platform.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Publier votre biblioth\u00e8que et obtenir votre code int\u00e9gr\u00e9","description":"Mettez votre biblioth\u00e8que en ligne : utilisez sa propre adresse web, ou copiez le code int\u00e9gr\u00e9 pour l'ajouter \u00e0 n'importe quel site.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/documentlibrary.pro\/fr\/docs\/publishing-your-library\/","og_locale":"fr_FR","og_type":"article","og_title":"Publishing your library and getting your embed code","og_description":"Get your library live: use its own web address, or copy the embed code to add your document library to any website.","og_url":"https:\/\/documentlibrary.pro\/fr\/docs\/publishing-your-library\/","og_site_name":"Document Library Pro","article_modified_time":"2026-07-03T13:48:05+00:00","og_image":[{"url":"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/07\/publish-document-library-to-website.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/documentlibrary.pro\/docs\/publishing-your-library\/","url":"https:\/\/documentlibrary.pro\/docs\/publishing-your-library\/","name":"Publier votre biblioth\u00e8que et obtenir votre code int\u00e9gr\u00e9","isPartOf":{"@id":"https:\/\/documentlibrary.pro\/#website"},"primaryImageOfPage":{"@id":"https:\/\/documentlibrary.pro\/docs\/publishing-your-library\/#primaryimage"},"image":{"@id":"https:\/\/documentlibrary.pro\/docs\/publishing-your-library\/#primaryimage"},"thumbnailUrl":"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/07\/publish-document-library-to-website.jpg","datePublished":"2026-06-24T06:41:10+00:00","dateModified":"2026-07-03T13:48:05+00:00","description":"Mettez votre biblioth\u00e8que en ligne : utilisez sa propre adresse web, ou copiez le code int\u00e9gr\u00e9 pour l'ajouter \u00e0 n'importe quel site.","breadcrumb":{"@id":"https:\/\/documentlibrary.pro\/docs\/publishing-your-library\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/documentlibrary.pro\/docs\/publishing-your-library\/"]}]},{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/documentlibrary.pro\/docs\/publishing-your-library\/#primaryimage","url":"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/07\/publish-document-library-to-website.jpg","contentUrl":"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/07\/publish-document-library-to-website.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/documentlibrary.pro\/docs\/publishing-your-library\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/documentlibrary.pro\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/documentlibrary.pro\/docs\/"},{"@type":"ListItem","position":3,"name":"Publishing your library and getting your embed code"}]},{"@type":"WebSite","@id":"https:\/\/documentlibrary.pro\/#website","url":"https:\/\/documentlibrary.pro\/","name":"Document Library Pro","description":"Biblioth\u00e8ques de documents consultables pour tout site web","publisher":{"@id":"https:\/\/documentlibrary.pro\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/documentlibrary.pro\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/documentlibrary.pro\/#organization","name":"Document Library Pro","url":"https:\/\/documentlibrary.pro\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/documentlibrary.pro\/#\/schema\/logo\/image\/","url":"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/06\/favicon-512.png","contentUrl":"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/06\/favicon-512.png","width":512,"height":512,"caption":"Document Library Pro"},"image":{"@id":"https:\/\/documentlibrary.pro\/#\/schema\/logo\/image\/"},"description":"Document Library Pro est un logiciel de biblioth\u00e8que de documents h\u00e9berg\u00e9 qui vous permet de publier des biblioth\u00e8ques consultables et filtrables de PDF, de documents et de ressources sur tout site web ou plateforme."}]}},"_links":{"self":[{"href":"https:\/\/documentlibrary.pro\/fr\/wp-json\/wp\/v2\/doc\/355","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/documentlibrary.pro\/fr\/wp-json\/wp\/v2\/doc"}],"about":[{"href":"https:\/\/documentlibrary.pro\/fr\/wp-json\/wp\/v2\/types\/doc"}],"version-history":[{"count":4,"href":"https:\/\/documentlibrary.pro\/fr\/wp-json\/wp\/v2\/doc\/355\/revisions"}],"predecessor-version":[{"id":607,"href":"https:\/\/documentlibrary.pro\/fr\/wp-json\/wp\/v2\/doc\/355\/revisions\/607"}],"wp:attachment":[{"href":"https:\/\/documentlibrary.pro\/fr\/wp-json\/wp\/v2\/media?parent=355"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/documentlibrary.pro\/fr\/wp-json\/wp\/v2\/doc_category?post=355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}