inessential by Brent Simmons

Feeds that download to disk

I’m not sure what to do about this. It’s a little thing that bugs me.

Say you’re reading a weblog in your browser, and you want to subscribe to its feed. So you click on the XML button, or the Syndicate this Site link, or whatever it is.

You’re expecting the standard page of gibberish, so you can get the URL of the feed and subscribe to it.

But no! The feed downloads to disk instead, and the URL in the browser’s address bar remains the URL of the page you’re reading.

So how do you subscribe? You don’t have the URL. Well, depending on the feedreader you’re using, you may be able to drag-and-drop, but that’s probably a pain since your browser is actually in front.

Depending on your feedreader, you might be able to rely on auto-discovery and subscribe using the URL of the page you’re reading. But that may or may not work.

What’s happening is that the server is doing the right thing: it’s telling your browser that the MIME type of the file is that of a syndication file. (application/rdf+xml, for instance.) Your browser doesn’t know how to display it, so it downloads it to disk.

You could, in theory, tell your feedreader to handle that particular MIME type—but that won’t solve the problem, because the feedreader would get a file, but what it wants is the URL of the feed, not the contents of the feed. (You subscribe to a URL, not to the one-time contents of a feed.)

All I’m saying is that I don’t know what would be best here. It’s broken in so many ways. (Expecting a page of gibberish is itself a totally broken idea, but it does allow me to get the URL of the feed.)

One possibility—on Macs only—is that Safari’s incorporation of RSS features will make this work. You’d click on the feed, and it would appear either in Safari or in another feedreader, depending on how you have things configured. That outcome would be totally cool with me, except that it doesn’t solve the problem for users of other browsers and other operating systems.