Closed Bug 283735 Opened 20 years ago Closed 19 years ago

Add ability to export feeds to OPML format

Categories

(MailNews Core :: Feed Reader, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mscott, Assigned: mscott)

References

Details

Attachments

(1 file, 1 obsolete file)

Spun off from Bug #258102
I have used this patch: http://dougal.gunters.org/blog/2005/01/17/improved-thunderbird-opml and it works ok but it has the following flaws: 1. It does not save the user's folder structure (feature?). I have created several folders under "News & Blogs" and add a new feed under appropriate folder (category). I also often rename the feed to be more informative (e.g. "Alex" is not very informative). Using export functionality of the patch, I lose all my folder settings and new names given to the feeds. 2. If I import an exported feed file, all feeds are added to the root (News & Blogs) although I might already have the same feeds under subfolders. Importing should check based on the feed URL if the feed already exists.
Attached patch Add OPML Export (obsolete) — Splinter Review
Adds OPML export. Folder groups are preserved.
Attachment #183677 - Flags: review?(mscott)
Attached patch OPML ExportSplinter Review
the previous patch had a little mistake that broke the display of the feed title
Attachment #183677 - Attachment is obsolete: true
Attachment #183677 - Flags: review?(mscott)
Attachment #183827 - Flags: review?(mscott)
Very nice effort. If it's not too much asking, it would be optimal if it could export one's folder structure (instead of restoring one folder per feed), and the "show the article summary instead of loading the web page" checkbox state.
(In reply to comment #4) > Very nice effort. If it's not too much asking, it would be optimal if it could > export one's folder structure (instead of restoring one folder per feed), and > the "show the article summary instead of loading the web page" checkbox state. Hmm. I think it does export folder structure rather than one folder per feed. It's just that Thunderbird imports them differently. As for the summary/webpage state, I don't think OPML supports that.
I noticed that the resulting OPML file is one big line. Is that expected / normal or should things be broken up into multiple lines. I'm guessing that's probably a result of the serializer and not this patch per say?
The one UI thing I don't like about this (not specific to this bug) is the bottom of the subscriptions dialog is getting really busy as we now have 5 buttons across the bottom. I may play around with moving Add / Edit / Remove into a vertical box to the right of the feed list box, leaving import and export as the lone horizontal buttons on the bottom. In any case, I can decide that later so I've gone ahead and checked this patch in. I made some minor changes to the formatting of some braces around if clauses otherwise...great stuff!
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Summary: Add ability to export feeds to OPLM format → Add ability to export feeds to OPML format
*** Bug 299002 has been marked as a duplicate of this bug. ***
Comment on attachment 183827 [details] [diff] [review] OPML Export Patch was checked in, review request not needed anymore
Attachment #183827 - Flags: review?(mscott)
Component: RSS → Feed Reader
Product: Thunderbird → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: