transclusion

Information about transclusion

For information about transclusion on Wikipedia, see Wikipedia:Transclusion


In computer science, transclusion is the inclusion of part of a document into another document by reference. It is a feature of substitution templates.

Some hypertext systems, including Ted Nelson's Xanadu Project, support 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 embodies modular design, by allowing 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, where he coined the terms "transclusion", "hypertext" and "hypermedia", outlined in his 1982 book, Literary Machines, micropayments could be automatically exacted from the reader for all the text, no matter how many snippets of content are taken from various places.

Nelson has recently delivered a demonstration of Web transclusion, the Little Transquoter (programmed to Nelson's specification by Andrew Pam). It creates a new format built on portion addresses from Web pages; when dereferenced, each portion on the resulting page remains click-connected to its original context-- always a key aspect of transclusion for Nelson, but missing in most implementations of transclusion.

Context neutrality

Transclusion works better when transcluded sections of text are self-contained, so that the meaning and validity of the text is independent of the context in which it appears. For example, formulations like "as explained in the previous section" are problematic, because the transcluded section may appear in a different context, causing confusion. What constitutes "context neutral" text varies, but often includes things like company information or boilerplate.

Use on the Web

In HTML

At present, transclusion in HTML is somewhat limited by lack of standards support in Internet Explorer. Although all graphical browsers can transclude an image, including a document is a bit more difficult. There are currently two methods of achieving this result:
  • The IFrame (inline frame) element, which includes whole documents.
  • The Object element. In Firefox and other browsers, this allows true document transclusion, enabling one page to be built from several smaller documents.
In addition, Ajax can achieve a similar result across all modern, JavaScript-enabled browsers.

Future versions of HTML may support deeper transclusion of portions of documents using XML technologies such as entities, XPointer document referencing, and XSLT manipulations.

The practice of 'remote loading'—including data, such as images, directly from other sites—is usually frowned upon because of the use of bandwidth and computing power required from the remote computer system (see Bandwidth theft). This is said to "tax" another server, and is often considered an example of leeching. Increased distribution of proxy servers has the potential to turn this around and take advantage of transclusion to reduce redundant transmissions of the same data.

A major exception to this rule is web advertising, where advertisements supplied by an advertiser are published with other content by a publisher. An advertiser prefers to serve an advertisement and be able to detect when it was viewed, rather than have it served by the publisher and have to trust the publisher. (See also Hit counter, Web bug).

Mashups are a recent phenomena that are similar to transclusion.

Server-side Transclusion

Transclusion can also be accomplished on the server side, provided the server software includes this functionality. This can be done through multiple different technologies, including Server Side Includes and markup entity references resolved by the server software. Client-side transclusion is generally preferable as data transcluded into several pages can be cached by the client rather than sent out again for every page.

Publications

External links

See also

Computer science, or computing science, is the study of the theoretical foundations of information and computation and their implementation and application in computer systems.
..... Click the link for more information.
Hypertext most often refers to text on a computer that will lead the user to other, related information on demand. Hypertext represents a relatively recent innovation to user interfaces, which overcomes some of the limitations of written text.
..... Click the link for more information.
Ted Nelson

Born May 17 1937 (1937--) (age 70)

Field Inventor
..... Click the link for more information.
Project Xanadu was the first hypertext project. Founded in 1960 by Ted Nelson, the project, according to its website contrasts its vision with that of paper: "Today's popular software simulates paper.
..... Click the link for more information.
In the context of systems engineering, modular design — or "modularity in design" — is an approach aiming to subdivide a system into smaller parts (modules) that can be independently created and then used in different systems to drive multiple functionalities.
..... Click the link for more information.
19th century - 20th century - 21st century
1950s  1960s  1970s  - 1980s -  1990s  2000s  2010s
1979 1980 1981 - 1982 - 1983 1984 1985

Year 1982 (MCMLXXXII
..... Click the link for more information.
Literary Machines
Author Ted Nelson
Country United States
Language English
Genre(s) Computer Science
Publisher Mindful Press
Publication date
ISBN 0-465-02989-2

Literary Machines
..... Click the link for more information.
Micropayments are means for transferring very small amounts of money, in situations where collecting such small amounts of money with the usual payment systems is impractical, or very expensive, in terms of the amount of money being collected.
..... Click the link for more information.
Boilerplate is any text that is or can be reused in new contexts or applications without being changed much from the original. Many computer programmers often use the term boilerplate code. A legal boilerplate is a standard provision in a contract.
..... Click the link for more information.
HTML (Hypertext Markup Language)

File extension: .html, .htm
MIME type: text/html
Type code: TEXT
..... Click the link for more information.
Windows Internet Explorer (formerly Microsoft Internet Explorer abbreviated MSIE), commonly abbreviated to IE, is a series of proprietary graphical web browsers developed by Microsoft and included as part of the Microsoft Windows line of operating systems
..... Click the link for more information.
Inline linking is the placing of a linked object, often an image, from one site into a web page belonging to a second site. The second site is said to have an inline link to the site where the object is located.
..... Click the link for more information.
IFrame (from inline frame) is an HTML element which makes it possible to embed another HTML document inside the main document.

The size of the IFrame is specified in the surrounding HTML page, so that the surrounding page can already be presented in the browser
..... Click the link for more information.
Maintainer: Mozilla Corporation / Mozilla Foundation

OS: Cross-platform
Available language(s): Multilingual,[1] EULA in English only[2]
Use: Web browser
License: Mozilla EULA for binary redistribution

..... Click the link for more information.
Ajax, or AJAX, (Asynchronous Javascript And XML) is a web development technique used for creating interactive web applications.
..... Click the link for more information.
JavaScript
Paradigm: multi-paradigm
Appeared in: 1995
Designed by: Brendan Eich
Developer: Netscape Communications Corporation, Mozilla Foundation
Typing discipline: dynamic, weak, duck
Major implementations: SpiderMonkey, Rhino, KJS, JavaScriptCore
..... Click the link for more information.
Extensible Markup Language

File extension: .xml
MIME type: application/xml, text/xml (deprecated)
Uniform Type Identifier: public.xml
Developed by: World Wide Web Consortium
Type of format: Markup language
Extended from: SGML
..... Click the link for more information.
entity is a named body of data associated with a document, or the unnamed document entity itself. Once defined, a named entity can be referenced any number of times within the document, via entity references.
..... Click the link for more information.
XPointer is a system for addressing components of XML based internet media.

At the present time (late 2002), XPointer is divided among four specifications: a "framework" which forms the basis for identifying XML fragments, a positional element addressing scheme, a scheme for
..... Click the link for more information.
XSL Transformations

File extension: .xsl, .xslt
MIME type: application/xslt+xml[1]
Developed by: World Wide Web Consortium
Type of format: Stylesheet language
Extended from: XML
..... Click the link for more information.
Inline linking is the placing of a linked object, often an image, from one site into a web page belonging to a second site. The second site is said to have an inline link to the site where the object is located.
..... Click the link for more information.
Server Computer

The inside/front of a server computer

Connects to:
  • Internet via one of

..... Click the link for more information.
In computing and specifically on the Internet, being a leech or leecher refers to the practice of benefiting, usually deliberately, from others' information or effort but not offering anything in return, or only token offerings in an attempt to avoid being called a leech.
..... Click the link for more information.
In computer networks, a proxy server is a server (a computer system or an application program) which services the requests of its clients by forwarding requests to other servers.
..... Click the link for more information.
Advertising is paid, one-way communication through a medium in which the sponsor is identified and the message is controlled by the sponsor. Variations include publicity, public relations, etc..
..... Click the link for more information.
A web counter or hit counter is a computer software program that indicates the number of visitors, or hits, a particular webpage has received. Once set up, these counters will be incremented by one every time the web page is accessed in a web browser.
..... Click the link for more information.
A Web bug is an object that is embedded in a web page or e-mail and is usually invisible to the user but allows checking that a user has viewed the page or e-mail. One common use is in e-mail tracking.
..... Click the link for more information.
A mashup is a web application that combines data from more than one source into a single integrated tool; a typical example is the use of cartographic data from Google Maps to add location information to real-estate data from Craigslist, thereby creating a new and distinct web
..... Click the link for more information.
Server Side Includes (SSI) is an easy server-side scripting language used almost exclusively for the web. As its name implies, its primary use is including the contents of a file into another, via a web server.
..... Click the link for more information.
entity is a named body of data associated with a document, or the unnamed document entity itself. Once defined, a named entity can be referenced any number of times within the document, via entity references.
..... Click the link for more information.

This article is copied from an article on Wikipedia.org - the free encyclopedia created and edited by online user community. The text was not checked or edited by anyone on our staff. Although the vast majority of the wikipedia encyclopedia articles provide accurate and timely information please do not assume the accuracy of any particular article. This article is distributed under the terms of GNU Free Documentation License.