Why not just use an iframe?
However, iframes have some drawbacks:
- You cannot display content outside of the box of the iframe
- It is tricky to resize the iframe to match the size of its contents
- Your content will be unable to interact with the host page, even if it is trusted
- Search engines like Google will not see the content on the host page. Content that is syndicated from a partner website can avoid this by being directly included in the host page.
Iframe-based resetting for distributed content