Message from JavaScript discussions
November 2018
— Wat is iffy?
I should probably also note that the document I’m trying to embed comes from the same origin. I’m not trying to embed random interweb pages.
— It was iffy to get the iframe to render a full html document from a markup string rather than a src URL.
— Hmm, then its not a problem
— That’s what I’m dealing with: An AJAX response containing full markup in the response body.
— I put together a question Stack Overflow: https://stackoverflow.com/q/53467609/2036825
— Why its full html and not reduced parts of what matters?
— Or files for mustache or other template parser
— There is basically two web applications. One is a Discourse instance and the other is an independent web app/site. The goal is to render documents from the second web app inside the Discourse instance.
— Hence, I’m requesting the full documents from the second web app with asynchronous requests.
— I’m doing this as a job at university. The long-term idea is to use Discourse features like authentication, user management, the forum etc. for any web application without the need to tightly integrate the one with other.
— Then use api, they return json data