2014-11-11 3 views
0

다른 사람이 내 URL을 올릴 때마다 내 게시물 이미지를 가져 와서 Google에서 표시하도록하고 싶습니다.Google Plus 이미지 공유 관련 문제

저는이 모든 opengraph/schema 형식과 약간 혼동합니다.

페이스 북과 트위터에서 잘 작동하며 디버거 도구 (facebook'sgoogle's)에서 올바르게 구조화 된 데이터를 볼 수 있습니다.

은 여기 내 blogsample post 여기 내 HTML의 모습입니다 A :

<head> 
    ... 
    <meta name="description" content="{{post.excerpt}}"> 
    <meta property="og:type" content="article"> 
    <meta property="og:url" content="{{post.permalink}}"> 
    <meta property="og:title" content="{{post.title}}"> 
    <meta property="og:description" content="{{post.excerpt}}"> 
    <meta property="og:image" content="{{post.image}}"> <!-- absolute path here --> 
    <meta name="twitter:card" content="summary_large_image"> 
    <meta name="twitter:site" content="{{twitterProfile}}"> 
    <meta name="twitter:image:src" content="{{post.image}}"> <!-- absolute path here --> 
    ... 
</head> 
<body> 
    ... 
    <article itemscope itemtype="http://schema.org/Article"> 
    <meta itemprop="inLanguage" content="pt-BR"> 
    <meta itemprop="inFamilyFriendly" content="True"> 
    <meta itemprop="image" content="{{post.image}}"> <!-- absolute path here --> 
    <div class="post-hero"> 
     <section itemprop="associatedMedia" style="background-image: url({{post.image}});"> 
     </section> <!-- absolute path here --> 
     <section> 
     <h1 itemprop="headline name"> 
      <a itemprop="url" href="{{post.permalink}}" title="{{post.title}}">{{post.title}}</a> 
     </h1> 
     ... 
     </section> 
     ... 
    </div> 
    ... 
    </article> 
    ... 
</body>  

내가 실종 무엇인가? Article Scope를 HTML 태그로 옮겨야합니까? 그렇다면 왜?

답변

1

캐싱 문제가있는 것처럼 보입니다. URL에 쿼리 문자열을 추가하고 이미지를 가져 왔습니다.

+1

답변을 수락하는 것을 잊지 마세요 :) – unor

+0

고마워 :) "내일 자신의 답변을 수락 할 수 있습니다" – Abensur