rdf.module

Enables semantically enriched output for Drupal sites in the form of RDFa.

File

modules/rdf/rdf.module

Functions

Name Description
rdf_comment_load Implements hook_comment_load().
rdf_entity_info_alter Implements hook_entity_info_alter().
rdf_entity_load Implements hook_entity_load().
rdf_field_attach_view_alter Implements hook_field_attach_view_alter().
rdf_get_namespaces Returns an array of RDF namespaces defined in modules that implement hook_rdf_namespaces().
rdf_help Implements hook_help().
rdf_mapping_delete Deletes the mapping for the given bundle from the database.
rdf_mapping_load Returns the mapping for attributes of a given entity type/bundle pair.
rdf_mapping_save Saves an RDF mapping to the database.
rdf_modules_installed Implements hook_modules_installed().
rdf_modules_uninstalled Implements hook_modules_uninstalled().
rdf_preprocess_comment Implements MODULE_preprocess_HOOK().
rdf_preprocess_field Implements MODULE_preprocess_HOOK().
rdf_preprocess_image Implements MODULE_preprocess_HOOK().
rdf_preprocess_node Implements MODULE_preprocess_HOOK().
rdf_preprocess_taxonomy_term Implements MODULE_preprocess_HOOK().
rdf_preprocess_username Implements MODULE_preprocess_HOOK().
rdf_preprocess_user_profile Implements MODULE_preprocess_HOOK().
rdf_process Template process function for adding extra tags to hold RDFa attributes.
rdf_rdfa_attributes Builds an array of RDFa attributes for a given mapping. This array will typically be passed through drupal_attributes() to create the attributes variables that are available to template files. These include $attributes, $title_attributes,…
rdf_rdf_namespaces Implements hook_rdf_namespaces().
rdf_theme Implements hook_theme().
theme_rdf_metadata Returns HTML for a series of empty spans for exporting RDF metadata in RDFa.
theme_rdf_template_variable_wrapper Returns HTML for a template variable wrapped in an HTML element with the RDF attributes.
_rdf_get_default_mapping Helper function to get the default RDF mapping for a given entity type.
_rdf_mapping_load Helper function to retrieve an RDF mapping from the database.
_rdf_mapping_load_multiple Helper function to retrieve a set of RDF mappings from the database.

Constants

Name Description
RDF_DEFAULT_BUNDLE RDF bundle flag: Default bundle.

© 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!rdf!rdf.module/7.x