Changes some of the extra attributes of the PDF MIME type.

As discussed on the mailing list [1], I changed the name of some of the
more universally useful extra attibutes from "PDF:*" to "META:*", according
to their "Relation to Dublin Code" [2].
There are now:

	"attr:name" = "META:subject",
	"attr:name" = "META:title"		[already in use by Bookmarks],
	"attr:name" = "META:creator",
	"attr:name" = "META:author",
	"attr:name" = "META:keyw"		[already in use by Bookmarks],
	"attr:name" = "META:pages",

[1] http://www.freelists.org/post/haiku-development/Adding-more-METAattributes
[2] http://www.freedesktop.org/wiki/CommonExtendedAttributes/#relationtodublincore
This commit is contained in:
Humdinger
2016-01-31 10:58:03 +01:00
parent f67a641192
commit 104f3b598c
+11 -9
View File
@@ -9,12 +9,14 @@ resource(3, "META:PREF_APP") #'MSIG' "application/x-vnd.mp-xpdf";
resource(4, "META:S:DESC") #'MSDC' "PDF document"; resource(4, "META:S:DESC") #'MSDC' "PDF document";
resource(5, "META:EXTENS") message(234) { resource(5, "META:L:DESC") #'MLDC' "Portable Document Format (PDF)";
resource(6, "META:EXTENS") message(234) {
"extensions" = "pdf", "extensions" = "pdf",
"type" = "application/pdf" "type" = "application/pdf"
}; };
resource(6, "META:ICON") #'VICN' array { resource(7, "META:ICON") #'VICN' array {
$"6E636966080200160338D2F73CD163BF82B23B84A94B88504870C900E7BDFFFF" $"6E636966080200160338D2F73CD163BF82B23B84A94B88504870C900E7BDFFFF"
$"EB0501020106023E49240000000000003CAAAA4940004A3000FFF4F4F47CFFC0" $"EB0501020106023E49240000000000003CAAAA4940004A3000FFF4F4F47CFFC0"
$"C0040192020016023A55A6BAC2293F0DA33E958646C2EB47A1D60001FF9E05FF" $"C0040192020016023A55A6BAC2293F0DA33E958646C2EB47A1D60001FF9E05FF"
@@ -35,16 +37,16 @@ resource(6, "META:ICON") #'VICN' array {
$"04" $"04"
}; };
resource(7, "META:ATTR_INFO") message(233) { resource(8, "META:ATTR_INFO") message(233) {
"attr:name" = "PDF:subject", "attr:name" = "META:subject",
"attr:name" = "PDF:title", "attr:name" = "META:title",
"attr:name" = "PDF:creator", "attr:name" = "META:creator",
"attr:name" = "PDF:author", "attr:name" = "META:author",
"attr:name" = "PDF:keywords", "attr:name" = "META:keyw",
"attr:name" = "PDF:producer", "attr:name" = "PDF:producer",
"attr:name" = "PDF:created", "attr:name" = "PDF:created",
"attr:name" = "PDF:modified", "attr:name" = "PDF:modified",
"attr:name" = "PDF:pages", "attr:name" = "META:pages",
"attr:name" = "PDF:version", "attr:name" = "PDF:version",
"attr:name" = "PDF:linearized", "attr:name" = "PDF:linearized",
"attr:public_name" = "Subject", "attr:public_name" = "Subject",