summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-10-19 18:28:16 +0000
committerDries Buytaert <dries@buytaert.net>2009-10-19 18:28:16 +0000
commit24669bfb50d643330cd50cbeea21d19d51107a36 (patch)
tree93eca4ca9d1a4b409b6ee4aac75362080136a5a4 /modules/system
parent0b750209b6ead13c836852eb96bc6cc8f14de51f (diff)
downloadbrdo-24669bfb50d643330cd50cbeea21d19d51107a36.tar.gz
brdo-24669bfb50d643330cd50cbeea21d19d51107a36.tar.bz2
- Patch #493030 by scor, Stefan Freudenberg, pwolanin, fago, Benjamin Melançon, kriskras, dmitrig01, sun: added RDFa support to Drupal core. Oh my, oh my.
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/html.tpl.php2
-rw-r--r--modules/system/system.module9
2 files changed, 7 insertions, 4 deletions
diff --git a/modules/system/html.tpl.php b/modules/system/html.tpl.php
index c84fcbea9..846a1ec70 100644
--- a/modules/system/html.tpl.php
+++ b/modules/system/html.tpl.php
@@ -35,7 +35,7 @@
*/
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language; ?>" dir="<?php print $language->dir; ?>"
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language; ?>" version="XHTML+RDFa 1.0" dir="<?php print $language->dir; ?>"
<?php print $rdf_namespaces; ?>>
<head profile="<?php print $grddl_profile; ?>">
diff --git a/modules/system/system.module b/modules/system/system.module
index 80d22d26b..5fb04db43 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -265,15 +265,18 @@ 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/',
+ '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#',
- 'xsd' => 'http://www.w3.org/2001/XMLSchema',
+ '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#',
);
}