Google 结构化测试工具不显示来自我的域的图像
Google Structured Testing Tool is not showing image from my domain
当我点击 "Preview" 时,Google 结构化测试工具不显示来自我的域的图像。但它显示来自 Google images 的任何其他 link 的图像。为什么?
<main itemscope itemtype="http://schema.org/NewsArticle">
<meta itemprop="mainEntityOfPage" content="https://isMyDomain.net/?p=one-page">
<span itemprop="author publisher" itemscope itemtype="https://pending.schema.org/NewsMediaOrganization">
<meta itemprop="url" content="https://isMyDomain.net">
<meta itemprop="name" content="siteName">
<link itemprop="sameAs" href="https://www.facebook.com/mypage" />
<link itemprop="sameAs" href="https://twitter.com/mypage" />
<link itemprop="sameAs" href="https://www.instagram.com/mypage" />
<span itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
<meta itemprop="url" content="https://isMyDomain.net/img/myLogo.png">
<meta itemprop="width" content="488">
<meta itemprop="height" content="60">
</span>
</span>
<span itemprop="image" itemscope itemtype="https://schema.org/ImageObject">
<meta itemprop="url" content="https://isMyDomain.net/img/posts/d40N.jpg">
<meta itemprop="width" content="634">
<meta itemprop="height" content="342">
</span>
<article>
<header>
<h1 itemprop="headline">Title</h1>
<time itemprop="datePublished" datetime="2018-10-11T09:45:00-03:00">
11/10/2018 09h45</time>
<meta itemprop="dateModified" content="2018-10-11T09:45:00-03:00">
</header>
<div itemprop="articleBody">
<p>article body</p>
</div>
</article>
</main>
测试时可以看到预览按钮a link from BBC news articles。
获取 'Preview' 按钮
如果您包含指向实际 AMP 页面的 link
元素(它似乎不适用于 fake/example URL), 例如:
<link rel="amphtml" href="https://www.bbc.com/news/amp/world-europe-4582284">
在预览中,片段将链接到此 AMP URL。
正在预览中显示图像
预览工具仅显示已被 Google 搜索索引的图像。如果它们尚未编入索引,将显示占位符图像。见 The Google Search Preview Tool:
Rich card placeholder images and title
If you are testing rich card markup, you can see your actual image in the preview if we confirm, or verify, that the image URL is in our index. However, the preview displays a placeholder image if our systems cannot verify the image URL. Even so, when your rich card markup reaches our systems, the image you provide should be shown correctly in the actual Google Search results.
当我点击 "Preview" 时,Google 结构化测试工具不显示来自我的域的图像。但它显示来自 Google images 的任何其他 link 的图像。为什么?
<main itemscope itemtype="http://schema.org/NewsArticle">
<meta itemprop="mainEntityOfPage" content="https://isMyDomain.net/?p=one-page">
<span itemprop="author publisher" itemscope itemtype="https://pending.schema.org/NewsMediaOrganization">
<meta itemprop="url" content="https://isMyDomain.net">
<meta itemprop="name" content="siteName">
<link itemprop="sameAs" href="https://www.facebook.com/mypage" />
<link itemprop="sameAs" href="https://twitter.com/mypage" />
<link itemprop="sameAs" href="https://www.instagram.com/mypage" />
<span itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
<meta itemprop="url" content="https://isMyDomain.net/img/myLogo.png">
<meta itemprop="width" content="488">
<meta itemprop="height" content="60">
</span>
</span>
<span itemprop="image" itemscope itemtype="https://schema.org/ImageObject">
<meta itemprop="url" content="https://isMyDomain.net/img/posts/d40N.jpg">
<meta itemprop="width" content="634">
<meta itemprop="height" content="342">
</span>
<article>
<header>
<h1 itemprop="headline">Title</h1>
<time itemprop="datePublished" datetime="2018-10-11T09:45:00-03:00">
11/10/2018 09h45</time>
<meta itemprop="dateModified" content="2018-10-11T09:45:00-03:00">
</header>
<div itemprop="articleBody">
<p>article body</p>
</div>
</article>
</main>
测试时可以看到预览按钮a link from BBC news articles。
获取 'Preview' 按钮
如果您包含指向实际 AMP 页面的 link
元素(它似乎不适用于 fake/example URL), 例如:
<link rel="amphtml" href="https://www.bbc.com/news/amp/world-europe-4582284">
在预览中,片段将链接到此 AMP URL。
正在预览中显示图像
预览工具仅显示已被 Google 搜索索引的图像。如果它们尚未编入索引,将显示占位符图像。见 The Google Search Preview Tool:
Rich card placeholder images and title
If you are testing rich card markup, you can see your actual image in the preview if we confirm, or verify, that the image URL is in our index. However, the preview displays a placeholder image if our systems cannot verify the image URL. Even so, when your rich card markup reaches our systems, the image you provide should be shown correctly in the actual Google Search results.