Closed Bug 393331 Opened 18 years ago Closed 18 years ago

Feed auto-discovery does not work with multiple space separated rel attributes

Categories

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

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: aleksandersen+bugs, Unassigned)

References

()

Details

User-Agent: Opera/9.23 (X11; Linux x86_64; U; en) Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 Example of a valid auto-discovery link that does not work in Firefox: <link rel="alternate feed" type="application/atom+xml" href="http://feed.thewebdesignjournal.com/summary.atom"> The problem here is that Firefox does not respect that rel can have multiple space separated values. This problem should be solved by ignoring the rel attribute all together. Feeds can be auto-discovered from their type attributes instead. Alternate solution would be to recognise both 'alterante' (as well as the HTML 5 proposed 'feed') as rel attributes. Firefox would have to handle multiple, space separated rel attributes as well.o Reproducible: Always Steps to Reproduce: 1. Go to any website that sets two or more or no rel attributes to feed <link> elements. Actual Results: No fancy feed graph in the location bar. Expected Results: Firefox should have showed that fancy little graph for feeds in the location bar.
Impossible to tell what might have been going on, since every time I look your URL is returning something else, an error message or a "will be available again next Monday" page, and the one time I saw the content, it wasn't "alternate feed", but at any rate the current trunk doesn't suffer from what you describe, and has an automated test at http://mxr.mozilla.org/seamonkey/source/browser/base/content/test/feed_discovery.html to make sure it continues to not suffer from it. If you find something which does not work, feel free to reopen this bug *if you can attach a testcase that demonstrates the problem here, using the "Add an attachment" link.*
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.