[Lazyweb] Viewing AtomPub services documents in Firefox

November 15th, 2007

AtomPub services documents return a content type of application/atomsvc+xml. How does one tell Firefox to just view this in the browser and NOT save it to disk? This question came up on the Abdera list as well, but no one had a good solution.

4 Responses to “[Lazyweb] Viewing AtomPub services documents in Firefox”

  1. John O'Shea Says:

    Hey Dan,
    Seems you might have to hack the mimeTypes.rdf file in your Firefox install – http://developer.mozilla.org/en/docs/How_Mozilla_determines_MIME_Types
    Also, http://weblogs.mozillazine.org/ben/archives/010116.html hints that they have hooks for plugins to sniff content when a document is loading (if you feel like developing a plugin :-)
    I agree though, it’d be nice if Firefox rendered the service doc in way that allows the user to easily navigate(subscribe to) to the collection URLs (and possibly any category document URLs), something like how they currently present feeds…

    John.

  2. Richie Says:

    Are you looking for something like this:

    http://kb.mozillazine.org/Browser.contentHandlers.types.*.uri

    ?

    using chrome://browser-region/locale/region.properties as uri should display the feed in your browser window.

    I’m very new to AtomPub and don’t know any free to use app-service, that’s why I actually couldn’t try out if it works.

  3. Dave Brondsema Says:

    The server could add a “Content-Disposition: inline” header. See http://www.ietf.org/rfc/rfc2183.txt I don’t know how well browsers obey that, but I believe it is the right thing for the server to do if you want.

  4. Dan Diephouse Says:

    Yeah, I’m not seeing a way to do this short of developing a plugin. *sigh*

Leave a Reply

You must be logged in to post a comment.