Could You, please, add entry for T602 documents? (T602 was popular text editor in early nineties in the Czech republic, but is still used by some people).
Created attachment 583 [details] [review] Definition for application/x-t602 mime-type.
Thanks for your bug report and your patience! According to http://tinyurl.com/96nkn the number after "@CT " is arbitrary. I have no clue whether we can use a regexp-like syntax for that. Bastien, Christophe?
Petr: btw. the T602 files are text files, right, i.e. you can open them in an arbitrary text editor and it won't turn out to be garbage?
Comment on attachment 583 [details] [review] Definition for application/x-t602 mime-type. ><?xml version="1.0" encoding="UTF-8"?> ><mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> Don't make a separate file out of those types, they should be integrated in freedesktop.org.xml.in > <mime-type type="application/x-t602"> > <comment>T602 document</comment> > <comment xml:lang="cs" xmlns:xml="http://www.w3.org/XML/1998/namespace">Dokument T602</comment> > <comment xml:lang="sk" xmlns:xml="http://www.w3.org/XML/1998/namespace">Dokument T602</comment> > <comment xml:lang="de" xmlns:xml="http://www.w3.org/XML/1998/namespace">T602 Dokument</comment> > <comment xml:lang="en_GB" xmlns:xml="http://www.w3.org/XML/1998/namespace">T602 document</comment> don't put the lang in here, the default is en, but mark those as translatable (_comment instead of comment) > <magic priority="70"> > <match offset="0" type="string" value="@CT 0"/> > <match offset="0" type="string" value="@CT 1"/> > <match offset="0" type="string" value="@CT 2"/> Are you sure about this magic? Do you have some example files that use this magic? > </magic> > <glob pattern="*.602"/> ><!-- <glob pattern="*.txt" /> --> Obviously, this should go. > </mime-type> ></mime-info>
>> <magic priority="70"> >> <match offset="0" type="string" value="@CT 0"/> >> <match offset="0" type="string" value="@CT 1"/> >> <match offset="0" type="string" value="@CT 2"/> > > Are you sure about this magic? Do you have some example files that use this magic? Yes. The t602 program used the "@CT x" statement to declare in which encoding the file was (there were three possibilities: the ibm852 or so, the Kamenicky and the socialist koi8). This happend to be the first statement in the file, so it can be used for identifying... >><!-- <glob pattern="*.txt" /> --> > >Obviously, this should go. .txt was regulary used by many users as an ending for t602 documents - don't blame me!(I don't really understand how to define it, but a file with *.txt with a "@CT x" magic SHOULD be identitied as a valid t602 file. Without it e.g. nautilus would complain, etc.). >Petr: btw. the T602 files are text files, right, i.e. you can open them in an arbitrary text editor and it won't turn out to be garbage? Not really. It's almost text with some little garbage (special/unused ascii chars were used for simple markup like bold, or italics). > Don't make a separate file out of those types, they should be integrated in > freedesktop.org.xml.in Well, that's Your bussines, I just kindly asked to add support for this document type ;)
2007-02-06 Bastien Nocera <hadess@hadess.net> * freedesktop.org.xml.in: Patch from Petr Tomasek <tomasek@etf.cuni.cz> to add a mime-type for the T602 word processor documents (Closes: #1001)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.