Subscribe: Comments on: What feeds should Firefox discover?
http://weblog.philringnalda.com/2005/04/15/what-feeds-should-firefox-discover/feed/
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
application xml  application  feed  feeds  firefox  load  page  pgp signature  pgp  phil ringnalda  phil  ringnalda  signature  xml 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Comments on: What feeds should Firefox discover?

Comments on What feeds should Firefox discover?



a digital magpie



Updated: 2016-10-24T13:44:47Z

 



By: Roger Benningfield

-0001-11-30T00:00:00Z

When I do autodiscovery, I look for application/rdf+xml, and then do a basic XPath query to see if whatever I’m discovering looks like a feed. Is there any reason that Firefox couldn’t do the same thing?




By: Phil Ringnalda

-0001-11-30T00:00:00Z

You’re doing it when you’re directed to: we’re doing it when the DOMLinkAdded event fires as the parser sees the link element while loading an HTML page. Do you want to load Ian’s RSS feed every time you load his weblog? Probably blocking the page load (I don’t really know, but I don’t think we have the architecture to load it in the background while the page continues loading)? Would someone with a non-RSS RDF alternate be pleased to have every Firefox user load their RDF on every load? They’d probably be better off with a few foolish moths beating their heads against the light because they subscribed to a Live Bookmark that isn’t ever going to work because it isn’t RSS, rather than have every Firefox user constantly sniffing at their RDF.




By: Mark

-0001-11-30T00:00:00Z

Mu.




By: Phil Ringnalda

-0001-11-30T00:00:00Z

Sadly true, with a dash of Schrödinger’s cat.

So tell me, what does it mean when I click on Sean’s footnoted links, and am told ”The offer you have clicked has expired. Revisit our site to get the latest specials and updates. Thanks.”?

Nevermind, I know. Mu.

Meh.




By: børge

-0001-11-30T00:00:00Z

Firefox dicovers feeds on my site that I have marked with rel="newsfeed" instead of rel="alternate". Is this wrong, should I change it to alternate?




By: Phil Ringnalda

-0001-11-30T00:00:00Z

Yes.

Or, at least, probably. There’s no particular reason to believe that any other program will discover them, since (as far as I know) rel="newsfeed" has never had even a blog post spec written for it. It might be a good idea, particularly for the application/rdf+xml problem, but then any discussion of another value for rel will quickly wander down the rabbit hole of profile, so it would need to be someone with a fair amount of authority simply saying ”this is how it is, no negotiation, shut up and soldier.” Offhand, I can’t think of anyone who is both in that position, and has any interest in RSS 1.0 and its discovery.




By: Aristotle Pagaltzis

-0001-11-30T00:00:00Z

How about checking when the user requests to subscribe to the feed, so an error pops up instead of the live boomark dialog? “I’m sorry, Dave.”




By: Phil Ringnalda

-0001-11-30T00:00:00Z

I suspect that would wind up being awfully annoying.

”Firefox has discovered feeds for this page!”
”Oops, never mind, not a feed after all.”
”Firefox has discovered feeds for this page!”
”Oops, it’s kinda broken right now, so I’ll refuse to let you save a bookmark until it’s fixed.”

The only thing that’s really annoying to me about using Feed on Feeds (which uses a strict parser more because that’s all that’s available in PHP than for philosophical reasons) is the refusal to subscribe when someone’s temporarily screwed up their feed. If I have to remember to come back and keep trying to add a feed after a day or two when they’ve fixed it, or a week or two after they’ve driven the invalid post out of their feed, I just won’t.

And even if we only sniff for either ”rss” or ”RDF” plus the namespace URL for RSS 1.0 somewhere in the first 1KB or so of the potential feed, there are still hundreds of possible ways to temporarily screw things up so we would refuse to allow Live Bookmarking of an actual feed, while still subscribing to things which aren’t feeds. That’s why I think it’s better to only offer to create a Live Bookmark when it’s correctly advertised, and then create it no matter what: if they said it was a feed, then they are responsible for having a feed there and usable, and we’ll just keep reloading it (and reloading it (and reloading it)) until it is. If we do loose and sloppy parsing of links, then to not be jerks who keep reloading a static RDF-not-RSS file over and over, we have to be ultra-strict about what we actually add.




By: Tom

-0001-11-30T00:00:00Z

A little bit off topic but anyway:
When I try to open pages with mime application/rss+xml, firefox tries to download the files instead of showing them. Is there a setting to show these files as xml (like application/xml)? (programmatic or in the option dialog)




By: Phil Ringnalda

-0001-11-30T00:00:00Z

Nothing easy that I know of, anyway. You could write a helper application (one per platform) which would then be passed the filename for a local copy, which you could then re-launch as whatever type your OS uses for .xml (though I wouldn’t be surprised if you ran into encoding problems doing that) by just calling firefox tempfilename.xml, or more reasonably write a content handler (the only place I can think of offhand to steal code is MAF, though there must be other extensions that include a content handler) that will then (/me waves hands wildly while slowly edging out of sight).