[Haskell-cafe] Re: viewing HS files in Firefox
My problem is when viewing plain darcs repositories (like mine on darcs.johantibell.com which I recently fixed with the above mime type hack.) Please complain to your browser('s authors): most browsers only provide *one* way to view a given mime-type, which is stupid. It's not specific to .hs files. They could at least provide a way to override the provided mime-type, so you can say display this application/octet-stream file as a text/plain. Similarly they should allow you to choose (via a context-menu, for example) to open a pdf file in the pdf plugin or in a separate application. Stefan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Re: viewing HS files in Firefox
Stefan Monnier [EMAIL PROTECTED] wrote: My problem is when viewing plain darcs repositories (like mine on darcs.johantibell.com which I recently fixed with the above mime type hack.) Please complain to your browser('s authors): most browsers only provide *one* way to view a given mime-type, which is stupid. It's not specific to .hs files. They could at least provide a way to override the provided mime-type, so you can say display this application/octet-stream file as a text/plain. Similarly they should allow you to choose (via a context-menu, for example) to open a pdf file in the pdf plugin or in a separate application. Konqueror offers: - mime default actions - opening path/index.html if pointed to path/ or path when operating locally - for any hyperlink: - save link as - copy link address - open with-- - preview with -- ...as it does offer copy, move, open with and preview with for any file in directory mode. Kpdf and likewise also nicely integrate their own buttons into the toolbar, replacing the khtmlpart zoom ones and so on. Vastly underestimated this thing is. -- (c) this sig last receiving data processing entity. Inspect headers for past copyright information. All rights reserved. Unauthorised copying, hiring, renting, public performance and/or broadcasting of this signature prohibited. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Re: viewing HS files in Firefox
On Thu, Jan 10, 2008 at 10:07:25AM -0500, Stefan Monnier wrote: My problem is when viewing plain darcs repositories (like mine on darcs.johantibell.com which I recently fixed with the above mime type hack.) Please complain to your browser('s authors): most browsers only provide *one* way to view a given mime-type, which is stupid. It's not specific to .hs files. This extension allows this in firefox. it gives you an 'open in browser as' option that lets you view links in a variety of ways rather than being forced to download it. http://www.spasche.net/mozilla/ John -- John Meacham - ⑆repetae.net⑆john⑈ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Re: viewing HS files in Firefox
Thomas Schilling wrote: Isaac Dupree wrote: When I try to go to one of the Module.hs files, e.g. on darcs.haskell.org, it now has type HS and Firefox refuses to display it (and only lets me download it). Does anyone know how to make Firefox treat certain file types as others (HS as plain text, in particular)? so that I can browse them with any convenience I believe those kinds of problem have to do with the MIME-encoding on the server side: The server uses text/x-haskell. For Firefox to display the document inline it probably has to be text/plain. Not sure what the proper fix is, though. I think so, too. Isn't there a way to reassign MIME types to browser/plugins via some hidden preferences in Firefox/Camino? On MacOS 9, the old Netscape 4.5 allowed me to do that. I believe that Internet Explorer could do that as well via a standard system-wide preference. Regards, apfelmus ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe