[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wanted: converter of HTML links



On Wed, 13 Nov 1996, Fabrizio Polacco wrote:

> Lars Wirzenius wrote:
> > [...]
> >         - read file.html
> >         - for each link <a href="foo.html">, if foo.html exists,
> -----------------------------------------------^^^^^^^^^^^^^^^^^^
> >           convert the link to foo.html.gz instead
> >         - otherwise, do not modify the link
> >         - output is either to file.html.fixed or file.html (replace
> >           original with modified version)
> 
> you'll get a chicken-egg here.
> If the output of the conversion depends on the state of the files
> installed by other packages, you'll need to re-convert the files at some
> later stage, and what when the file you depend on have to be converted,
> or has been converted?
> 
> While the program requested seems trivial, maybe you should consider the
> idea of patching the server to accept a request for foo.html
> uncompressing foo.html.gz on the fly. (does a browser tell the server if
> he is able to unzip a compressed file?)

	For apache, adding a directive 'AddHandler gunzip .gz' (not sure of 
the exact syntax) does the trick, ie: the server decompress on the fly; 
anyway, I'd like to be able to read my docs without starting a www server.

--
-     ** Linux **         +-------------------+             ** WAW **     -
-  vincent@debian.org     | RENARDIAS Vincent |          vincent@waw.com  -
-  Debian/GNU Linux       +-------------------+      http://www.waw.com/  -
-  http://www.debian.org/           |            WAW  (33) 4 91 81 21 45  -
-                                   |         Luminy  (33) 4 91 82 85 32  -
---------------------------------------------------------------------------

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: