结构化数据使用入门
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
2013年6月3日星期一
发表者:
Justin Boyan,
产品经理
如果能让
Google
以结构化方式来解读您的网站内容,我们就能够以更准确、更具吸引力的方式将它们呈现给
Google
用户。例如,当我们发现您的网页内容为结构化的产品详情、活动、食谱、评价或类似内容时,我们的算法便可以通过
“
丰富网页摘要
”
来完善您的搜索结果。我们还可以在
知识图
面板或
Google
即时
的即时贴中展示您的数据,从而帮助宣传您的内容。
现在,我们很高兴地向大家介绍两项功能,它们可让您以更简单的方式使用结构化数据功能。首先,我们对数据标注工具进行了扩展,现在可支持七种新的结构化数据类型。其次,我们推出了结构化数据标记助手,这是一个全新的工具。
数据标注工具支持产品、商家、评价等多种数据类型
要开始使用数据标注工具,请访问
网站站长工具
,选择您的网站,点击左侧边栏中的
“
优化
”
链接,然后点击
“
数据标注工具
”
。系统会提示您输入您网站上的某个典型结构化页面(例如产品或活动的详细信息页)的网址,然后使用鼠标
“
标记
”
该页面上的关键字段。
一个单独网页的标记过程大约需要
5
分钟,而一系列格式一致的网页则大约需要
15
分钟。标记过程结束后,您可以验证
Google
对您的结构化数据的理解是否正确;如果正确,则可将其
“
发布
”
到
Google
。这样,当
Google
过段时间重新抓取您的网站时,您的网站即可在
Google
的搜索结果中显示更完善的价格、评价和评分等信息。
全新的结构化数据标记助手工具
尽管数据标注工具可快速让
Google
解读您网站上的结构化数据,而且可以免除修改
HTML
的麻烦,但如果能将结构化数据标记直接嵌入您的网页中无疑更为方便,这样,所有搜索引擎就都能够理解您网站的结构化内容。为了帮助网页制作者实现此目标,我们很高兴向您介绍一个新工具:
结构化数据标记助手
。
和使用数据标注工具一样,您需要先提交一个网页(网址或
HTML
源代码),然后使用鼠标
“
标记
”
相关数据类型的关键属性。当您完成操作后,结构化数据标记助手会生成包含微数据标记的
HTML
代码示例。您可以下载此代码,并将其用作在网站上实现结构化数据的指南。
结构化数据标记助手支持一部分数据类型,包括数据标注工具支持的所有数据类型以及用于
将结构化数据嵌入 Gmail
的几种数据类型。您可以访问
schema.org
获取完整的架构文档。
我们希望通过这两个工具帮助所有网站更轻松地使用
Google
不断发展的结构化数据功能套件!与往常一样,如果您有任何问题或反馈,欢迎到我们的
论坛
发帖。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2013-06-01。
[null,null,["最后更新时间 (UTC):2013-06-01。"],[[["\u003cp\u003eGoogle is launching new tools to help websites implement structured data, enabling enhanced search result displays and content features.\u003c/p\u003e\n"],["\u003cp\u003eData Highlighter has been expanded to support seven new types of structured data, allowing website owners to teach Google about their content without editing HTML.\u003c/p\u003e\n"],["\u003cp\u003eThe Structured Data Markup Helper assists with embedding structured data markup directly into web pages by generating sample HTML code with microdata.\u003c/p\u003e\n"],["\u003cp\u003eUtilizing these tools enables websites to become eligible for rich snippets, Knowledge Graph panels, and Google Now cards, improving content visibility and user experience.\u003c/p\u003e\n"]]],["Google introduced two tools to enhance structured data usage: Data Highlighter and Structured Data Markup Helper. Data Highlighter now supports seven new data types, including products, businesses, and reviews, allowing users to tag page elements without editing HTML. The Markup Helper generates HTML code with microdata markup, aiding users in directly embedding structured data. Both tools enable websites to participate in Google's structured data features, enhancing search results and visibility.\n"],null,["# Getting started with structured data\n\nThursday, May 30, 2013\n\n\nIf Google understands your website's content in a structured way, we can present that content more\naccurately and more attractively to Google users. For example, our algorithms can enhance your\nsearch results with\n\"[rich snippets](/search/docs/appearance/structured-data/intro-structured-data)\"\nwhen we understand that your page is a structured product listing, event, recipe, review, or\nsimilar. We can also feature your data in\n[Knowledge Graph](https://www.google.com/insidesearch/features/search/knowledge)\npanels or in\n[Google Now](https://www.google.com/landing/now/)\ncards, helping to spread the word about your content.\n\n\nToday we're excited to announce two features that make it simpler than ever before to participate\nin structured data features. The first is an expansion of Data Highlighter to seven new types of\nstructured data. The second is a brand new tool, the Structured Data Markup Helper.\n\nSupport for Products, Businesses, Reviews and more in Data Highlighter\n----------------------------------------------------------------------\n\n\n[Data Highlighter](https://support.google.com/webmasters/bin/answer.py?answer=2692911)\nlaunched in\n[December 2012](/search/blog/2012/12/introducing-data-highlighter-for-event) as a\npoint-and-click tool for teaching Google the pattern of structured data about\n[events](https://schema.org/Event) on your website---without even\nhaving to edit your site's HTML. Now, you can also use Data Highlighter to teach us about many\nother kinds of structured data on your site:\n[products](https://schema.org/Product),\n[local businesses](https://schema.org/LocalBusiness),\n[articles](https://schema.org/Article),\n[software applications](https://schema.org/SoftwareApplication),\n[movies](https://schema.org/Movie),\n[restaurants](https://schema.org/Restaurant), and\n[TV episodes](https://schema.org/TVEpisode).\n| **Update:** Here's the [full list of schemas supported in Data Highlighter](https://support.google.com/webmasters/topic/2774098?ref_topic=2692946).\n\n\nTo get started, visit\n[Webmaster Tools](https://search.google.com/search-console), select\nyour site, click the \"Optimization\" link in the left sidebar, and click \"Data Highlighter\". You'll\nbe prompted to enter the URL of a typically structured page on your site (for example, a product\nor event's detail page) and \"tag\" its key fields with your mouse.\n\n\nThe tagging process takes about 5 minutes for a single page, or about 15 minutes for a pattern of\nconsistently formatted pages. At the end of the process, you'll have the chance to verify Google's\nunderstanding of your structured data and, if it's correct, \"publish\" it to Google. Then, as your\nsite is recrawled over time, your site will become eligible for enhanced displays of information\nlike prices, reviews, and ratings right in the Google search results.\n\nNew Structured Data Markup Helper tool\n--------------------------------------\n\n\nWhile Data Highlighter is a great way to quickly teach Google about your site's structured data\nwithout having to edit your HTML, it's ultimately preferable to embed structured data markup\ndirectly into your web pages, so your structured content is available to everyone. To assist web\nauthors with that task, we're happy to announce a new tool: the\n[Structured Data Markup Helper](https://www.google.com/webmasters/markup-helper/).\n\n\nLike in Data Highlighter, you start by submitting a web page (URL or HTML source) and using your\nmouse to \"tag\" the key properties of the relevant data type. When you're done, the Structured Data\nMarkup Helper generates sample HTML code with microdata markup included. This code can be\ndownloaded and used as a guide as you implement structured data on your website.\n\n\nThe Structured Data Markup Helper supports a subset of data types, including all the types\nsupported by Data Highlighter as well as several types used for\n[embedding structured data in Gmail](/gmail/schemas/embedding-schemas-in-emails).\nConsult schema.org for complete schema documentation.\n\n\nWe hope these two tools make it easier for all websites to participate in Google's growing suite\nof structured data features! As always, please post in our\n[forums](https://support.google.com/webmasters/threads?hl=en&thread_filter=(category:structured_data))\nif you have any questions or feedback.\n\nPosted by Justin Boyan, Product Manager"]]