According to http://api.drupal.org/api/drupal/modules--system--page.tpl.php/6/source there is no variable which allows adding attributes to following html-tag at the very top of each webpage:<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
Such feature would allow implementation of modules like: http://drupal.org/node/784904#comment-3157426 (Open Graph protocol).

Comments

scor’s picture

Status: Active » Closed (won't fix)

There is no way you will get this in Drupal 6. Feature requests go against HEAD (Drupal 7) which has already RDFa integrated (and therefore Open Graph protocol), making this issue moot.

Note that Facebook will parse your page alright even if you leave out the xmlns:og and xmlns:fb namespaces at the top of the page (though a proper implementation would include them to be consistent with the specs). What I'm saying here is that you can live without it in Drupal 6 (or hack your theme) and have the proper implementation in Drupal 7.