Hi all,

  I pushed a rewrite of the mime-type-external-handlers API, so if you
have configured viewers for certain mime types in your rc, you will want
to take note.  The variable mime_type_external_handlers no longer exists,
and it has been replaced by one called external_content_handlers.  Here is
how to use it, in short:

   external_content_handlers.set("application/pdf", "xpdf");
   external_content_handlers.set("image/*", "display");

  The way to "unset" a handler for a mime-type is to give null as the
value.

  You can also set all handlers at once (overriding all defaults):

   external_content_handlers = {
     "*": "kate", //no idea why anybody would use kate, but anyway..
     text: { "*": "kate" },
     image: { "*": "feh" },
     video: { "*": "gmplayer" },
     audio: { "*": "gmplayer" },
     application: {
       pdf: "xpdf",
       postscript: "gv",
       "x-dvi": "xdvi"
     }
   };


  The main feature of this new patch was actually something called
content_handlers.  With the addition of that feature, it made good sense
to overhaul the mime-type-external-handlers stuff along with it.  I would
encourage everyone to have a look at what the new feature does at:

   http://conkeror.org/ContentHandlers

  You just might find it convenient.

-- 
John Foerch
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to