Federation support for Discourse

Here’s a potentially viable outbound federation support from Discourse idea: Webmentions mediated by Brid.gy.

Flow overview:

  • Topic is created with a link in the first post - to begin with, detect either a single link in the first post, or URL-pasted-in-title
  • Optional: To avoid trivial spam, either wait for the first reply or enable a site setting
  • Probe the page to see if WebMention is supported
  • A WebMention comment is sent with the text “This page is being discussed on =SITE_DOMAIN=: “=TITLE=” =TOPIC_LINK= =CATEGORY_AND_TAGS=” (using site default_locale).
  • The site receives the WebMention (potentially delegating to fed.brid.gy, applying anti spam, etc) and eventually displays that as a comment.

The actor (comment “author”) would take either the high-quality site logo or @system avatar, and the short name of the forum.

5 Likes