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: Thu, 30 Sep 1999 09:11:33 -0400
Message-ID: <D4E29E4CDBEFD111AB9A00400522C9E21C7F51@florentine.cactuscom.com>
To: www-html@w3.org
> We do not use JUST server side includes because every server 
> has different way
> to include pieces of code, and if you move pages from a 
> server to another, you
> have not portable code.

I agree.  And to agree more, here are 2 examples:

1- I create a web page on Geocities because its free.  I want to include a
word perfect document (file.doc).  Problem...  It's a word perfect version 9
and word craps out when trying to view it.  Two choices, ask Geocities to
change my DOC type to Corel Word Perfect, or have an instruction that
explains how to go to the registry, disable the Word Viewer, right click on
the link, save as...?

2- I have a web application that "sends" files.  A web page displays an
instruction page on how to save/view/etc the document plus the server sends
the document at the same time.  I know this can be done because this is how
www.download.com works.  What will happen if the file sent is an HTML file,
or a gif, pdf, doc???  These files will be displayed in the browser...
Should there be a different instruction page for each type?  No way.

If you can help me work around this problem, I'll forget about this thread
of emails.  The problem is real because we had this problem more than once.
I probably just missed a bolt.

Received on Thursday, 30 September 1999 09:13:19 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:51 UTC