Hi
Drupal 7 has hook_rdf_namespaces to allow you to add namespaces to html tag without altering html.tpl.php.
Would be a good feature to add. (Couldn't see this in the 7.x hooks file).

Lee

Comments

hkirsman’s picture

If you use the hook to add existing namespace, you get an warning message on admin/config/services/rdf/namespaces:
Warning: The following namespaces have conflicts
og http://ogp.me/ns#, http://opengraphprotocol.org/schema/

This is the code that creates such error.

/**
 * Implements hook_rdf_namespaces().
 */
function MODULENAME_rdf_namespaces($foo) {
  return array(
    'og' => 'http://opengraphprotocol.org/schema/',
  );
}

hkirsman’s picture

Issue summary: View changes

Added addtl info