General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Pages: Previous123
Current Page: 3 of 3
Re: Problem opening .pdf files / MimeTypes extension
Posted by: guenter
Date: November 17, 2014 11:51PM

All past and recent mime type editors used the same code base. Ben Goodger's.
I adapted 2-3 code versions for km so far.

http://www.iana.org/assignments/media-types/media-types.xhtml A good list of Media Types (formerly known as MIME types) and Media Subtypes. They are assigned and listed by the IANA.

Did not know. :O



Edited 3 time(s). Last edit at 11/18/2014 07:21PM by guenter.

Options: ReplyQuote
Re: Problem opening .pdf files / MimeTypes extension
Posted by: rodocop
Date: February 19, 2015 04:33PM

I've tested last siria's macro here in thread and found that it freezes KM leading to crash if using along with native mtypes.kmm.

So I've added short function to the MimeEditRVJ.kmm to switch mtypes off:
MimeEditRVJ_mtypesoff{
setpref(BOOL,"kmeleon.plugins.macros.modules.mtypes.load",false);
}

Now all works fine. But we need take in account that KM native mimetypes editor and RVJ one work with different sources:
- native editor reads (as I can get into it) data from Profile-Folder\pluginreg.dat;
- RVJ works with mimetypes.rdf file.

I don't know is this right/wrong/crucial etc.

Options: ReplyQuote
Re: Problem opening .pdf files / MimeTypes extension
Posted by: rodocop
Date: February 19, 2015 04:35PM

And how can I add files here in 'General'?
Who can give me such a permission? Dorian?

For now I can add files only in 'Extensions' and 'Development' subforums.



Edited 1 time(s). Last edit at 02/19/2015 04:36PM by rodocop.

Options: ReplyQuote
Re: Problem opening .pdf files / MimeTypes extension
Posted by: siria
Date: February 19, 2015 06:32PM

Hm, it should work fine with the native mtypes macro alongside, others have tested it.
The macro also checks already automatically if mtypes is active, and also if the conflicting rvjmimeedit is active, and adjusts the menu for it.
For this it checks the $macromodules variable, which relies on the line usually at the end of each kmm file.

My guess: perhaps you have more than just this one and mtypes running active? Perhaps renamed? Perhaps the macromodule line at the end renamed? Perhaps an old macro version? It would be better to look for the reasons instead of just disabling something that should work.

Options: ReplyQuote
Re: Problem opening .pdf files / MimeTypes extension
Posted by: guenter
Date: February 19, 2015 07:09PM

Quote
rodocop
And how can I add files here in 'General'?
Who can give me such a permission? Dorian?

For now I can add files only in 'Extensions' and 'Development' subforums.

I do not change user properties/rights. I would not like to break things.

Ask Dorian or alain.

Add attachment to a post in 'Extensions' and 'Development' and link from here. Else send to me & I attach it.



Edited 1 time(s). Last edit at 02/19/2015 07:10PM by guenter.

Options: ReplyQuote
Re: Problem opening .pdf files / MimeTypes extension
Posted by: rodocop
Date: February 19, 2015 07:10PM

It's a kind of magic but now all works fine.

And at first time when rvjmimeedit0.6.3.kmm and then MimeEditRVJ.kmm were installed one after another - the latter was opening mimetype.html in new window on load and then freezing and crashing KM.



Edited 1 time(s). Last edit at 02/19/2015 07:11PM by rodocop.

Options: ReplyQuote
Re: Problem opening .pdf files / MimeTypes extension
Posted by: guenter
Date: February 19, 2015 07:17PM

There were versions that used the same internal command as mytpes.kmm.
Guess that is why some do not work.

AFAIK mimetypes.rdf overrides the types integrated in the prefpanel.
And You can add ones Windows registry does not know about.

But I am not absolutely sure.

Options: ReplyQuote
Pages: Previous123
Current Page: 3 of 3


K-Meleon forum is powered by Phorum.