in reply to saving pages all= index.pl.html

What browser?

IE prompts me to save the page with the contents of the <TITLE> tags (basically). Phoenix/Mozilla prompt me with index.pl.html (dumb), as does opera.

Would it be possible to put the node subject as the name of the html file?
I don't exactly see how anybody can do anything about this, it completely depends upon the browser.


MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests.
** The Third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Re: Re: saving pages all= index.pl.html
by valdez (Monsignor) on Feb 15, 2003 at 16:20 UTC
      Oh I get it now. So zentara wants another link next to print, xml, save, which would use Content-Disposition ... so a user can "save target as" and save it with the neato filename. We can do that.

      update: Or we can send the Content-Disposition header with every request. I haven't checked the RFC, but IE does not respect the filename specified via Content-Disposition, while Mozilla does. I'm not sure how it's supposed to work.


      MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
      I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests.
      ** The Third rule of perl club is a statement of fact: pod is sexy.

        I have been using:
        print $q->header(-type=>$type, -Content_Disposition=>"filename=$node-> +{title}"); print $$data;
        ...with a script that grabs files (mostly photographs) from a database and sends them to the browser. After determining the mime.type and verifying the data, of course.
        I have never had IE not respect the filename I sent it.
        This is running from Apache/1.3.26 (Unix).
        -xtype

        P.S. Oh, and I agree with this post, except that I would like an option between the node ID or the node Title (set in user prefs). Maybe it would default to node Title for the Anons. pmdev...get to work.

        update: Also, I would like to see it sent with every request. I see no need for a "save" link.
Re: Re: saving pages all= index.pl.html
by tremere (Acolyte) on Feb 20, 2003 at 17:25 UTC

    Konqueror saves it as 'index.pl', Galeon saves this node as 'index.pl?node_id=237143'...

    Try filing a wishlist bug on Mozilla that addresses your disleasure.


    When crypto tools are outlawed, I will still be using them.