Embeding full topic in others sites


(Admir Hodzic) #1

I am trying to show specific topic(s) from my discourse in other web page.

I did set discource embedding between my site and my discource.

When js executes

 DiscourseEmbed = {
                    discourseUrl: 'http://forum.my.com/',
                    topicId: 388665
                };

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

I do get iframe loaded without problems and I see content of my discourse embedded regulary.

Only problem is that I do not get first POST of topic displayed.

Is there a way to push discource to rerun first post to embed among whit outers ?
Is there a way to some how in different way embed discource topic on 3th site ?