From ba93c4911c7b506c9f94ceac2fe404b6e96a9574 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 3 Mar 2010 07:34:25 +0000 Subject: - Patch #720610 by andrewmacpherson: move the core RDF namespace definitions in the rdf module. --- modules/rdf/rdf.module | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'modules/rdf') diff --git a/modules/rdf/rdf.module b/modules/rdf/rdf.module index 01a3f8c7a..34f7dac2d 100644 --- a/modules/rdf/rdf.module +++ b/modules/rdf/rdf.module @@ -70,6 +70,28 @@ function rdf_help($path, $arg) { */ define('RDF_DEFAULT_BUNDLE', ''); +/** + * Implements hook_rdf_namespaces(). + */ +function rdf_rdf_namespaces() { + return array( + 'admin' => 'http://webns.net/mvcb/', + 'content' => 'http://purl.org/rss/1.0/modules/content/', + 'dc' => '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/', + 'tags' => 'http://www.holygoat.co.uk/owl/redwood/0.1/tags/', + 'sioc' => 'http://rdfs.org/sioc/ns#', + 'sioct' => 'http://rdfs.org/sioc/types#', + 'ctag' => 'http://commontag.org/ns#', + 'skos' => 'http://www.w3.org/2004/02/skos/core#', + 'xsd' => 'http://www.w3.org/2001/XMLSchema#', + ); +} + /** * Returns the mapping for attributes of a given type/bundle pair. * -- cgit v1.2.3