Closed Bug 373340 Opened 17 years ago Closed 17 years ago

atom:logo in feed reading view

Categories

(Firefox Graveyard :: RSS Discovery and Preview, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: FranklinWhale, Assigned: sayrer)

Details

(Keywords: verified1.8.1.4)

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a3pre) Gecko/20070309 Minefield/3.0a3pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a3pre) Gecko/20070309 Minefield/3.0a3pre

The feed reading view of Firefox does not currently display the image linked in <atom:logo>. However, it does display the image linked in the <image> element of RSS 2.

Reproducible: Always

Steps to Reproduce:
1.Load a feed that has a <logo> element in namespace "http://www.w3.org/2005/Atom"
2.Check if the image linked in <logo> is displayed
Actual Results:  
No image shown

Expected Results:  
The logo/image linked should be displayed
yes, a mistake on my part. we should fix this on trunk and try to get it in for 2.0.0.4.
Assignee: nobody → sayrer
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch add atom:logo hooks (obsolete) — Splinter Review
I missed this for no good reason in the initial impl :/
Attachment #259809 - Attachment is obsolete: true
Attachment #259811 - Flags: review?(mano)
Comment on attachment 259811 [details] [diff] [review]
add atom:logo hooks v2

>Index: src/FeedProcessor.js
>===================================================================

>+    // Resolve relative image links
>+    if (this.image && bagHasKey(this.image, "url")) {
>+      this._resolveImageLink();
>+    }
>+

nit: remove the braces.

r=mano.
Attachment #259811 - Flags: review?(mano) → review+
Checking in src/FeedProcessor.js;
/cvsroot/mozilla/toolkit/components/feeds/src/FeedProcessor.js,v  <--  FeedProcessor.js
new revision: 1.24; previous revision: 1.23
done
Checking in test/xml/rfc4287/feed_logo.xml;
/cvsroot/mozilla/toolkit/components/feeds/test/xml/rfc4287/feed_logo.xml,v  <--  feed_logo.xml
new revision: 1.2; previous revision: 1.1
done
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Attachment #259811 - Flags: approval1.8.1.4?
I will check whether the logo is displayed or not after the fix is added to latest trunk :)
Verified in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a4pre) Gecko/20070328 Minefield/3.0a4pre. Test with XML Base also.
Status: RESOLVED → VERIFIED
Verified in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a4pre) Gecko/20070328 Minefield/3.0a4pre. Tested with XML Base also.
Whiteboard: wait for trunk baking
Comment on attachment 259811 [details] [diff] [review]
add atom:logo hooks v2

approved for 1.8.1.4, a=dveditz for release-drivers
Attachment #259811 - Flags: approval1.8.1.4? → approval1.8.1.4+
Checking in src/FeedProcessor.js;
/cvsroot/mozilla/toolkit/components/feeds/src/FeedProcessor.js,v  <--  FeedProcessor.js
new revision: 1.1.2.17; previous revision: 1.1.2.16
done
Checking in test/xml/rfc4287/feed_logo.xml;
/cvsroot/mozilla/toolkit/components/feeds/test/xml/rfc4287/feed_logo.xml,v  <--  feed_logo.xml
new revision: 1.1.2.3; previous revision: 1.1.2.2
done
Keywords: fixed1.8.1.4
Whiteboard: wait for trunk baking
Verified in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4pre) Gecko/20070428 BonEcho/2.0.0.4pre
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: