最佳答案
您在这些搜索结果中看到的是 Google 定义的“丰富结果”,更多信息可以在 Google 的 Structured Data 文档中查看。具体来说,Edgewater 医疗中心正在利用 event functionality 来定义时间和日期。
这可以通过将页面的源代码粘贴到 Rich Results Test tool 来验证,可以在以下位置查看此页面的结果
根据谷歌文档,为了实现这一点,您必须遵循几个步骤:
- 确保 Googlebot 可以抓取您的事件页面(即您的页面 不受 robots.txt 文件或 robots 元标记的保护。
- 确保您的服务器能够应对更高的抓取速度。
- 确保遵循 Google guidelines 。
- 将 structured data 添加到您的事件页面。目前,Google 上的事件体验仅支持专注于单个事件的页面。我们建议重点将标记添加到事件发布页面,而不是列出日程或多个事件的页面。
标准事件的此类“结构化数据”示例如下所示:
<html>
<head>
<title>The Adventures of Kira and Morrison</title>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Event",
"name": "The Adventures of Kira and Morrison",
"startDate": "2025-07-21T19:00-05:00",
"endDate": "2025-07-21T23:00-05:00",
"eventAttendanceMode": "https://schema.org/OfflineEventAttendanceMode",
"eventStatus": "https://schema.org/EventScheduled",
"location": {
"@type": "Place",
"name": "Snickerpark Stadium",
"address": {
"@type": "PostalAddress",
"streetAddress": "100 West Snickerpark Dr",
"addressLocality": "Snickertown",
"postalCode": "19019",
"addressRegion": "PA",
"addressCountry": "US"
}
},
"image": [
"https://example.com/photos/1x1/photo.jpg",
"https://example.com/photos/4x3/photo.jpg",
"https://example.com/photos/16x9/photo.jpg"
],
"description": "The Adventures of Kira and Morrison is coming to Snickertown in a can’t miss performance.",
"offers": {
"@type": "Offer",
"url": "https://www.example.com/event_offer/12345_201803180430",
"price": "30",
"priceCurrency": "USD",
"availability": "https://schema.org/InStock",
"validFrom": "2024-05-21T12:00"
},
"performer": {
"@type": "PerformingGroup",
"name": "Kira and Morrison"
},
"organizer": {
"@type": "Organization",
"name": "Kira and Morrison Music",
"url": "https://kiraandmorrisonmusic.com"
}
}
</script>
</head>
<body>
</body>
</html>
关于metadata - 将预订元数据添加到 Google 搜索,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63609364/