No Can Transclude!

Below are examples of attempts to transclude content into this page. None of them completely work...but that's rather the point.

This repository contains other attempts at addressing the need for aggregate documents built via transclusion (of various kinds). The hope is to find what's missing in HTML (et al) that might make transclusion possible.

Publication examples

Also, checkout these transclusion enhanced publication attempts:

Once we find what's needed, we hope to polyfill it, and make transclusion and the aggregate-document idea a reality on the Web.

Example attempts

Some remote iframes

Some local iframes

  1. Just an iframe
  2. An iframe with the woebegone seamless attribute.

Local content in iframes

  1. Uses "fallback" HTML inside the iframe (like a div...but with an ugly border...).
  2. Uses srcdoc attribute to put HTML inside an attribute of some HTML...

Object tags!

Simple object tags with type="text/html". Second example uses data attribute to point to a local file.

Stuff from inside an inline object.


Embed tags!

Nearly identical to the above example, but with embed and src.

Stuff from inside an inline embed