2013-01-08 33 views
1

共享我看到谷歌看到正確的結構化數據,但這個數據沒有預先填充共享對話框。從谷歌開發工具 數據: RDFa的節點 屬性:結構化數據沒有考慮到通過谷歌+

image: https://s3.amazonaws.com/<bucket>/images/image_200_200.JPG 
title: Sandal 
url: https://site.amazonaws.com/p/view/27 
description: description 
type: article 

我的meta標籤:調用對話框

<meta property="og:image" content="https://s3.amazonaws.com/<bucket>/images/image_200_200.JPG"> 
<meta property="og:title" content="Sandal"> 
<meta property="og:url" content="https://site.amazonaws.com/p/view/27"> 
<meta property="og:description" content="description"> 
<meta property="og:type" content="article"> 

代碼:

<a class="gplus in-popup" sm_type="gplus" href="https://plus.google.com/share?url=https://site.amazonaws.com/p/view/27"></a> 

圖片是200 * 200 PX。我嘗試了900 * 900和120 * 120 - 相同。 一切看起來不錯,但我仍然只能在共享對話框中看到url。 它可能是因爲圖像來自另一個主機? 也許還有其他一些東西?

回答

2

您是否嘗試過使用片段微數據?使用the snippet tool on the Google+ developers page生成它。

下面的例子演示瞭如何您的微觀數據將被輸入:

<!-- Update your html tag to include the itemscope and itemtype attributes. --> 
<html itemscope itemtype="http://schema.org/Article"> 

<!-- Add the following three tags inside head. --> 
<meta itemprop="name" content="Sandal"> 
<meta itemprop="description" content="description"> 
<meta itemprop="image" content="https://s3.amazonaws.com/&amp;lt;bucket&amp;gt;/images/image_200_200.JPG">