On this page
function blog_rdf_mapping
blog_rdf_mapping()
Implements hook_rdf_mapping().
File
- modules/blog/blog.module, line 262
- Enables multi-user blogs.
Code
function blog_rdf_mapping() {
return array(
array(
'type' => 'node',
'bundle' => 'blog',
'mapping' => array(
'rdftype' => array('sioc:Post', 'sioct:BlogPost'),
),
),
);
}
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!blog!blog.module/function/blog_rdf_mapping/7.x