text/vcard MIME type for vCard 3.0 is pending IANA acceptance and it is already in use by CardDAV. text/vcard should be used instead of text/x-vcard or text/directory. http://tools.ietf.org/search/draft-ietf-vcarddav-vcardrev-10#section-10 http://tools.ietf.org/search/draft-ietf-vcarddav-carddav-10#section-6.2.2
Do you have a patch for those changes?
Sorry I don't have the actual patch. I'm working it around from magic and globs files. The change will involve something along the line of the following, although it might be missing something. This is untested. *** freedesktop.org.xml 2009-02-21 06:08:16.000000000 -0800 --- freedesktop.org.xml.new 2010-09-30 09:57:17.000000000 -0700 *************** *** 16328,16340 **** <glob pattern="*.css"/> <glob pattern="*.CSSL"/> </mime-type> ! <mime-type type="text/directory"> <comment>electronic business card</comment> <comment xml:lang="da">elektronisk visitkort</comment> <comment xml:lang="eo">elektronika vizitkarto</comment> <comment xml:lang="pt">cartão de visita electrónico</comment> <comment xml:lang="sq">kartë elektronike biznesi</comment> <comment xml:lang="zh_CN">电子商务卡</comment> <alias type="text/x-vcard"/> <sub-class-of type="text/plain"/> <magic priority="50"> --- 16328,16341 ---- <glob pattern="*.css"/> <glob pattern="*.CSSL"/> </mime-type> ! <mime-type type="text/vcard"> <comment>electronic business card</comment> <comment xml:lang="da">elektronisk visitkort</comment> <comment xml:lang="eo">elektronika vizitkarto</comment> <comment xml:lang="pt">cartão de visita electrónico</comment> <comment xml:lang="sq">kartë elektronike biznesi</comment> <comment xml:lang="zh_CN">电子商务卡</comment> + <alias type="text/directory"/> <alias type="text/x-vcard"/> <sub-class-of type="text/plain"/> <magic priority="50">
Bug 21680 deals with vcards as well. *** This bug has been marked as a duplicate of bug 21680 ***
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.