diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-10-19 18:28:16 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-10-19 18:28:16 +0000 |
commit | 24669bfb50d643330cd50cbeea21d19d51107a36 (patch) | |
tree | 93eca4ca9d1a4b409b6ee4aac75362080136a5a4 /profiles/default/default.install | |
parent | 0b750209b6ead13c836852eb96bc6cc8f14de51f (diff) | |
download | brdo-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 'profiles/default/default.install')
-rw-r--r-- | profiles/default/default.install | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/profiles/default/default.install b/profiles/default/default.install index 60338f582..8174a43bf 100644 --- a/profiles/default/default.install +++ b/profiles/default/default.install @@ -166,6 +166,28 @@ function default_install() { node_type_save($type); } + // Insert default user-defined RDF mapping into the database. + $rdf_mappings = array( + array( + 'type' => 'node', + 'bundle' => 'page', + 'mapping' => array( + 'rdftype' => array('foaf:Document'), + ), + ), + array( + 'type' => 'node', + 'bundle' => 'article', + 'mapping' => array( + 'rdftype' => array('sioc:Item', 'foaf:Document'), + ), + ), + ); + + foreach ($rdf_mappings as $rdf_mapping) { + rdf_save_mapping($rdf_mapping); + } + // Default page to not be promoted and have comments disabled. variable_set('node_options_page', array('status')); variable_set('comment_page', COMMENT_NODE_HIDDEN); |