function microdata_help in Microdata 7
Implements hook_help().
File
- ./
microdata.module, line 13
Code
function microdata_help($path, $arg) {
switch ($path) {
case 'admin/help#microdata':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t("The Microdata module makes it easy to share content between sites and with services like Google's Recipe View.", array(
'@recipe' => 'http://www.google.com/landing/recipes/',
)) . '</p>';
$output .= '<h3>' . t('Microdata concepts') . '</h3>';
$output .= '<p>' . t('Microdata is a small set of attributes for HTML that can be used to add more information about the content. These attributes\' values often use a predefined set of terms. These groups of terms are called vocabularies and can be defined on the Web. For example, <a href="http://schema.org">schema.org</a> defines a vocabulary that will be used by search engines to present better search results.') . '</p>';
$output .= '<h4>itemtype</h4>';
$output .= '<h4>itemprop</h4>';
$output .= '<p>' . t("Short names (such as 'location') can be used for properties defined by the content type's itemtype. Full URLs (such as 'http://schema.org/location') should be used for properties that are defined by other vocabularies.") . '</p>';
return $output;
}
}