Add ability to export feeds to OPML format

RESOLVED FIXED

Status

RESOLVED FIXED
14 years ago
6 years ago

People

(Reporter: mscott, Assigned: mscott)

Tracking

Trunk
x86
Windows XP

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Assignee)

Description

14 years ago
Spun off from Bug #258102

Comment 1

14 years ago
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.

Comment 2

14 years ago
Created attachment 183677 [details] [diff] [review]
Add OPML Export 

Adds OPML export. Folder groups are preserved.
Attachment #183677 - Flags: review?(mscott)

Comment 3

14 years ago
Created attachment 183827 [details] [diff] [review]
OPML Export

the previous patch had a little mistake that broke the display of the feed
title
Attachment #183677 - Attachment is obsolete: true

Updated

14 years ago
Attachment #183677 - Flags: review?(mscott)

Updated

14 years ago
Attachment #183827 - Flags: review?(mscott)

Comment 4

14 years ago
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.

Comment 5

14 years ago
(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.
(Assignee)

Comment 6

14 years ago
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? 
(Assignee)

Comment 7

14 years ago
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
Last Resolved: 14 years ago
Resolution: --- → FIXED

Updated

14 years ago
Summary: Add ability to export feeds to OPLM format → Add ability to export feeds to OPML format

Comment 8

14 years ago
*** Bug 299002 has been marked as a duplicate of this bug. ***

Comment 9

13 years ago
Comment on attachment 183827 [details] [diff] [review]
OPML Export

Patch was checked in, review request not needed anymore
Attachment #183827 - Flags: review?(mscott)

Updated

10 years ago
Component: RSS → Feed Reader
Product: Thunderbird → MailNews Core
Depends on: 515057
You need to log in before you can comment on or make changes to this bug.