W3C home > Mailing lists > Public > www-html@w3.org > January 2007

Re: XHTML2.0 - transclusion

From: Jakub Dabrowski <jakubdab@gmail.com>
Date: Wed, 24 Jan 2007 10:43:15 +0200
Message-ID: <932c89350701240043h59b88b06x7ac09a9a063c4e12@mail.gmail.com>
To: "Benjamin Hawkes-Lewis" <bhawkeslewis@googlemail.com>
Cc: "www-html@w3.org" <www-html@w3.org>
2007/1/24, Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>:

> Why? Isn't this what intellectual property law is for?

Law is one thing - tools are the other. You can always abuse law by simple
"copy-paste" method.
What I want is possibility of transluding parts of content other than
images, etc.
In hypertext theory possibility of including parts of documents is crucial.
Why do we have to waste space, copy the same content when we can simply
transclude something? Let's say you want to be up to date with some contnet
and place it on your page - not all the people must know php, ssi cgi to
write their own "fetch that content" script.

> 3. Transclusion
> > Possible for whole (allowed by author) document with <object> tag or
> > for its parts also with object tag with some parameters.
> > "type" stands for the way contnt should be rendered: text, xhtml,
> > html, etc...
> But what specifications should be followed to transform content between
> wildly different media types?

For example ?

> I assume you meant "application/xhtml+xml" and "text/plain"?

You are right.

So what should happen when some <object/> /does/ transclude content
> containing another <object/>? Should the entire transclusion be
> cancelled?

For today, until someone get better idea - yes. This is because someone can
try to include content which tries to include including content ;) They'll
both wait for each other and that's really stupid thing...
<!-- document with translusion: doc1.html -->
<object src="www.remoteserver.com/doc2.html<http://www.remoteserver.com/document.html>"
srctype="application/html+xml" type="plain" transid="someid">
<em>cannot get content from remote server</em>

> <!-- other document with translusion: doc2.html -->
> <object src="www.remoteserver.com/doc1.html<http://www.remoteserver.com/document.html>"
> srctype="application/html+xml" type="plain" transid="main">
> <em>cannot get content from remote server</em>
> </object>

Received on Wednesday, 24 January 2007 08:50:19 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:14 UTC