Main Page | See live article | Alphabetical index

Transclusion

In computer science, some hypertext systems, including Ted Nelson's Xanadu Project, had the capability for documents to include sections of other documents by reference, called transclusion. For example, an article about a country might include a chart or a paragraph describing that country's agricultural exports from a different article about agriculture. Rather than copying the included data and storing it in two places, a transclusion allows it to be stored only once (and perhaps corrected and updated if the link type supported that) and viewed in different contexts. The reference also serves to link both articles.

In Ted Nelson's original proposal for hypertext, outlined in his book, Literary Machines, micropayments would be automatically exacted from the reader for all the text, no matter how many snippets of content are taken from various places. This actually strengthens copyright, because it guarantees that authors are paid and guarantees that no one is ever misquoted.

Table of contents
1 Atomism
2 HTML / Web usage
3 Wikipedia usage
4 A side note

Atomism

The idea of transclusion imply that sections of text can be written atomically, so that the content of one section does not interfere with the contents of another section. For example, the following formulations, often found in written prose, are not possible:

See the section below for an explanation.
See the preceding section for an explanation.
As was mentioned earlier.
As we have already detailed.
We will deal with this issue in detail later.

As you do not know where the section will appear, you cannot reference text outside the section in this manner, as you do not know if it will be there or not. If someone else choses to use your section elsewhere, it will be confusing.

For some kinds of prose, this kinds of limitations are not severe, but to others it may be disturbing and lower the quality of the text.

HTML / Web usage

Present HTML has a limited form of transclusion. For instance, it's possible to refer to an image, which the web browser will retrieve and draw on the page; see chipmunk for an example. Also, a document can contain an "iframe," or inline frame, that refers to another document and presents it as text inside the calling document. As of January 2002, Weather.com uses this technique to build its weather forecast page from several small documents. Future versions of HTML may support deeper transclusion of portions of documents referenced through XML's XPath.

Can anybody describe the copyright implications of "framing" with respect to transclusion?

The practice of including data from other sites, such as links to images, etc., is something usually frowned upon because of the use of bandwidth and computing power required from the remote computer system.

However, there is one major exception to this rule: Web advertising, where the advertiser prefers to serve the advertisement themselves, rather than having their content served for them by the parent web-site. In this way, they can directly verify the existence of a remote browser performing a page view, rather than having to trust the publisher of the parent content. (See also: hit counter, web bug).

Wikipedia usage

The custom messages in Wikipedias MediaWiki software is a case of transclusion, and probably one of the few applications where this principle has been advanced to be generally useful.

A side note

There are other technologies that have similar abilities of including external components such as ASP (active server pages), JSP (java server pages), PHP, and the use of SSI (server-side includes).