Closed Bug 343872 Opened 19 years ago Closed 7 years ago

Atom feed from Google Reader displays as plain XML

Categories

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

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: jhenry, Unassigned)

References

(Depends on 1 open bug, )

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060707 Minefield/3.0a1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060707 Minefield/3.0a1 When logged into a Google Reader account, the location bar displays the orange feed icon. When you click the icon, however, you get the generic XML prettyprinter instead of the feed preview. I don't know enough about feeds to say if the bug is the XML prettyprinting, or the orange icon appearing, but one of them is wrong. Reproducible: Always Steps to Reproduce: 1. Log into a Google Reader account with some feeds subscribed 2. Click the orange feed icon in the location bar Actual Results: XML pretty printer output. Expected Results: Feed preview page.
Attached file The XML file
I can confirm this. It seems to be related to the fact that Google Reader serves feeds chunked. When I copy the feed to another host, it works fine.
Evidently more than just chunked: http://dev.philringnalda.com/chunked/ is it served as chunked text/xml, and it's sniffed just fine. Some combination of https and caching?
Or possibly nothing to do with https, since http://www.planetgamecube.com/rss.cfm appears to be the same problem.
Ah, probably "Transfer-Encoding: chunked" plus "Content-Encoding: gzip" since both of the ones that fail (once you add "3. Refresh." to the STR in comment 0, since clicking the icon now tells us it's a feed no matter what sniffing says) have both, and my working one isn't gzipped.
Depends on: 366932
You should be able to manually chunk the tested feed and dump that in a file, possibly with a ^headers^ file to ensure the right headers are set, without needing chunked support server-side.
This appears to be fixed now.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Note comment 5, the correct STR after we decided to treat anything from a feed button click as a feed are: 1. Log into a Google Reader account with some feeds subscribed 2. Click the orange feed icon in the location bar 3. After the feed loads with the feed preview shown, click the Reload button
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Ah, thanks philor. I was clicking the (darkened) grey rss icon in the toolbar -- which does appear to work. I don't see an orange feed icon in the location bar. I thought the orange button in the location bar had gone away .
It did, and I regretted not editing that line after I copy-pasted it. 1. Log into a Google Reader account with some feeds subscribed approach one: 2. Click the Subscribe button 3. After the feed preview page loads, click the Reload button approach two: 2. View Source, find the link rel="alternate" type="application/atom+xml" and copy the link in the href attribute 3. Paste that link into the addressbar and press enter In both cases, you're not trying to go through some huge awkward exercise, you're just trying to imitate having run across a link in content to a feed which is served both chunked and gzipped. Clicking the Subscribe button will always (at least try to) load the preview page, even for something which is not at all a feed, so it's impossible to test sniffing by clicking it unless you then click Reload to get a load which isn't marked as coming from the Subscribe button.
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: REOPENED → RESOLVED
Closed: 12 years ago7 years ago
Resolution: --- → INACTIVE
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: