Closed Bug 42441 Opened 24 years ago Closed 23 years ago

Save As plain text in navigator

Categories

(Core Graveyard :: File Handling, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.8

People

(Reporter: jmd, Assigned: bugs)

References

Details

(Keywords: helpwanted)

In the Save As dialog, an option to save as other rendered formats would be very
useful. Lynx provides a similar feature, its (p)rint command allows you to save
the HTML document as plain text, with the rendering 'hardcoded' in.

I'm not sure if mozilla does postscript conversion internally to print, but if
it does, being able to Save As postscript would be very nice, as well.
RFE over to xpapps
Assignee: asa → don
Component: Browser-General → XP Apps
QA Contact: doronr → sairuh
Summary: [RFE} Save As <type>, type = at least plain text → [RFE] Save As <type>, type = at least plain text
Wow, just noticed this was in 4.7 linux. In that case, this is a must. Marking
4xp.
Keywords: 4xp
m20
Target Milestone: --- → M20
Since Don has left, Vishy is taking his bugs in bulk, pending reassignment.
thanks,
	Vishy
Assignee: don → vishy
nav triage team:

This would require some work, not holding beta1 for it, though it would be nice 
to have. Marking nsbeta1-
Keywords: nsbeta1-
Depends on: 45011
No longer depends on: 45011
Depends on: 45011
pchen, what work are you referring to? We do have a HTML->TXT converter already
(it is used each time you sent a mail composed in the normal HTML editor as
plaintext). We just need to hook save as up.
Keywords: nsbeta1-
*** Bug 45011 has been marked as a duplicate of this bug. ***
No longer depends on: 45011
> I'm not sure if mozilla does postscript conversion internally to print, but if
> it does, being able to Save As postscript would be very nice, as well.

This is available via the print command. Just print in a file. save as
postscript wfm.
updateing SUMMARY (sorry for spam).
Summary: [RFE] Save As <type>, type = at least plain text → [RFE] Save As plain text
This bug probably depends on bug 51798.
Summary: [RFE] Save As plain text → [RFE] Save As plain text in navigator
*** Bug 64705 has been marked as a duplicate of this bug. ***
Why is this RFE if it is 4xp? This should be considered simply a bug, shouldn't it?
Besides, if there is no choice between text and source, it does not make sense
to have a menu item "Save (Page) As ..." with "...".
Hardware: PC → All
Summary: [RFE] Save As plain text in navigator → Save As plain text in navigator
hirata, good point --marking this as normal, rather than enhancement.
Severity: enhancement → normal
The missing work seems to be the UI spec and its implementation.  I haven't
heard of any feedback that users are clamoring for this...
uh, i'm clamoring for it ;)
> I haven't heard of any feedback that users are clamoring for this...

I have heard users asking for that.

Selmer, is that a spam bait? How many pewope should say they clamor for it? I'll
answer as the third in the good old AOL tradition:

Me too!
->pchen for triage, since vishy's away. would nsbeta1/mozilla0.9 be too
ambitious a timeframe?
Assignee: vishy → pchen
Keywords: nsbeta1
nav triage: not a beta stopper. 
Keywords: nsbeta1helpwanted, nsbeta1-
is this bug related to bug 72009?
mail/news does for compose window for sending.  maybe we can leverage something 
there...
Blocks: 81552
*** Bug 64705 has been marked as a duplicate of this bug. ***
spam: over to File Handling. i have not changed the assigned developer [or the
other fields for that matter], so if anyone realizes that a bug should have a
more appropriate owner, go ahead and change it. :)
Component: XP Apps → File Handling
Depends on: 28209
Ben Goodger is working on saving stuff, especially this. -> ben
Assignee: pchen → ben
Out HTML page Composer has an "Export to Text" feature since some time, you
might want to take a deep look at its implementation.
Part of updated "Save As" work. 
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.6
Target Milestone: mozilla0.9.6 → mozilla0.9.7
Target Milestone: mozilla0.9.7 → mozilla0.9.8
Currently, the "Save As" feature includes "text file" as one of its options, but
when you select it, it still saves the HTML code (and doesn't change the default
save filename to end with .txt instead of .html).

This would be a nice thing to fix, since Netscape 4.x had a very good "Save As
Plain Text" option (much nicer than that of MSIE), generating a nice-quality
text mode rendering of the page, including tables and the ALT text of images.  I
used it a lot to get well-formatted plain text versions of Web pages.  It's a
shame that Mozilla, so far, is a regression from that.
Bug 118557 would be a cool way to implement this properly. :-)
Depends on: 118557
There is no dependency. Bug 118557 might be a good way to improve the result of
the HTML->TXT converter, esp. for tables, but not that is even clear yet. In any
case, this bug is not really - it should just the the converter and not care how
the converter works. And I claim that the converter already works relatively
well without bug 118557.
No longer depends on: 118557
Fixed. Patch w/analysis in bug 120174. 
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
From the patch:

-    // XXX waiting for fix for 110135 to land
+// Still waiting for text conversion to work right
     // aFilePicker.appendFilter(bundle.GetStringFromName("TextOnlyFilter"),
"*.txt");


What does that mean? Define "work right". Why is that filter commented out?
works on linux rh7.2 and win2k, 2002.01.24.0x comm bits. [there are some other
issues, but they're covered by other bugs, like bug 120313.]

alas, unable to test on mac due to bug 107521. :( will verify this when that one
is fixed.
*** Bug 121865 has been marked as a duplicate of this bug. ***
Depends on: 107521
*** Bug 70045 has been marked as a duplicate of this bug. ***
No longer depends on: 107521
Depends on: 107521
yep, this works on mac with recent os x builds, trunk and branch.
Status: RESOLVED → VERIFIED
*** Bug 211067 has been marked as a duplicate of this bug. ***
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.