Closed (won't fix)
Project:
Drupal core
Version:
6.17
Component:
theme system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Jul 2010 at 11:21 UTC
Updated:
2 Jul 2010 at 19:22 UTC
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
Comment #1
scor commentedThere 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.