diff --git a/src/apps/webpositive/WebPositive.rdef b/src/apps/webpositive/WebPositive.rdef index f23d226523..a2617449b1 100644 --- a/src/apps/webpositive/WebPositive.rdef +++ b/src/apps/webpositive/WebPositive.rdef @@ -19,6 +19,7 @@ resource file_types message { "types" = "image/jpeg", "types" = "image/png", "types" = "image/svg+xml", + "types" = "application/xhtml+xml", "types" = "application/x-vnd.Be.URL.file", "types" = "application/x-vnd.Be.URL.ftp", "types" = "application/x-vnd.Be.URL.http", diff --git a/src/data/mime_db/application/xhtml+xml b/src/data/mime_db/application/xhtml+xml new file mode 100644 index 0000000000..7f91024d1b --- /dev/null +++ b/src/data/mime_db/application/xhtml+xml @@ -0,0 +1,148 @@ + +resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime"; + +resource(1, "META:TYPE") "application/xhtml+xml"; + +resource(2, "META:SNIFF_RULE") #'CSTR' array { + "0.60 [0]( \"