Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

Re: Suggestion for <SECTION> tag

From: Mikko Rantalainen <mikko.rantalainen@peda.net>
Date: Wed, 16 Feb 2005 11:55:29 +0000
Message-ID: <421334AC.7060303@peda.net>
To: www-html@w3.org




Adeel Javed wrote:
> - Information is dynamically generated from database and displayed on 
> webpage a.
> - An author wants to display same information on webpage b. Since 
> webpage b does not have access to the database so it cannot, the only 
> way is to manually update it, or the other case is if there is a public 
> xml page available and that can be displayed using stylesheets.

The server hosting webpage b could fetch the webpage a instead of 
user agent (browser) and insert selected parts of it inside webpage 
b. Or ideally the server hosting webpage a could push the changes to 
webpage b preventing unneeded reloads.

> ----------------------------------------------------------------------------------------------------------------------------------------
> <SECTION id="stockReport">
> <!-- here goes the complete code that may be dynamically generated -->
> </SECTION>
> ---------------------------------------------------------------------------------------------------------------------------------------                                                 

No need to have special section for this. If something like this is 
really supported, just allow any id to be selected (or even support 
XPath?). For example:

<div id="specialcontent"><!-- elements and cdata --></div>

and just do

<iframe src="..../PageA.xhtml#specialcontent" />

However, iframe already has different behavior defined for anchors 
so we would need another element to include only part of the 
document. For example:

<fragment src="..../PageA.xhtml#specialcontent" />

After saying that, I think that this isn't a good idea. Some people 
consider frames a big problem because one can make part of another 
site to look like part of another site. This would mask real content 
author even more.

-- 
Mikko
Received on Thursday, 17 February 2005 01:56:50 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.