* Add mimetype for vCard files

* Add mimetype for iCalendar files

These include sniffer rules.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36818 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ithamar R. Adema 2010-05-15 12:26:55 +00:00
parent 888c43863b
commit 9034fd529b
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,16 @@
resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "text/calendar";
resource(2, "META:S:DESC") #'MSDC' "iCalendar";
resource(2, "META:SNIFF_RULE") #'CSTR' array {
"0.50 ([0]\"BEGIN:VCALENDAR\")"
};
resource(3, "META:EXTENS") message(234) {
"extensions" = "ics",
"extensions" = "ifb",
"type" = "text/calendar"
};

View File

@ -0,0 +1,16 @@
resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
resource(1, "META:TYPE") "text/x-vcard";
resource(2, "META:S:DESC") #'MSDC' "vCard";
resource(2, "META:SNIFF_RULE") #'CSTR' array {
"0.50 ([0]\"BEGIN:VCARD\")"
};
resource(3, "META:EXTENS") message(234) {
"extensions" = "vcf",
"extensions" = "vcard",
"type" = "text/x-vcard"
};