RE: Include pieces of code in an HTML file

> <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 UTC