From e40e2cff4000f665f4b7c99f376b94f6c4e4b3bb Mon Sep 17 00:00:00 2001 From: Adam Hooper Date: Tue, 14 Sep 2004 01:24:42 +0000 Subject: Added (proposed) XML schema for Extension metadata files (work in progress). --- ChangeLog | 8 ++ data/Makefile.am | 4 + data/epiphany-extension.xsd | 181 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 193 insertions(+) create mode 100644 data/epiphany-extension.xsd diff --git a/ChangeLog b/ChangeLog index 652b04390..1ee43b016 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-09-13 Adam Hooper + + * data/Makefile.am: + * data/epiphany-extension.xsd: + + Added (proposed) XML schema for Extension metadata files (work in + progress). + 2004-09-13 Adam Hooper * data/epiphany.schemas.in: diff --git a/data/Makefile.am b/data/Makefile.am index 8b6ef68fd..f4df83595 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -23,6 +23,9 @@ schemadir = $(GCONF_SCHEMA_FILE_DIR) schema_in_files = epiphany.schemas.in epiphany-lockdown.schemas.in schema_DATA = epiphany.schemas epiphany-lockdown.schemas +extensionschemadir = $(pkgdatadir) +extensionschema_DATA = epiphany-extension.xsd + aboutdir = $(pkgdatadir) about_DATA = epiphany.xhtml conspiracy.xhtml @@ -48,6 +51,7 @@ EXTRA_DIST = \ $(about_DATA) \ $(applications_DATA) \ $(mimepermission_DATA) \ + $(extensionschema_DATA) \ $(pkgconfig_DATA) \ check-mime.py diff --git a/data/epiphany-extension.xsd b/data/epiphany-extension.xsd new file mode 100644 index 000000000..aca452b2b --- /dev/null +++ b/data/epiphany-extension.xsd @@ -0,0 +1,181 @@ + + + + + Epiphany Web Browser extension metadata schema. + Copyright (c) 2004 Adam Hooper + + + + + + + + + List of extensions. Each extension has its set + of metadata. + + + + + + + + + + + Metadata about an extension. + + + + + + + + + + + + + + + + + The "core" of the extension's + filename. For example, use "gestures" + for an extension with a shared object name of + "libgesturesextension.so". + + + + + + + + + + + The version of the extension's API. For most + extensions, this number will remain at + "1" indefinitely. The only reason to + increase it would be if any GObject classess + within the extension change parents. + + + + + + + + + + + An extension author -- a name and (optionally) + an email address. + + + + + + + + + + + + An email address + + + + + + + -- cgit v1.2.3