I have created a Tbymeleaf Spring simple app that provides a simple html page as output. I want to embed this site into aem and have tried extending the Embed component with a custom url processor, but when rendering the page I only see the URL. Is there a way to render the output of an external system???
I extended the embed component and created the htl file with the same name as the custom url processor (as suggested by Adobe). To render the content of the external html I used an iframe, but just for testing purposes..... I would like to know if there is another way to render the content without using an iframe (I reckon the pinterest out of the box component uses a js library to render the content, so maybe that's something I need to get done, unfortunately Im no expert with js).
No worries. There are quite a few options available online to include external content without use of Iframe.(Example : https://stackoverflow.com/questions/39102215/how-to-show-external-website-inside-another-page-withou...)
One such is use of load function of jQuery - https://api.jquery.com/load/
(You can surf and decide which best suits your use case)
Good read about working with HTML content in a page for your reference - https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Safely_inserting_external_con...