I entered a couple of default values (for example: emailadres in contact), however when I edit/create a page the default value is not filled out ...

I also have "Mapping content type to meta type" enabled, but this is not working either, on either content type the og:type is empty ...

Comments

el_reverend’s picture

I believe you will not see this when creating the node. Did you check the source? What is produced when the page is constructed?

Dragolin’s picture

Category: bug » feature

hmm you are right, the values are entered in the node, but they appear empty when creating/editing

feature request: is it possible to have them show up while editing? that should avoid some confusion ...

hiddentao’s picture

Yep, they're intentionally left empty to avoid having to save OG data for a node unless it overrides the default values. With the main tags the description tell you why they're empty. I think I just need to add descriptions to the contact and location tags clarifying this matter.

hiddentao’s picture

Status: Active » Needs review

Fixed in 6.x-1.x-dev.

hiddentao’s picture

Status: Needs review » Active
silkogelman’s picture

This works perfectly 'as designed' in the 7.x-1.1 version, really cool!

The only thing I can't get to work is og:description.
It seems to get the node:title by default, but I want to have it use the meta description that is generated by
http://drupal.org/project/metatags_quick

RDF Mapping that meta field to og:description doesn't seem to have an effect. (override by Open Graph Meta tags module?)

hiddentao’s picture

Added a new hook in latest dev release: og_tag_render_alter

Documentation in opengraph_meta_test_module.module

/**
   * Implements hook_og_tag_render_alter().
   *
   * @param $node the node whose tag is being rendered.
   * @param $name the name of the OG tag being rendered, e.g. title, image.
   * @param $value the value of the OG tag being rendered.
   *
   * @return the altered value to render for the given tag.
   */

Perhaps this will suffice?

hiddentao’s picture

Status: Active » Fixed

Changes will available in the next release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.