# 将 Discourse 作为完整评论系统嵌入您的网站

**URL:** https://meta.discourse.org/t/embed-discourse-as-a-full-comment-system-on-your-site/399743
**Category:** Announcements
**Tags:** embedding
**Created:** [2026 年4 月 1 日 18:30 UTC](https://meta.discourse.org/t/embed-discourse-as-a-full-comment-system-on-your-site/399743 "2026-04-01T18:30:10Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2026 年4 月 1 日 18:30 UTC](https://meta.discourse.org/t/embed-discourse-as-a-full-comment-system-on-your-site/399743/1 "2026-04-01T18:30:11Z")

</div>

Discourse 的 [嵌入系统](https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963) 允许您通过 iframe 在外部网站上显示话题评论——但在此之前，体验仅限于只读。访客必须点击跳转到您的 Discourse 站点才能回复、点赞或与讨论互动。

我们已为嵌入功能添加了 **完整应用模式** ，该模式会在 iframe 内加载完整的 Discourse 应用程序。您的访客无需离开您的博客或网站，即可直接回复、点赞、引用并与话题互动。

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/f/4/3f40445ba92f8e932a970be31dbcbae7f176d9b7.jpeg)

## 如何启用

 ![image](https://global.discourse-cdn.com/meta/original/4X/5/5/a/55ae43942b32f7cc4ab4d2003cec195135c7ac96.jpeg)

前往 **管理 \> 高级 \> 嵌入** ，您将在页面顶部看到一个新开关，用于启用完整应用模式。

启用该开关后：

- 嵌入配置代码片段将自动包含 `fullApp: true` 和 `embedHeight: '800px'` 参数
- 启用该模式的站点设置也将自动开启

该设置也可在 **嵌入 \> 设置** 标签页下找到，参数名为 `embed_full_app`。

## 对访客的影响

启用完整应用模式后，嵌入的 iframe 将加载完整的 Discourse 用户界面，而不再是静态的回复列表。您外部网站上的访客可以：

- 直接 **回复** 该话题
- **点赞** 和 **引用** 帖子
- 像在论坛上一样在话题内 **导航**

这为您的博客读者提供了无需离开页面即可享受的一流讨论体验。

## 演示

您可以在我们的博客中看到其实际效果，例如在以下帖子中：[理解 Discourse 信任等级](https://blog.discourse.org/2018/06/understanding-discourse-trust-levels/)、[是时候谈谈标签了](https://blog.discourse.org/2017/10/its-time-we-talked-about-tags/) 或 [介绍 Discourse AI](https://blog.discourse.org/2023/04/introducing-discourse-ai/)。

---

_[View the full topic](https://meta.discourse.org/t/embed-discourse-as-a-full-comment-system-on-your-site/399743)._
