- From: Sunil <sunilgupta@btopenworld.com>
- Date: Sat, 10 Dec 2005 09:46:46 -0000
- To: "'jeffrey kutcher'" <jeffrey_kutcher@yahoo.com>, <www-html@w3.org>
Hi Jeff, You can do this already with Ajax (Asynchronous JavaScript and XML) but it involves a small amount of coding to fetch the bits of HTML from the server. so one way you could do this is to construct your document with named <DIV>s containing references to the html you wish to inject and then write some Ajax JavaScript which iterates these DIVs and fetches the content from the server. Sunil -- release the potential of your web server with SDPML http://sdpml.mozdev.org/ (in development) -----Original Message----- From: www-html-request@w3.org [mailto:www-html-request@w3.org]On Behalf Of jeffrey kutcher Sent: 30 November 2005 20:48 To: www-html@w3.org Subject: HTML Improvement/Suggestion Server Side Includes allow the server to inject html from one html file into another. There are so many image references in html files, that is, the client has to go back to the server to get the contents of images many times over, once for each image. Why not create an include tag that takes an iref="filename" argument that allows this tag to be replaced with the included html contents of the file specified in the include reference argument. This will simplify footers, headers, and eliminate repeated code found in many web pages. What's one more retrieval per page? <img> already does this for an image. Why not let <include iref="[rel]url"> do it for html? Jeff __________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/
Received on Saturday, 10 December 2005 09:45:20 UTC