You are here

function nodewords_extra_shorturl_prepare in Nodewords: D6 Meta Tags 6

Same name and namespace in other branches
  1. 6.2 nodewords_extra/includes/nodewords_extra.nodewords.tags.inc \nodewords_extra_shorturl_prepare()

Set the meta tag content.

File

nodewords_extra/nodewords_extra.module, line 687
Define extra meta tags for Drupal pages.

Code

function nodewords_extra_shorturl_prepare(&$tags, $content, $options) {
  if (!empty($content['value'])) {
    $tags['shorturl'] = check_url($content['value']);
  }
}