Closed Bug 762631 Opened 14 years ago Closed 14 years ago

Enhance support for feed enclosures

Categories

(MailNews Core :: Feed Reader, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 16.0

People

(Reporter: alta88, Assigned: alta88)

Details

Attachments

(1 file, 1 obsolete file)

10.64 KB, patch
alta88
: review+
Details | Diff | Splinter Review
this patch attempts: 1) support for more than 1 enclosure per message (not sure why such a simple thing wasn't implemented day one) 2) adds Atom support 3) adds <media:content> support
Attached patch patch (obsolete) — — Splinter Review
Assignee: nobody → alta88
Attachment #631088 - Flags: review?(dbienvenu)
alta88, any hints for how to test this patch?
Comment on attachment 631088 [details] [diff] [review] patch remove commented out line: +// tags = this.childrenByTagNameNS(itemNode, FeedUtils.MRSS_NS, "content"); It's up to you, but for each (let tag in tags) seems cleaner than + for (let j = 0; j < tags.length; j++) + { + let tag = tags[j];
Attachment #631088 - Flags: review?(dbienvenu) → review+
(In reply to David :Bienvenu from comment #2) > alta88, any hints for how to test this patch? i've been using feeds like: http://feeds.guardian.co.uk/theguardian/sport/rss http://rss.cnn.com/rss/si_topstories.rss
Attached patch patch — — Splinter Review
address comments, patch for checkin.
Attachment #631088 - Attachment is obsolete: true
Attachment #638206 - Flags: review+
(In reply to David :Bienvenu from comment #3) > Comment on attachment 631088 [details] [diff] [review] > > It's up to you, but > > for each (let tag in tags) > > seems cleaner than > > + for (let j = 0; j < tags.length; j++) > + { > + let tag = tags[j]; tags is either an array of nodes or a dom node collection object; since |for each| isn't for arrays, it's probably simpler to be old school and uniform in this case.
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: in-testsuite-
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 16.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: