mime_db: Add entries with sniff rules for DjVu and XPS.
These formats are supported by DocumentViewer.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
|
||||
resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
|
||||
|
||||
resource(1, "META:TYPE") "application/vnd.ms-xpsdocument";
|
||||
|
||||
resource(2, "META:SNIFF_RULE") "0.50 (\"PK\\003\\004\") [0:512]('_rels/.rels') [0:512]('Documents/1/')";
|
||||
|
||||
resource(3, "META:S:DESC") #'MSDC' "XPS document";
|
||||
|
||||
resource(4, "META:L:DESC") #'MLDC' "Microsoft® XPS document";
|
||||
|
||||
resource(5, "META:EXTENS") message(234) {
|
||||
"extensions" = "xps",
|
||||
"extensions" = "oxps",
|
||||
"type" = "application/vnd.ms-xpsdocument"
|
||||
};
|
||||
@@ -0,0 +1,13 @@
|
||||
|
||||
resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
|
||||
|
||||
resource(1, "META:TYPE") "image/vnd.djvu";
|
||||
|
||||
resource(2, "META:SNIFF_RULE") "0.50 ([12]'DJVU' | [12]'DJVM')";
|
||||
|
||||
resource(3, "META:S:DESC") #'MSDC' "DjVu media format";
|
||||
|
||||
resource(4, "META:EXTENS") message(234) {
|
||||
"extensions" = "djvu",
|
||||
"type" = "image/vnd.djvu"
|
||||
};
|
||||
Reference in New Issue
Block a user