W3C home > Mailing lists > Public > www-html@w3.org > September 1999

RE: Include pieces of code in an HTML file

From: Patrice Calve <patrice.calve@cactuscom.ca>
Date: Wed, 29 Sep 1999 08:10:32 -0400
Message-ID: <D4E29E4CDBEFD111AB9A00400522C9E21C7F44@florentine.cactuscom.com>
To: www-html@w3.org
> <INCLUDE
>      SRC=url             -- source file from which code 
> should be included
>                          -- it should not contain neither 
> <!DOCTYPE> nor <HTML>
>                          -- but just a flat piece of 
> well-formed HTML code
>      PARSE=[yes|no]      -- parse internal entities too after 
> inclusion
>      INTERLACE=[yes|no]  -- if yes, load in parallel with 
> rest of page,
> otherwise after
> >


This is good and simple to a basic problem.  I would like to extend this
feature with a DOWNLOAD=[Yes|No].   If set to Yes, the include file is
"sent" to the browser and the user has a "Save As/Open" dialog box.  If set
to no, the include file is simply displayed on the page.  It would then make
sence to have the possibility to tell the browser what type of file it is.
ex: Doc = Word, Word Perfect, text?  

In this case, we could then have the opportunity to send HTML files and GIF
files to the browswer.  I am aware that with an HTML file you can do a
File->Save As, and with a GIF Mouse->Right Click->Save Picture As...   BUT,
most users don't know that.

I think this is a simple solution and a simple problem.
Received on Wednesday, 29 September 1999 08:12:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:39 GMT