RDF Mapping API
Same name in other branches
Functions to describe entities and bundles in RDF.
The RDF module introduces RDF and RDFa to Drupal. RDF is a W3C standard to describe structured data. RDF can be serialized as RDFa in XHTML attributes to augment visual data with machine-readable hints.
See also
http://www.w3.org/TR/xhtml-rdfa-primer/
Modules can provide mappings of their bundles' data and metadata to RDF classes and properties. This module takes care of injecting these mappings into variables available to theme functions and templates. All Drupal core themes are coded to be RDFa compatible.
File
-
core/
modules/ rdf/ rdf.module, line 26
Functions
Title Sort descending | File name | Summary |
---|---|---|
hook_rdf_namespaces | core/ |
Allow modules to define namespaces for RDF mappings. |
rdf_get_mapping | core/ |
Returns the RDF mapping object associated with a bundle. |
rdf_get_namespaces | core/ |
Retrieves RDF namespaces. |
rdf_rdfa_attributes | core/ |
Builds an array of RDFa attributes for a given mapping. |
rdf_rdf_namespaces | core/ |
Implements hook_rdf_namespaces(). |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.