Transclusion

Template:Selfref

In computer science, some hypertext systems, including Ted Nelson's Xanadu Project, have 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 1982 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.

Contents

Atomism

The idea of transclusion implies 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 linear 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 chooses to use your section elsewhere, it will be confusing.

For some kinds of prose, these 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, an HTML 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 was using this technique to build its weather forecast page from several small documents. Future versions of HTML may support deeper transclusion of portions of documents using XML technologies such as XPath's document referencing and XSLT manipulations. See also Framing in websites.

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 (even called "bandwidth theft") and computing power required from the remote computer system. This is said to "tax" another server, and is often considered an example of leeching.

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).

A side note

There are other technologies that have similar abilities of including external components such as ASP (Active Server Pages), JSP (JavaServer Pages), PHP (originally Personal Home Page, now PHP Hypertext Preprocessor), and the use of SSI (Server Side Includes).

See also

es:Transclusión pl:Transkluzja

Navigation

  • Art and Cultures
    • Art (https://academickids.com/encyclopedia/index.php/Art)
    • Architecture (https://academickids.com/encyclopedia/index.php/Architecture)
    • Cultures (https://www.academickids.com/encyclopedia/index.php/Cultures)
    • Music (https://www.academickids.com/encyclopedia/index.php/Music)
    • Musical Instruments (http://academickids.com/encyclopedia/index.php/List_of_musical_instruments)
  • Biographies (http://www.academickids.com/encyclopedia/index.php/Biographies)
  • Clipart (http://www.academickids.com/encyclopedia/index.php/Clipart)
  • Geography (http://www.academickids.com/encyclopedia/index.php/Geography)
    • Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
    • Maps (http://www.academickids.com/encyclopedia/index.php/Maps)
    • Flags (http://www.academickids.com/encyclopedia/index.php/Flags)
    • Continents (http://www.academickids.com/encyclopedia/index.php/Continents)
  • History (http://www.academickids.com/encyclopedia/index.php/History)
    • Ancient Civilizations (http://www.academickids.com/encyclopedia/index.php/Ancient_Civilizations)
    • Industrial Revolution (http://www.academickids.com/encyclopedia/index.php/Industrial_Revolution)
    • Middle Ages (http://www.academickids.com/encyclopedia/index.php/Middle_Ages)
    • Prehistory (http://www.academickids.com/encyclopedia/index.php/Prehistory)
    • Renaissance (http://www.academickids.com/encyclopedia/index.php/Renaissance)
    • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
    • United States (http://www.academickids.com/encyclopedia/index.php/United_States)
    • Wars (http://www.academickids.com/encyclopedia/index.php/Wars)
    • World History (http://www.academickids.com/encyclopedia/index.php/History_of_the_world)
  • Human Body (http://www.academickids.com/encyclopedia/index.php/Human_Body)
  • Mathematics (http://www.academickids.com/encyclopedia/index.php/Mathematics)
  • Reference (http://www.academickids.com/encyclopedia/index.php/Reference)
  • Science (http://www.academickids.com/encyclopedia/index.php/Science)
    • Animals (http://www.academickids.com/encyclopedia/index.php/Animals)
    • Aviation (http://www.academickids.com/encyclopedia/index.php/Aviation)
    • Dinosaurs (http://www.academickids.com/encyclopedia/index.php/Dinosaurs)
    • Earth (http://www.academickids.com/encyclopedia/index.php/Earth)
    • Inventions (http://www.academickids.com/encyclopedia/index.php/Inventions)
    • Physical Science (http://www.academickids.com/encyclopedia/index.php/Physical_Science)
    • Plants (http://www.academickids.com/encyclopedia/index.php/Plants)
    • Scientists (http://www.academickids.com/encyclopedia/index.php/Scientists)
  • Social Studies (http://www.academickids.com/encyclopedia/index.php/Social_Studies)
    • Anthropology (http://www.academickids.com/encyclopedia/index.php/Anthropology)
    • Economics (http://www.academickids.com/encyclopedia/index.php/Economics)
    • Government (http://www.academickids.com/encyclopedia/index.php/Government)
    • Religion (http://www.academickids.com/encyclopedia/index.php/Religion)
    • Holidays (http://www.academickids.com/encyclopedia/index.php/Holidays)
  • Space and Astronomy
    • Solar System (http://www.academickids.com/encyclopedia/index.php/Solar_System)
    • Planets (http://www.academickids.com/encyclopedia/index.php/Planets)
  • Sports (http://www.academickids.com/encyclopedia/index.php/Sports)
  • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
  • Weather (http://www.academickids.com/encyclopedia/index.php/Weather)
  • US States (http://www.academickids.com/encyclopedia/index.php/US_States)

Information

  • Home Page (http://academickids.com/encyclopedia/index.php)
  • Contact Us (http://www.academickids.com/encyclopedia/index.php/Contactus)

  • Clip Art (http://classroomclipart.com)
Toolbox
Personal tools