Note that there are some explanatory texts on larger screens.

plurals
  1. POPlus One Button not traversing the dom to grab snippet data
    primarykey
    data
    text
    <p>It has been stated that the google plus-one button works it's way up the dom hierarchy when it is looking for microdata to set the +snippets information for sharing (Jenny Murphy said this at <a href="https://stackoverflow.com/questions/7190163/google-1-button-snippet-problem/7261460#7261460">Google+ +1 Button Snippet+ Problem</a> ). Also, the documentation on the +Snippets site from google at <a href="https://developers.google.com/+/plugins/+1button/#plus-snippet" rel="nofollow noreferrer">https://developers.google.com/+/plugins/+1button/#plus-snippet</a> states "If the page is annotated with schema.org microdata, the +Snippet will use the name, image, and description properties found on any schema.org type". However, it doesn't appear that this is truly the case in some conditions. </p> <p>We have a test page at <a href="http://www.magnetstreet.com/stores/html/weddings/testPage.html" rel="nofollow noreferrer">http://www.magnetstreet.com/stores/html/weddings/testPage.html</a> where it is demonstrating a very simple product page which has been marked up with schema.org microdata. This page passes w3c validation and its microdata is parsed properly in Googles rich snippets testing tool. However, when the +1 button is clicked and you proceed to share it, the api is clearly ignoring the itemprops set inside the product tag. This can be seen by how "page title" is displayed instead of "product title" which is the itemprop name.</p> <p>Does anyone see any obvious issues with this code? </p> <p>I would like to note, if we only have microdata properties set on the Product div and within (no itemscope or itemtypes on any outer elements), then the button works as expected. However, We have data on much more complex pages that need the other microdata, so removing all other microdata besides the product is not a solution.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload