You are here

function easy_social_rdf_namespaces in Easy Social 7.2

Implements hook_rdf_namespaces().

This is specific to Facebook Widget Adds an XML namespace to the <html> tag of your document. This is necessary for XFBML to work in earlier versions of Internet Explorer.

Ideally this should only be done when using the Facebook widget and (optimally) when using IE. However, this is harmless and it would be kind of inefficient to check for these before adding the variable every time.

File

./easy_social.module, line 942
Easy social module.

Code

function easy_social_rdf_namespaces() {
  return array(
    'fb' => 'http://ogp.me/ns/fb#',
  );
}