From 24669bfb50d643330cd50cbeea21d19d51107a36 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 19 Oct 2009 18:28:16 +0000 Subject: =?UTF-8?q?-=20Patch=20#493030=20by=20scor,=20Stefan=20Freudenberg?= =?UTF-8?q?,=20pwolanin,=20fago,=20Benjamin=20Melan=C3=A7on,=20kriskras,?= =?UTF-8?q?=20dmitrig01,=20sun:=20added=20RDFa=20support=20to=20Drupal=20c?= =?UTF-8?q?ore.=20Oh=20my,=20oh=20my.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/blog/blog.module | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'modules/blog') diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 600a8d33f..ac5627017 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -184,3 +184,17 @@ function blog_block_view($delta = '') { } } +/** + * Implementation of hook_rdf_mapping(). + */ +function blog_rdf_mapping() { + return array( + array( + 'type' => 'node', + 'bundle' => 'blog', + 'mapping' => array( + 'rdftype' => array('sioct:Weblog'), + ) + ), + ); +} -- cgit v1.2.3