RDF Mapping API

RDF Mapping API

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.

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.

See also

http://www.w3.org/RDF/

http://www.w3.org/TR/xhtml-rdfa-primer/

File

core/modules/rdf/rdf.module, line 25
Enables semantically enriched output for Drupal sites in the form of RDFa.

Functions

Name Location Description
hook_rdf_namespaces core/modules/rdf/rdf.api.php Allow modules to define namespaces for RDF mappings.
rdf_get_mapping core/modules/rdf/rdf.module Returns the RDF mapping object associated with a bundle.
rdf_get_namespaces core/modules/rdf/rdf.module Retrieves RDF namespaces.
rdf_rdfa_attributes core/modules/rdf/rdf.module Builds an array of RDFa attributes for a given mapping.
rdf_rdf_namespaces core/modules/rdf/rdf.module Implements hook_rdf_namespaces().

© 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/core!modules!rdf!rdf.module/group/rdf/8.1.x

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部