# Hoe de laatste discussie op de voorpagina van onze hoofdwebsite te tonen

**URL:** https://meta.discourse.org/t/how-to-show-the-latest-discussion-on-the-front-page-of-our-main-website/220346
**Category:** Support
**Created:** [7 maart 2022 om 17:57 UTC](https://meta.discourse.org/t/how-to-show-the-latest-discussion-on-the-front-page-of-our-main-website/220346 "2022-03-07T17:57:19Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Christopher\_Kidd](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/christopher_kidd/32/184221_2.png) [@Christopher\_Kidd](https://meta.discourse.org/u/Christopher_Kidd)
#### Post date: [7 maart 2022 om 17:57 UTC](https://meta.discourse.org/t/how-to-show-the-latest-discussion-on-the-front-page-of-our-main-website/220346/1 "2022-03-07T17:57:19Z")

</div>

I’m sure this has been covered somewhere BUT at the risk of getting clobbered, does anyone know how to show the Latest Discussions (rss? xml?) on another page?

For us, the discourse forum will be a sub-directory of a larger site. I’d love to show the Latest 5 Discussion topics on the front page of the main site as a way to get people engaged with the forum.

Any thoughts on how to do this? Reference posts?

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [7 maart 2022 om 18:04 UTC](https://meta.discourse.org/t/how-to-show-the-latest-discussion-on-the-front-page-of-our-main-website/220346/2 "2022-03-07T18:04:32Z")

</div>

You can embed discourse on a website:

> [@Embedding a list of Discourse Topics in another site](https://meta.discourse.org/t/embedding-a-list-of-discourse-topics-in-another-site/125911):
>
> If you grab the latest builds of Discourse you’ll get a [the ability to embed topic lists](https://github.com/discourse/discourse/commit/23367e79ea735598766ec6f507f6132e0bad3dba) in other sites via some simple Javascript and HTML. The typical use case for this is a blog or other content driven site, where you want a widget on the side of the screen that lists topics. You can filter by category, tag, or [any of the other public](https://github.com/discourse/discourse/blob/master/lib/topic_query.rb#L51-L73) filter options available. How to Embed a list of Topics First, you must enable the embed topics list site setting. Then, in your HTML add a \<script\> tag that…

> [@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 …

Would that work for your set-up?

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [7 maart 2022 om 18:09 UTC](https://meta.discourse.org/t/how-to-show-the-latest-discussion-on-the-front-page-of-our-main-website/220346/3 "2022-03-07T18:09:16Z")

</div>

I don’t know if it will help, but I show an exerpt of the last topics on my Wordpress website.  
[https://monocycle.info/](https://monocycle.info/) Look at the right sidebar.

I use [https://forum.monocycle.info/latest.json?order=created&ascending=false](https://forum.monocycle.info/latest.json?order=created&ascending=false)  
But I need additional information, so I use I use [https://forum.monocycle.info/site.json](https://forum.monocycle.info/site.json) to get the categories’ names from their ID.  
I also use [https://forum.monocycle.info/t/[topic-number]](https://forum.monocycle.info/t/%5Btopic-number%5D) for each of my 5 last topics to get additional information.

I don’t do much of these requests, I use a CRON task so it’s not updated in real time, maybe twice or once a day…

Maybe @JammyDodger’s link will be of better help 😄

---

<div class="post-metadata">

### Author: ![Christopher\_Kidd](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/christopher_kidd/32/184221_2.png) [@Christopher\_Kidd](https://meta.discourse.org/u/Christopher_Kidd)
#### Post date: [7 maart 2022 om 18:17 UTC](https://meta.discourse.org/t/how-to-show-the-latest-discussion-on-the-front-page-of-our-main-website/220346/4 "2022-03-07T18:17:34Z")

</div>

Thank you for the response. I’ll dig into this and let you know if it works for our site.

-ck

---

<div class="post-metadata">

### Author: ![Christopher\_Kidd](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/christopher_kidd/32/184221_2.png) [@Christopher\_Kidd](https://meta.discourse.org/u/Christopher_Kidd)
#### Post date: [7 maart 2022 om 22:24 UTC](https://meta.discourse.org/t/how-to-show-the-latest-discussion-on-the-front-page-of-our-main-website/220346/5 "2022-03-07T22:24:17Z")

</div>

This is great, thanks!
