Google Rich片段。那是什么?

They're these awesome things that can help you improve your website's SEO and generate more site traffic from search engine results pages (SERPs), and in this article, I'm going to tell you how to set them up.

让我首先向您提出一个问题:您是否注意到进行Google搜索时,某些列表看起来比其他列表更性感?例如,如果您正在搜索“苹果派”,那么当您单击时,哪些列表?

Google Rich Sippet关于苹果派的结果

我敢打赌,您选择了选项#2。如果您不这样做,那么您一定真的不喜欢苹果派。

在缩略图图像和五星级评级量表之间,这些网站在做什么来制作其Google列表中包括此额外的媒体?这些精美的信息的秘诀是丰富的片段,这些网站已为使用其网站页面的HTML进行了优化。

Google rich snippets -- also called "丰富的结果“ - 除了典型的页面标题,页面URL和META描述外,还从您网站上提取信息以在搜索结果中显示在您的网站列表中。

确保每个搜索结果都显示这三个信息,组成个人片段。想法是,搜索结果片段中包含的信息越多,单击该结果的用户越有可能。在页面上有足够的结构化数据,您可以赚取rich snippet

Click here to get everything you need to get your website ranking in search.“></a></span></span>
                <!-- end HubSpot Call-to-Action Code --></p><p>在企业的SEO策略中,富裕的片段通常被忽略了,因为它们比<a href=传统的页面SEO。但是,随着今天的Google搜索结果的复杂程度,您值得花一点时间学习如何做到这一点。将此内容丰富的信息添加到您的Google搜索列表中吸引人的眼睛,可以增加清单的点击率, even when you're不排名#1位置。

如何安装丰富的片段有一些选择,但是我将向您展示最简单的方法:使用microdata。

Keep in mind this process won't guarantee that you'll get a rich snippet. But giving these details special treatment can dramatically increase your chances of enhancing the appearance of your search result -- and, in turn, the traffic you get from it.

How to Create Rich Snippets

  1. 确定您希望Google专注于哪些细节。
  2. 使用Google的结构化数据标记助手来定义您的网页。
  3. Create microdata for your webpage using your selected data type.
  4. 从此微数据创建新的HTML。
  5. 使用此microdata标记您的内容。
  6. Test your rich snippet.
  7. 要有耐心。

1.确定您希望Google专注于哪些细节。

您的网页的主题和格式将决定您希望Google在其搜索结果中显示哪些类型的信息。您在写文章吗?活动页面?一本书评论?产品页面?以下是丰富的摘要中包含的一些详细信息的示例,可用于您可用的几种类型的片段:

  • 文章:You can add tags for the article title, author, meta description, publish date, featured image, and more.
  • 餐厅页面:You can add tags for food items, item prices, item descriptions, item images, item calories, and more.
  • 产品页面:您可以为产品名称,产品评级,产品价格,产品可用性,产品图像等添加标签。
  • 活动页面:您可以为事件名称,活动扬声器,活动时间表,事件日期等添加标签。
  • Recipe:您可以添加用于配方评级,成分,最终产品图像,烹饪持续时间,总卡路里等标签。

2. Define your webpage using Google's Structured Data Markup Helper.

那么,如何创建上面列出的标签?不幸的是,它并不像在网页的HTML中写“这是产品的价格”那样容易,并希望Google能够提示。为了将这些信息正确传达给Google,该公司提供了一个方便的工具,用于根据您发布的网页类型创建结构化数据集。raybet电子竞技它称为结构化数据标记助手。用它here,在下面查看。

Google结构化数据标记助手

正如你所看到的,上面,你会首先选择the attribute that best describes the content you're creating. Then, at the bottom of this page, enter the existing URL of the webpage to which your content has been published. (Note: To use this tool, you'll publish your content first, and then retrieve the URL so you can structure your data accordingly.)

3.使用所选数据类型为您的网页创建微数据。

MicroDATA是标记内容来描述此内容代表的内容的一种方式。例如,事件具有与之相关的各种信息,包括场地,起始时间,名称和类别。然后,您可以使用一些代码基本上告诉Google:“这是我的活动,以及人们需要了解的最重要的信息。”

如何使用微数据

MicroDATA将您的文本包裹在非常简单的HTML标签中,例如

标签,以将描述性项分配给每个信息。这是HTML的一个示例块,显示了下面的一些基本信息 - 本文的作者。

My name is Diana Urban, and I was born and raised in New York. I'm on the marketing team at HubSpot, an all-in-one marketing software company in Cambridge, MA.

在上面的副本的开头和结尾查看这些

标签?这表示标准中的文本段落风格。与本文中的任何其他段落相比,上面的文本没有什么独特的。这使得Google很难以您可能希望将其解释的方式来解释它。

Now, here is the same HTML tagged with microdata:

itemscope itemType =“ http://data-vocabulary.org/“>
My name is 我是标题
“>前景营销主管 at 联系“>HubSpot, an all-in-one marketing software company in Cambridge, MA.

