# Docuss: um experimento sobre como incorporar discussões em páginas da web

**URL:** https://meta.discourse.org/t/docuss-an-experiment-on-how-to-embed-discussions-in-web-pages/89790
**Category:** Extras
**Created:** [Junho 13, 2018, 3:16pm UTC](https://meta.discourse.org/t/docuss-an-experiment-on-how-to-embed-discussions-in-web-pages/89790 "2018-06-13T15:16:36Z")
**Posts on this page:** 5
**Page:** 2

<div class="post-metadata">

### Author: ![Andy02](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andy02/32/119498_2.png) [@Andy02](https://meta.discourse.org/u/Andy02)
#### Post date: [Outubro 30, 2018, 10:09pm UTC](https://meta.discourse.org/t/docuss-an-experiment-on-how-to-embed-discussions-in-web-pages/89790/21 "2018-10-30T22:09:38Z")

</div>

I can confirm, I’ve been working with @syl on our site and it is beginning to provide a very flexible and useful ecosystem.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [Novembro 28, 2018, 11:48pm UTC](https://meta.discourse.org/t/docuss-an-experiment-on-how-to-embed-discussions-in-web-pages/89790/22 "2018-11-28T23:48:04Z")

</div>

> [@syl](#):
>
> I’ve worked with my first two “customers”, and the fact is they don’t use Docuss the way I had in mind initially.

_No operations plan can, with any certainty, extend beyond the first encounter with the enemy’s main force._

---

<div class="post-metadata">

### Author: ![rkaplan](https://avatars.discourse-cdn.com/v4/letter/r/a3d4f5/32.png) [@rkaplan](https://meta.discourse.org/u/rkaplan)
#### Post date: [Janeiro 13, 2019, 12:35pm UTC](https://meta.discourse.org/t/docuss-an-experiment-on-how-to-embed-discussions-in-web-pages/89790/23 "2019-01-13T12:35:26Z")

</div>

> [@syl](#):
>
> I’ve decided to provide “use case 2” under an open source license. I’m still thinking about “use case 1”, which is a more technical offering and more complex to deliver to users (as it contains a code injection proxy).

Can I suggest a 3rd use case?

I have been pondering how to embed Discourse at the bottom of a blog or web page. As you know, standard Discourse cannot be embedded in an iFrame - apparently you resolved the cross-domain scripting concerns. The official technique to embed with Javascript requires navigating back to the Forum in order to add a comment, and though I understand why that is done I think a simpler solution would be nice.

So my question is - could you side by side design be the solution to the “embed Discourse” issue? I would suggest not having discussions on a paragraph level with the orange balloon (which would probably result in very few active discussions) but rather a plugin so a Discourse discussion is linked at the URL level with a web page. So a user would view a URL in his browser and a corresponding DIscourse discussion of that URL would appear. Presumably the admin could choose to restrict which URLs can be discussed a forum by either whitelist or blacklist or could allow discussion of any URL.

Thoughts?

---

<div class="post-metadata">

### Author: ![syl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/syl/32/98883_2.png) [@syl](https://meta.discourse.org/u/syl)
#### Post date: [Janeiro 13, 2019, 6:21pm UTC](https://meta.discourse.org/t/docuss-an-experiment-on-how-to-embed-discussions-in-web-pages/89790/24 "2019-01-13T18:21:04Z")

</div>

@rkaplan: yes, the side-by-side design could work on a per-url basis. Feel free to contact me privately if you want to discuss your actual use case.

Notice that the orange balloons are not always used to comment paragraphs. They can actually serve as toggle switches (in which case their graphical representation should probably be changed). See [this example](https://brightertomorrowmap.com/page/TfXDunjRkyRTzkbBT).

Additionnaly, the orange balloons provide a **selection mechanism** , so that users know that, if something is selected on the left (usually in yellow in my demos), then the corresponding topics are shown on the right.  
If you remove the selection mechanism - as you seem to suggest -, some design questions need to be discussed. For example, if each url on the left corresponds to a dedicated topic list on the right, how do users ever access the Discourse home page? (the one containing the latest topics, for all urls) And how do they quit the Discourse home page and come back to the specific topic list of the current url?

---

<div class="post-metadata">

### Author: ![rkaplan](https://avatars.discourse-cdn.com/v4/letter/r/a3d4f5/32.png) [@rkaplan](https://meta.discourse.org/u/rkaplan)
#### Post date: [Janeiro 13, 2019, 9:25pm UTC](https://meta.discourse.org/t/docuss-an-experiment-on-how-to-embed-discussions-in-web-pages/89790/25 "2019-01-13T21:25:36Z")

</div>

Thanks @syl - I will send a PM with follow-up details

[Página anterior](https://meta.discourse.org/t/docuss-an-experiment-on-how-to-embed-discussions-in-web-pages/89790.md?page=1)
