lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV add "append to file" to "print" page.


From: Foteos Macrides
Subject: Re: LYNX-DEV add "append to file" to "print" page.
Date: Fri, 27 Dec 1996 11:50:30 -0500 (EST)

address@hidden (David Combs) wrote:
>The "p" command brings up the "print" page, first item of
>which is "Save to local file.".
>
>Would be nice indeed (for me, anyway, accumulating things to
>email to friends) if there was an "Append to local file" too.
>
>Would be nice if such choice also generated something to
>separate the addition from what went before, maybe a FF,
>maybe something defined in lynx.cfg or .lynxrc.
>
>Does ANYONE ELSE see this as a useful feature -- if so,
>please SAY so to the list.  (thanks)

        It's useful, but may not be worth the overhead within the
Lynx image when it's so easy to do via a script added as an item
in the menu.  That's the whole point of the 'p'rint and 'd'ownload
menu design in Lynx.

        Note also that the FM code set implements the use of
Content-Disposition as a server header or document META for
setting the suggested filename on 'p'rint and 'd'ownload menu
options.  If you use, for example:

<META http-equiv="Content-Disposition"
      content="file; filename=name.suffix">

then "name.suffix" (prefixed with LYNX_SAVE_SPACE if you set that
in the environment) will be offered as the suggested output filename
(i.e., substituted for the second %s in the 'p'rint or 'd'ownload
option) instead of the last sybolic element in the actual URL.
That's useful when the URL is for a script which returns dynamic
documents, and what you want is a suitable name for the output file,
not the name of the script (or the last element of any PATH_INFO for
the script).

                                Fote

=========================================================================
 Foteos Macrides            Worcester Foundation for Biomedical Research
 address@hidden         222 Maple Avenue, Shrewsbury, MA 01545
=========================================================================
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]