这些大胆的在上面的HTML标签告诉谷歌each piece of my author bio actually is. The "person" tag indicates this is about a person. The "name" tag indicates the following text is my name. The "title" tag indicates the following text is my job title. The "div" tags single out the entire section of HTML so Google knows it can highlight it in my article's snippet, given the appropriate search term a user might enter.

创建您的微数据

在上一步中选择了数据类型后,您将被带到一个页面,您可以在其中将网页的某些详细信息与描述这些详细信息的Microdata相关联。例如,为了为文章的作者创建Microdata,您将在网页上突出显示作者的名称 - Google在该工具的左侧项目上项目 - 并在出现的下拉下选择“作者”。在下面查看它的外观。

Author tag created using Google's Structured Data Markup Helper

4.从此微数据创建新的HTML。

Next, you'll create new strings of HTML from the microdata you created in the previous step. Once you've finished assigning each part of your webpage a proper tag, click the red "Create HTML" button on the top-righthand corner of the tool, as shown below.

create-html-google-structured-data-markup-helper

5.使用此微型数据标记您的内容。

成功创建了HTML后,您将看到您在上面的步骤3中创建的每个标签,并在代码块中列出,然后可以将其插入文章的HTML中。您将在内容管理系统(CMS)中插入此代码。

Google建议将其为您创建的HTML添加到文章HTML的“头部”中。如果您使用CMS集线器,您会发现仅为此场合设计的单独的HTML框,如下所示。

头部和页脚HTML部分,用于在HubSpot中添加代码段Learn more about adding HTML to webpages inHubSpot Academy

想要另一种用各种微型数据标记HTML的方法吗?查看此说明列表下方的富篇幅的不同示例。这些丰富的摘要中的每一个都链接到有关如何优化每种类型的丰富片段的分开的Google指令。(当您加载他们的页面时,请始终选择“ Microdata”方法以获取正确的说明。)

6. Test your rich snippet.

Google Webmaster Tools has another nifty feature that lets you test your rich snippet.Click here to use their Structured Data Testing Tool.这将确认Google是否可以阅读您的标记数据以及您富裕的片段是否出现在其搜索结果中。

7. Be patient.

如果您没有立即在Google的搜索结果中看到丰富的片段,请不要害怕。实际上,Google需要几周的时间才能爬网和索引这些新数据。所以去海滩。喝玛格丽塔酒。在阳光下浸泡。

Okay, it's more likely that you'll just keep working on other stuff in the meantime, but a girl can dream ...

Rich Snippets Examples

Let's run through some of the different types of rich snippets that are available to use on your website. Each section links to Google's instructions on how to actually install the rich snippets -- remember to select the microdata option for the easiest installation process!

业务和组织片段

关于企业或组织的丰富片段可以包括位置信息,联系信息,价格范围,时间和客户评论,如果有任何可用的话。

富含商业的人

了解如何为组织创建丰富的片段>

事件片段

活动片段包括活动的日期,位置和时间。如果事件有多个选项,则最多将显示三个选项。

富含事件的游戏

Learn how to create rich snippets for events >

音乐专辑片段

使用音乐专辑Rich片段将在专辑中显示指向单个歌曲的链接,甚至可以在歌曲中显示歌词。

音乐 - 山的鼻子富含音乐

Learn how to create rich snippets for music >

People Snippets

The people snippet displays information such as a person's job title, the company they work for (a.k.a. affiliation), and location. It can also display a photo, nickname, and more.

人们片段与作者摘要不同。这是区别,真正的例子。

people-google-rich-snippet

了解如何为人们创建丰富的片段>

Product Snippets

Product rich snippets include things like a picture of a product, ratings, and price range of the product.

product-google-rich-snippet

Learn how to create rich snippets for products >

食谱片段

丰富的食谱片段为用户提供有关特定烹饪食谱的其他信息,例如评分(1至5星),厨师/准备时间和卡路里信息。

为了作为食谱资格,您必须至少有以下两个标签:

  • A photo of the dish
  • The tag: prepTime, cookTime, totalTime, or ingredients
  • 卡路里
  • 审查
食谱富含食谱

查看摘要

您已经看到了许多具有5星级评级的片段的示例。但是您还可以设置仅仅是评论部分的摘要。

review-google-snippet

了解如何创建丰富的摘要以进行评论>

Video Snippets

如果您想在搜索列表旁边显示视频的缩略图,则标记的工作方式有所不同。Google认识到Facebook共享标记代码,因此您不妨用一块石头杀死两只鸟。

富含视频的游戏

了解如何为视频创建丰富的片段>

营销“></a></span></span>
                <!-- end HubSpot Call-to-Action Code --></p>
               <div id= Click here to get everything you need to get your website ranking in search.“></a></span></span>
                <!-- end HubSpot Call-to-Action Code -->
               </div></span>
              <p class=最初发布于2019年2月20日10:13:00,更新于2020年4月10日

主题:

结构化数据