Drupal Embed: Create Blank Topic Without Duplicating Content

Hi there,
We use Discourse embedded into Drupal article pages. Every time someone from a Drupal article clicks to add a comment, a topic is automatically created within Discourse, and the article’s text is duplicated into the Discourse topic.

Is it possible to still have the Discourse create a topic, but without duplicating the article’s text within the new topic?
If it helps, the Discourse embed code we use is below:

    (function() {
      var d = document.createElement('script'); d.type = 'text/javascript'; d.async = true;
        d.src = discourseUrl + 'javascripts/embed.js';
      (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
    })();
  </script>
1 Like

On your Admin / Customize / Embedding page, is the “Truncate the embedded posts” checkbox checked? When that setting is enabled, Discourse will only pull in an excerpt of the post instead of pulling in the full post content. Users will need to click the “Show Full Post” button to read the full post on Discourse. If your concern is about being penalized for duplicate content, only embedding an excerpt instead of the full post should improve things.

2 Likes