Closed Bug 297804 Opened 19 years ago Closed 19 years ago

OPML Export should be pretty-printed

Categories

(MailNews Core :: Feed Reader, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sayrer, Assigned: mscott)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: version 1.0+ (20050614)

Instead of printing the OPML file on one big line, the exported file should be
pretty-printed.

Reproducible: Always

Steps to Reproduce:
It would be nice if the serializer had a pretty-print flag, but it doesn't, so
I added the nodes in the DOM code.
Attachment #186355 - Flags: review?(mscott)
I made some white space changes to this patch and then checked it in. The
resulting text file looks much more readable now!
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird1.1
(In reply to comment #2)
> I made some white space changes to this patch and then checked it in. The
> resulting text file looks much more readable now!

Is there a style guide I can read somewhere? I don't seem to be learning the
whitespace and bracketing conventions :)
Attachment #186355 - Flags: review?(mscott)
Component: RSS → Feed Reader
Product: Thunderbird → MailNews Core
Target Milestone: Thunderbird1.1 → ---
You need to log in before you can comment on or make changes to this bug.