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.

Message permanent page

— 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:

— 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.

Message permanent page

— 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.

Message permanent page

— Then use api, they return json data