# Topic as widget

**URL:** https://meta.discourse.org/t/topic-as-widget/49811
**Category:** Development
**Created:** [September 7, 2016, 9:13am UTC](https://meta.discourse.org/t/topic-as-widget/49811 "2016-09-07T09:13:19Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![piratdavid](https://avatars.discourse-cdn.com/v4/letter/p/ba9def/32.png) [@piratdavid](https://meta.discourse.org/u/piratdavid)
#### Post date: [September 7, 2016, 9:13am UTC](https://meta.discourse.org/t/topic-as-widget/49811/1 "2016-09-07T09:13:19Z")

</div>

Hi,

I’d like to create a comments section with each post in our news section [Elektronauts](http://www.elektronauts.com/news). Kind of like in the Facebook feed. The optimal way would be to embed a topic in a widget. Has anything like this been tried before or is there a better way of implementing this?

---

<div class="post-metadata">

### Author: ![thomaspurchas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thomaspurchas/32/115664_2.png) [@thomaspurchas](https://meta.discourse.org/u/thomaspurchas)
#### Post date: [September 7, 2016, 11:50am UTC](https://meta.discourse.org/t/topic-as-widget/49811/2 "2016-09-07T11:50:57Z")

</div>

Have you had a look at this?

> [@Embed Discourse comments on another website via Javascript](https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963):
>
> Discourse has the ability to embed the comments from a topic in a remote site using a Javascript API that creates an IFRAME. For an example of this in action, check out [Coding Horror’s blog](http://blog.codinghorror.com/welcome-to-the-internet-of-compromised-things/#discourse-comments). The blog is run via [Ghost](https://ghost.org/) but the comments are embedded from his [Discourse forum](http://discourse.codinghorror.com/t/welcome-to-the-internet-of-compromised-things/3550). One important thing to note with this setup is that users have to navigate to your forum to post replies. This is intentional, as we feel that the posting interface on a Discourse forum is currently much richer than what we …

---

<div class="post-metadata">

### Author: ![piratdavid](https://avatars.discourse-cdn.com/v4/letter/p/ba9def/32.png) [@piratdavid](https://meta.discourse.org/u/piratdavid)
#### Post date: [September 8, 2016, 12:19pm UTC](https://meta.discourse.org/t/topic-as-widget/49811/3 "2016-09-08T12:19:40Z")

</div>

Thanx! Works fine with a few modifications. Not possible to comment directly however. Might do with this though.

---

<div class="post-metadata">

### Author: ![anderer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/anderer/32/310458_2.png) [@anderer](https://meta.discourse.org/u/anderer)
#### Post date: [October 30, 2017, 11:19am UTC](https://meta.discourse.org/t/topic-as-widget/49811/4 "2017-10-30T11:19:26Z")

</div>

Hey @piratdavid,

we are setting up a discourse platform locally right now and hope to put it online beginning of next year - we would like to head in the direction of your elektronauts page - as one of my team member is using it frequently and likes it a lot for its clarity - and I don t use it as a user but I like it as well for it s simple structure in providing information and directing discussion among the users. We have not yet find out, how you build your news section - do you use a plugin for that? Would you be willing to share? It seems that many people here on discourse would like to set up some sort of “static pages” but nothing works like a charm … maybe yours?

thanks a lot

andré

---

<div class="post-metadata">

### Author: ![piratdavid](https://avatars.discourse-cdn.com/v4/letter/p/ba9def/32.png) [@piratdavid](https://meta.discourse.org/u/piratdavid)
#### Post date: [October 30, 2017, 1:22pm UTC](https://meta.discourse.org/t/topic-as-widget/49811/5 "2017-10-30T13:22:51Z")

</div>

Hi @anderer,

Yes it’s developed as a plugin. The community can hopefully lead you in the right direction for you to develop something similar. Basically, you will need a Rails Engine/Plugin defining any additional routes you would like to introduce. Hope that was helpful.

David

---

<div class="post-metadata">

### Author: ![anderer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/anderer/32/310458_2.png) [@anderer](https://meta.discourse.org/u/anderer)
#### Post date: [October 30, 2017, 2:15pm UTC](https://meta.discourse.org/t/topic-as-widget/49811/6 "2017-10-30T14:15:17Z")

</div>

Hello @piratdavid,

I read in another discussion that you are considering publishing your plugin - have you made up your mind about that? I personally think this is would be a valuable add-on to discourse - especially since there are numerous similar approaches as you have sucessefully implemented - but neither seems to work properly and in a production environment.

Thanks for considering again - sharing is caring : )

> [@How can I implement a blog page in Discourse Forum Software?](https://meta.discourse.org/t/how-can-i-implement-a-blog-page-in-discourse-forum-software/48496/7):
>
> I contacted them directly and they are considering to share their work back to the community. There are a few business concerns they need to evaluate before they are ready to go for it, so let’s wait and see.

cheerio

andré

---

<div class="post-metadata">

### Author: ![piratdavid](https://avatars.discourse-cdn.com/v4/letter/p/ba9def/32.png) [@piratdavid](https://meta.discourse.org/u/piratdavid)
#### Post date: [November 2, 2017, 8:55am UTC](https://meta.discourse.org/t/topic-as-widget/49811/7 "2017-11-02T08:55:53Z")

</div>

Hi!

It’s a little tricky because we have no history of releasing any open source software. I would really like to but there needs to be some discussions in the company. What’s your timeframe?

---

<div class="post-metadata">

### Author: ![anderer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/anderer/32/310458_2.png) [@anderer](https://meta.discourse.org/u/anderer)
#### Post date: [November 2, 2017, 10:46am UTC](https://meta.discourse.org/t/topic-as-widget/49811/8 "2017-11-02T10:46:43Z")

</div>

Heyho!

Thanks for considering a release as open source software!

I, myself, am very relaxed timewise, since the new website will need to be online only mid of april 2018 - it is supposed to be the central hub and website for the participants of a sustainability certificate programme at my university - it is open to any student and aims at forming a network amongst the alumni, where people can share and discuss topics, events, workshops, jobs etc.

unfortunately, we cannot use the learning-management-system offered by the university’s IT team, which is moodle, as it is only available for enrolled students … so we want to set up our own server/forum/website.

The alternative would be to set up the website in Grav and to have discourse only as forum - but I clearly would prefer a discourse-only setup and your website shows how it can be done : )

thanks for considering

andré

---

<div class="post-metadata">

### Author: ![anderer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/anderer/32/310458_2.png) [@anderer](https://meta.discourse.org/u/anderer)
#### Post date: [January 6, 2018, 6:24pm UTC](https://meta.discourse.org/t/topic-as-widget/49811/9 "2018-01-06T18:24:34Z")

</div>

Hi @piratdavid,

happy new year : )

I wanted to inquire if you already had the chance for some discussion with your group/company…

toodle pip

andré

---

<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: [April 1, 2026, 6:55pm UTC](https://meta.discourse.org/t/topic-as-widget/49811/10 "2026-04-01T18:55:11Z")

</div>

This is now possible

> [@Embed Discourse as a full comment system on your site](https://meta.discourse.org/t/embed-discourse-as-a-full-comment-system-on-your-site/399743):
>
> Discourse’s [embedding system](https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963) lets you show topic comments on external sites via an iframe — but until now, the experience was read-only. Visitors had to click through to your Discourse site to reply, like, or interact with the discussion. We’ve added full app mode for embeds, which loads the complete Discourse application inside the iframe. Your visitors can reply, like, quote, and interact with topics without ever leaving your blog or website. How to enable it Navigate to A…

---

<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: [April 1, 2026, 6:55pm UTC](https://meta.discourse.org/t/topic-as-widget/49811/11 "2026-04-01T18:55:16Z")

</div>


