@purldator here are my embed settings (sorry, I can’t embed images or link to them):
- embeddable hosts: ddhstaging.satapps.org
- feed polling enabled: {unchecked}
- feed polling url: {blank}
- embed by username: ddhdatasets
- embed username key from feed: {blank}
- embed category: Data Discovery Hub Datasets
- embed post limit: 100
- embed truncate: {unchecked}
- embed whitelist selector: {blank}
- embed blacklist selector: {blank}
My site is a data catalog based on CKAN , pages are generated from templates. Here’s what the Discourse snippet looks like on this page:
<div id="discourse-comments"></div>
<script type="text/javascript">
var discourseUrl = 'http://forumstaging.satapps.org/',
discourseEmbedUrl = 'http://ddhstaging.satapps.org/dataset/473cdee9-565c-4a9b-99a8-e8c836837086';
(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>
Any pointers will be greatly appreciated.