rdf_help

function rdf_help

rdf_help($path, $arg)

Implements hook_help().

File

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

Code

function rdf_help($path, $arg) {
  switch ($path) {
    case 'admin/help#rdf':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The RDF module enriches your content with metadata to let other applications (e.g., search engines, aggregators, and so on) better understand its relationships and attributes. This semantically enriched, machine-readable output for Drupal sites uses the <a href="drupal_7-modules-rdf-rdf-module-function-rdf_help-@rdfa">RDFa specification<-a> which allows RDF data to be embedded in HTML markup- Other modules can define mappings of their data to RDF terms, and the RDF module makes this RDF data available to the theme- The core Drupal modules define RDF mappings for their data model, and the core Drupal themes output this RDF metadata information along with the human-readable visual information- For more information, see the online handbook entry for <a href=.html?lang=en"@rdf">RDF module</a>.', array('@rdfa' => 'http://www.w3.org/TR/xhtml-rdfa-primer/', '@rdf' => 'http://drupal.org/documentation/modules/rdf')) . '</p>';
      return $output;
  }
}

© 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/function/rdf_help/7.x

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部