World Library  
Flag as Inappropriate
Email this Article

Transclusion

Article Id: WHEBN0000013499
Reproduction Date:

Title: Transclusion  
Author: World Heritage Encyclopedia
Language: English
Subject: Ted Nelson, Project Xanadu, Tip of the day/May 8, Hyperlink, JSON-LD
Collection: Html, Hypertext, Metadata, Ted Nelson
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Transclusion

B is transcluded in the document A.

In computer science, transclusion is the inclusion of a document or part of a document into another document by reference.

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.

Transclusion is usually performed on demand at the time one document referencing another is opened, and is normally automatic and transparent to the end user. The result appears to be a single integrated document, even though its parts were assembled on-the-fly from several separate documents which may have come from different computers located in different places.

The term was coined by hypertext pioneer Ted Nelson in 1963.

Contents

  • Technical considerations 1
    • Context neutrality 1.1
    • Parameterization 1.2
  • History and implementation by Project Xanadu 2
  • Implementation on the Web 3
    • Client-side HTML 3.1
    • Server-side transclusion 3.2
    • Transclusion of source code 3.3
  • See also 4
  • References 5
  • Further reading 6
  • External links 7

Technical considerations

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.

Parameterization

Under some circumstances, and in some technical contexts, transcluded sections of text may not require strict adherence to the "context neutrality" principle, because the transcluded sections are capable of parameterization. Parameterization implies the ability to modify certain portions or subsections of a transcluded text depending on exogenous variables that can be changed independently. This is customarily done by supplying a transcluded text with one or more substitution placeholders. These placeholders are then replaced with the corresponding variable values prior to rendering the final transcluded output in context.

History and implementation by Project Xanadu

Ted Nelson (who had also originated the words "hypertext" and "hypermedia") coined the term "transclusion" in his 1982 book, Literary Machines. Part of his proposal was the idea that micropayments could be automatically exacted from the reader for all the text, no matter how many snippets of content are taken from various places.

However, according to Nelson, the concept of transclusion had already formed part of his 1965 description[1] of hypertext; Nelson defines transclusion as "the same content knowably in more than one place", setting it apart from more special cases such as the inclusion of content stored in a different location (which he calls "transdelivery") or "explicit quotation which remains connected to its origins" (which he calls "transquotation").

Some hypertext systems, including Ted Nelson's own Xanadu Project, support transclusion.

Nelson has delivered a demonstration of Web transclusion, the Little Transquoter (programmed to Nelson's specification by Andrew Pam in 2004-2005).[2] 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.

Implementation on the Web

HTTP, as a transmission protocol, has rudimentary support for transclusion via byte serving (specifying a byte range in an HTTP request message).

Transclusion can occur either before (server-side) or after (client-side) transmission. For example:

  • An HTML document may be pre-composed by the server before delivery to the client using Server-Side Includes or another server-side application.
  • XML Entities or HTML Objects may be parsed by the client, which then requests the corresponding resources separately from the main document.
  • A web browser may cache elements using its own algorithms, which can operate without explicit directives in the document's markup.
  • AngularJS employs transclusion for nested directive operation.

Publishers of web content may object to the transclusion of material from their own web sites into other web sites, or they may require an agreement to do so. Critics of the practice may refer to various forms of inline linking as bandwidth theft or leeching.

Other publishers may seek specifically to have their materials transcluded into other web sites, as in the form of web advertising, or as widgets like a hit counter or web bug.

Mashups make use of transclusion to assemble resources or data into a new application, as by placing geo-tagged photos on an interactive map, or by displaying business metrics in an interactive dashboard.

Client-side HTML

HTML defines elements for client-side transclusion of images, scripts, stylesheets, other documents, and other types of media.

Through techniques such as Ajax, scripts associated with an HTML document can instruct a web browser to modify the document in-place. Such scripts may transclude elements or documents from a server after the web browser has rendered the page, in response to user input or changing conditions, for example.

Future versions of HTML may support deeper transclusion of portions of documents using XML technologies such as entities, XPointer document referencing, and XSLT manipulations. (XPointer is patent-encumbered.[3])

Proxy servers may employ transclusion to reduce redundant transmissions of commonly-requested resources.

Server-side transclusion

Transclusion can be accomplished on the server side, as through Server Side Includes and markup entity references resolved by the server software. It is a feature of substitution templates.

Transclusion of source code

The transclusion of source code into software design or reference materials allows the source code to be presented within the document, but not interpreted as part of the document, preserving the semantic consistency of the inserted code in relation to its source codebase.

See also

References

  1. ^ Theodor H. Nelson, "A File Structure for the Complex, the Changing and the Indeterminate." Proceedings of the ACM 20th National Conference (1965), pp. 84-100
  2. ^ The Little Transquoter Xanadu.com.au
  3. ^ https://lists.w3.org/Archives/Member/w3c-xml-linking-ig/2001Apr/0056.html

Further reading

  • Di Iorio, A.; Vitali, F. (August 2003). "Proceedings of the Second International Workshop of Web Document Analysis 2003 (WDA2003)" (PDF). Edinburgh, UK. 
  • Kolbitsch, J.; Maurer, H. (June 2006). "Transclusions in an HTML-Based Environment". Journal of Computing and Information Technology 14 (2): 161–174.  
  • Kolbitsch, J. (June 2005). "Fine-Grained Transclusions of Multimedia Documents in HTML". Journal of Universal Computer Science 11 (6). 
  • Krottmaier, H. (2002). "Proceedings of the 6th International ICCC/IFIP Conference on Electronic Publishing (ELPUB2002)" (PDF). Czech Republic: Karlovy Vary. pp. 359–367. 
  • Krottmaier, H.; D., Helic (2002). "Proceedings of the World Conference on E-Learning in Corporate, Government, Healthcare, & Higher Education (E-Learn 2002)" (PDF). Montreal, Canada. pp. 1730–1733. 
  • Krottmaier, H.; Maurer, H. (July 2001). "Transclusions in the 21st Century" ( 
  • Moore, A.; et al. (2001). "Proceedings of the Twelfth ACM Conference on Hypertext and Hypermedia". Aarhus, Danmark. pp. 163–164. 
  • Nelson, T. H. (1981). Literary Machines. Mindful Press. 
  • Nelson, T. H. (1995). "The Heart of Connection: Hypermedia Unified by Transclusion". Communications of the ACM 38 (8): 31–33.  
  • Nelson, T. H. (1996). "Generalized Links, Micropayment and Transcopyright".  
  • Nelson, T. H. (1998). "Transcopyright: Pre-Permission for Virtual Republishing". 
  • Nelson, T. H. (1999). "Xanalogical Structure, Needed Now More than Ever: Parallel Documents, Deep Links to Content, Deep Versioning and Deep Re-Use". ACM Computing Surveys 31 (4es): 33.  
  • Pam, A. (1997). "Fine-Grained Transclusion in the Hypertext Markup Language" (Text). Internet Draft. 
  • Wilde, E.; Lowe, D. (2002). "XML Linking Language". XPath, XLink, XPointer, and XML: A Practical Guide to Web Hyperlinking and Transclusion (PDF). Addison-Wesley Professional. pp. 169–198. 

External links

  • Ted Nelson: Transclusion: Fixing Electronic Literature — on Google Tech Talks, 29 January 2007.
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.