summaryrefslogtreecommitdiff
path: root/modules/system/system.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-11-22 13:55:27 +0000
committerDries Buytaert <dries@buytaert.net>2008-11-22 13:55:27 +0000
commit151ed277865cf3a72bb16610b7855207e38e082c (patch)
tree4236495ad709c486b07e34a4ff26e7d7c1f3caa2 /modules/system/system.module
parent33cf35a6e8a7cab73147af368f2ee4d16a41dbd0 (diff)
downloadbrdo-151ed277865cf3a72bb16610b7855207e38e082c.tar.gz
brdo-151ed277865cf3a72bb16610b7855207e38e082c.tar.bz2
- Patch #332980 by scor: added an RDF namespace registry. Oh my ... :-)
Diffstat (limited to 'modules/system/system.module')
-rw-r--r--modules/system/system.module20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index cfc10fe68..a85e3fa49 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -209,6 +209,26 @@ function system_perm() {
}
/**
+ * Implementation of hook_rdf_namespace().
+ */
+function system_rdf_namespaces() {
+ return array(
+ 'admin' => 'http://webns.net/mvcb/',
+ 'content' => 'http://purl.org/rss/1.0/modules/content/',
+ 'dc' => 'http://purl.org/dc/elements/1.1/',
+ 'dcterms' => 'http://purl.org/dc/terms/',
+ 'foaf' => 'http://xmlns.com/foaf/0.1/',
+ 'owl' => 'http://www.w3.org/2002/07/owl#',
+ 'rdf' => 'http://www.w3.org/1999/02/22-rdf-syntax-ns#',
+ 'rdfs' => 'http://www.w3.org/2000/01/rdf-schema#',
+ 'rss' => 'http://purl.org/rss/1.0/',
+ 'sioc' => 'http://rdfs.org/sioc/ns#',
+ 'xsi' => 'http://www.w3.org/2001/XMLSchema-instance#',
+ 'xsd' => 'http://www.w3.org/2001/XMLSchema#',
+ );
+}
+
+/**
* Implementation of hook_elements().
*/
function system_elements() {