NewsArticle schema 标记对新闻 SEO 至关重要,它能让内容在 Google News 和 Top Stories 中获得富媒体结果。本指南涵盖完整的实现方法,包含所有必需属性和推荐属性。
为什么 NewsArticle Schema 很重要
如果没有正确的 schema 标记:
- 文章可能无法出现在 Top Stories 中
- Google News 可能无法正确归类内容
- 无法获得富媒体结果
- 发布权威性不明确
必需属性
最小必需 Schema
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"headline": "Article Headline",
"datePublished": "2025-06-15T10:30:00+00:00",
"dateModified": "2025-06-15T11:45:00+00:00",
"author": {
"@type": "Person",
"name": "Author Name"
},
"publisher": {
"@type": "Organization",
"name": "Publication Name",
"logo": {
"@type": "ImageObject",
"url": "https://example.com/logo.png"
}
},
"image": "https://example.com/article-image.jpg",
"description": "Article description"
}
所有推荐属性
完整的 NewsArticle Schema
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"headline": "Google Announces Major Algorithm Update Affecting Search Rankings",
"alternativeHeadline": "Google Core Update June 2025: What You Need to Know",
"datePublished": "2025-06-15T10:30:00+00:00",
"dateModified": "2025-06-15T14:22:00+00:00",
"author": {
"@type": "Person",
"name": "Jane Smith",
"url": "https://example.com/author/jane-smith",
"jobTitle": "Senior Tech Reporter",
"sameAs": [
"https://twitter.com/janesmith",
"https://linkedin.com/in/janesmith"
]
},
"publisher": {
"@type": "Organization",
"name": "Example News",
"url": "https://example.com",
"logo": {
"@type": "ImageObject",
"url": "https://example.com/logo.png",
"width": 600,
"height": 60
},
"sameAs": [
"https://twitter.com/examplenews",
"https://facebook.com/examplenews"
]
},
"image": {
"@type": "ImageObject",
"url": "https://example.com/article-image.jpg",
"width": 1200,
"height": 630
},
"description": "Google has announced a major algorithm update that will significantly affect search rankings across industries.",
"articleBody": "Full article text...",
"articleSection": "Technology",
"wordCount": 1500,
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://example.com/google-algorithm-update"
},
"keywords": ["Google", "algorithm update", "SEO", "search rankings"],
"genre": "News",
"isAccessibleForFree": true,
"isPartOf": {
"@type": "CreativeWork",
"name": "Example News Technology Section"
},
"speakable": {
"@type": "SpeakableSpecification",
"cssSelector": [".article-headline", ".article-summary"]
}
}
常见 Schema 错误及修复方法
错误 1:缺少 dateModified
// Bad: No dateModified
{"datePublished": "2025-06-15T10:30:00Z"}
// Good: Include both dates
{"datePublished": "2025-06-15T10:30:00Z", "dateModified": "2025-06-15T14:22:00Z"}
错误 2:日期格式无效
// Bad: Non-ISO 8601 format
{"datePublished": "June 15, 2025"}
// Good: ISO 8601 format with timezone
{"datePublished": "2025-06-15T10:30:00+00:00"}
错误 3:Headline 不一致
schema 中的 headline 应与页面的 H1 保持一致:
// Bad: Different from H1
{"headline": "Google Update"} // H1: "Google Announces Major Algorithm Update"
// Good: Matches H1
{"headline": "Google Announces Major Algorithm Update"}
错误 4:缺少 Publisher Logo
// Bad: No logo
{"publisher": {"@type": "Organization", "name": "Example News"}}
// Good: Include logo
{"publisher": {
"@type": "Organization",
"name": "Example News",
"logo": {
"@type": "ImageObject",
"url": "https://example.com/logo.png"
}
}}
Schema 验证与测试
测试工具
- Rich Results Test:Google 官方测试工具
- Schema Markup Validator:全面的验证工具
- Chrome DevTools:在 Elements 中检查结构化数据
- Schema.org Validator:标准合规性检查
在生产环境中监控 Schema
- 使用 Search Console 的增强功能报告
- 每周监控 schema 错误
- 跟踪富媒体结果的出现率
- 将自己的 schema 实现与竞争对手进行对比
付费墙内容的 Schema
对于设有付费墙内容的新闻网站:
{
"@type": "NewsArticle",
"isAccessibleForFree": false,
"hasPart": {
"@type": "WebPageElement",
"isAccessibleForFree": false,
"cssSelector": ".paywall-content"
}
}
<!-- Also add this meta tag -->
<meta name="googlebot" content="nosnippet">
这样可以告诉 Google 该内容设有付费墙,同时仍允许它被抓取和索引。