必须用https://schema.org/Event或https://schema.org/CreativeWork标记博物馆展览信息;前者需含startDate、location等强制字段,后者更灵活但无事件富摘要。

HTML itemtype 不能直接标记“博物馆展览信息”——Schema.org 没有原生的 Exhibition 类型,强行写 itemtype="Exhibition" 或类似字符串会被搜索引擎完全忽略。
必须用 https://schema.org/Event 或 https://schema.org/CreativeWork
展览本质是发生在特定时间地点的活动,或一种文化产出物。Google、Bing 等主流解析器只认以下两种路径:
-
https://schema.org/Event:适用于含明确开始/结束时间、地点、票价、购票链接的实体展览(如“《敦煌艺术展》2026.11.1–2027.2.28 上海博物馆”) -
https://schema.org/CreativeWork:适用于偏重内容介绍、无强时效性、不强调入场行为的线上特展、数字策展、文献回顾类页面(如“云游故宫:清代宫廷绘画数字展”)
常见错误包括:itemtype="http://schema.org/Event"(HTTP 协议失效)、itemtype="Event"(缺协议)、itemtype="https://schema.org/event"(大小写敏感,小写 e 不识别)。
Event 类型必须填齐 datePublished、startDate、location
仅加 itemscope itemtype="https://schema.org/Event" 不够,Google Rich Results Test 会报 “Missing field: startDate” 或 “Missing field: location”。关键字段必须显式标注且格式合规:
立即学习“前端免费学习笔记(深入)”;
-
startDate和endDate必须用<time>元素包裹,datetime属性值为 ISO 8601 格式(如2026-11-01T10:00),不能只写“2026年11月” -
location必须嵌套一个itemscope itemtype="https://schema.org/Place",且至少含name(场馆名)和address(地址字符串或<div itemprop="address">...) -
name对应展览标题,必须出现在itemscope itemtype="https://schema.org/Event"容器内,不可放在外层
示例片段:
<div itemscope itemtype="https://schema.org/Event">
<h1 itemprop="name">《三星堆:古蜀文明特展》</h1>
<time itemprop="startDate" datetime="2026-11-01">2026年11月1日</time>
<div itemprop="location" itemscope itemtype="https://schema.org/Place">
<span itemprop="name">四川博物院</span>
<div itemprop="address">成都市青羊区浣花南路251号</div>
</div>
</div>
CreativeWork 更灵活但富媒体支持弱
若展览页面以图文介绍、藏品解读、学术背景为主,且无明确起止日(比如长期陈列或线上虚拟展),https://schema.org/CreativeWork 是更安全的选择:
- 它不要求
startDate、location等字段,可只标name、description、image、author - 但 Google 不会为其生成事件类富摘要(如日历图标、倒计时、购票按钮),仅可能提取标题+首段作搜索摘要
- 若想关联策展人,
author必须嵌套itemscope itemtype="https://schema.org/Person",不能只写文字
注意:https://schema.org/Museum 是描述机构本身的类型,不是展览内容;把它错用在展览标题上会导致整个结构化数据语义漂移。
嵌套结构里不能漏掉 itemscope
所有子实体(如 Place、Person、Organization)都必须各自带 itemscope,否则其内部 itemprop 会被视为父级 Event 的无效属性。例如:
- ✅ 正确:
<div itemprop="location" itemscope itemtype="https://schema.org/Place"><span itemprop="name">国博</span></div> - ❌ 错误:
<div itemprop="location"><span itemscope itemtype="https://schema.org/Place" itemprop="name">国博</span></div>(itemprop="name"被挂到了location上,而非Place实体内)
最易被忽略的是:展览页常把多个实体(主办方、策展人、合作机构)混在同一容器里,却只给最外层加了一次 itemscope —— 这会让所有嵌套 itemprop 失效。



















