# Comment intégrer les commentaires Discourse en HTML (pas iframe) avec une URL canonique ?

**URL:** https://meta.discourse.org/t/how-to-embed-discourse-comments-as-html-not-iframe-with-a-canonical-url/386702
**Category:** Support
**Created:** [Octobre 25, 2025, 1:34 UTC](https://meta.discourse.org/t/how-to-embed-discourse-comments-as-html-not-iframe-with-a-canonical-url/386702 "2025-10-25T01:34:44Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [Novembre 3, 2025, 7:58 UTC](https://meta.discourse.org/t/how-to-embed-discourse-comments-as-html-not-iframe-with-a-canonical-url/386702/2 "2025-11-03T19:58:35Z")

</div>

Ceci a déjà été [demandé](https://meta.discourse.org/t/use-discourse-as-a-commenting-system-in-wordpress-but-integrate-natively-not-as-an-iframe/257884?tl=en) mais je ne connais aucun moyen prêt à l’emploi pour le faire. Peut-être pourriez-vous faire quelque chose avec les flux RSS, ou directement avec l’API ?

> [@Get number of comments and/or likes via API per topic?](https://meta.discourse.org/t/get-number-of-comments-and-or-likes-via-api-per-topic/98350?u=tobiaseigen):
>
> What is the most efficient way to get the number of comments a topic has received (and perhaps the number of likes, either to first post post or all posts combined) via the API? (I haven’t looked but I guess there is a counter cache which stores number of replies etc? Is it possible to fetch that via the API, rather than load the whole topic, etc?)

---

_[View the full topic](https://meta.discourse.org/t/how-to-embed-discourse-comments-as-html-not-iframe-with-a-canonical-url/386702)._
