Article
您可以在新聞、網誌和體育相關文章網頁中加入 Article
結構化資料,藉此改善網頁在 Google 搜尋結果中的呈現效果。視網頁程式碼的編寫方式而定,網頁可採用的功能會有所不同:
- 含有結構化資料的 AMP 網頁:在行動版搜尋結果中,包含結構化資料的 AMP 網頁能夠以焦點新聞輪轉介面、複合式搜尋結果的代管輪轉介面、影像故事和複合式搜尋結果等形式呈現。這類搜尋結果可包含圖片、頁面標誌以及其他有趣的複合式搜尋結果功能。
- 含有結構化資料的非 AMP 網頁:如果在非 AMP 文章網頁中加入
Article
結構化資料,有助於 Google 進一步瞭解網頁內容,並在Article
複合式搜尋結果中針對該文章顯示更合適的標題文字、圖片與發布日期。
範例
以下示範如何在具有 Article
結構化資料的 AMP 網頁上採用 JSON-LD 程式碼。
<html amp> <head> <title>Article headline</title> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "NewsArticle", "mainEntityOfPage": { "@type": "WebPage", "@id": "https://google.com/article" }, "headline": "Article headline", "image": [ "https://example.com/photos/1x1/photo.jpg", "https://example.com/photos/4x3/photo.jpg", "https://example.com/photos/16x9/photo.jpg" ], "datePublished": "2015-02-05T08:00:00+08:00", "dateModified": "2015-02-05T09:20:00+08:00", "author": { "@type": "Person", "name": "John Doe", "url": "http://example.com/profile/johndoe123" }, "publisher": { "@type": "Organization", "name": "Google", "logo": { "@type": "ImageObject", "url": "https://google.com/logo.jpg" } } } </script> </head> <body> </body> </html>
以下是具有 Article
結構化資料的非 AMP 網頁範例。
非 AMP 網頁與 AMP 網頁有著不同的建議屬性。
<html> <head> <title>Article headline</title> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "NewsArticle", "headline": "Article headline", "image": [ "https://example.com/photos/1x1/photo.jpg", "https://example.com/photos/4x3/photo.jpg", "https://example.com/photos/16x9/photo.jpg" ], "datePublished": "2015-02-05T08:00:00+08:00", "dateModified": "2015-02-05T09:20:00+08:00", "author": [{ "@type": "Person", "name": "Jane Doe", "url": "http://example.com/profile/janedoe123" },{ "@type": "Person", "name": "John Doe", "url": "http://example.com/profile/johndoe123" }] } </script> </head> <body> </body> </html>
實作流程
包含結構化資料的 AMP 網頁

包含結構化資料的 AMP 網頁可顯示在搜尋結果的焦點新聞輪轉介面中。 如果沒有結構化資料,AMP 網頁就只會在 Google 搜尋結果中顯示為標準藍色連結。 如要進一步瞭解搜尋結果中的 AMP,請參閱關於 Google 搜尋結果中的 AMP 一文。
如何建立包含結構化資料的 AMP 網頁:
包含結構化資料的非 AMP 網頁

在非 AMP 網頁中新增 Article
結構化資料後,您可以更完整地建議正確的標題、發布日期及圖片等資訊,讓 Google 顯示在搜尋結果中。
如何為非 AMP 文章網頁新增結構化資料:
指南規範
您必須按照下列規範啟用結構化資料,才能讓網站顯示在 Google 搜尋結果中。
技術指南
- 如果您的網站內容是以訂閱的方式開放瀏覽,或者使用者必須註冊才能瀏覽內容,建議您加入訂閱和付費牆內容的結構化資料。
- 如果有包含多個部分的內容,請確保將
rel=canonical
指向每個獨立網頁或是能夠「查看全部」的總覽網頁,而非分段系列中的第 1 頁。進一步瞭解標準化程序。
AMP 標誌規範
下列規範適用於所有 AMP 網頁的標誌,包括 AMP 故事的標誌。
- 檔案必須使用 Google 圖片支援的格式。
- 請勿使用動畫。
- 標誌的圖像部分必須與背景顏色有明顯區別。
下列規範適用於一般 AMP 網頁所用的標誌,不適用於 AMP 故事。AMP 故事有另外的標誌規範。
- 標誌必須是矩形,不得為正方形。
- 標誌不得超出 60x600px 矩形範圍,且要剛好 60px 高 (建議) 或剛好 600px 寬。
例如,450x45px 雖然未超出 600x60px 矩形範圍,但並不符合規定。
- 發布者只能針對每個品牌使用一個標誌,且標誌在所有的一般 AMP 網頁中要一致。
- 請使用完整文字商標或完整標誌,不要使用圖示。
- 文字標誌中的文字高度上限為 48px,並要垂直放置於整張圖片高度 (60px) 的中間。請加入額外的空間,將高度補到 60px。
- 背景非空白的標誌應在圖像周圍加上至少 6px 的邊框間距。
結構化資料類型定義
以下說明 Article
結構化資料的屬性規範。AMP 和非 AMP 網頁對屬性有不同的規範和建議:
- AMP 網頁:您必須加入必要屬性,才能讓內容以複合式搜尋結果的形式呈現。您也可以加入建議的屬性,為內容新增更多相關資訊,提供更優質的使用者體驗。
- 非 AMP 網頁:為了讓 Google 更瞭解您的網頁,建議您為非 AMP 網頁加入建議屬性。
Article
物件
Article 物件必須以下列其中一種 schema.org 類型為基礎:Article
、NewsArticle
、BlogPosting
。
下列屬性適用於 AMP 網頁。
必要屬性 | |
---|---|
author |
文章的作者。為了讓 Google 更瞭解不同內容的作者,建議您遵循作者標記最佳做法。 如有多位作者,請在陣列中指定所有作者: "author": [{ "@type": "Person", "name": "Jane Doe", "url": "http://example.com/profile/janedoe123" },{ "@type": "Person", "name": "John Doe", "url": "http://example.com/profile/johndoe123" }] |
author.name |
作者的名稱。 |
datePublished |
文章首次發布的日期和時間,採 ISO 8601 格式。 最佳做法:
|
headline |
文章的標題。標題不得超過 110 個字元。如果是 AMP 故事,標題應與 AMP 故事中第一頁 (即封面) 的文字一致。 |
image |
可代表文章或 AMP 故事的圖片網址。 基於搜尋結果中的格式差異,下列圖片規範僅適用於一般 AMP 網頁,而不適用於 AMP 故事。AMP 故事有另外的圖片規範。
例如: { "@context": "https://schema.org", "@type": "NewsArticle", "image": [ "https://example.com/photos/1x1/photo.jpg", "https://example.com/photos/4x3/photo.jpg", "https://example.com/photos/16x9/photo.jpg" ] } |
publisher |
文章的發布者。 |
publisher.logo |
發布者的標誌。請參閱 AMP 標誌規範,進一步瞭解圖片內容的相關資訊。
如果您使用 例如: { "@context": "https://schema.org", "@type": "NewsArticle", "publisher": { "@type": "Organization", "name": "Google", "logo": { "@type": "ImageObject", "url": "https://google.com/logo.jpg" } } } 以下是使用 { "@context": "https://schema.org", "@type": "NewsArticle", "publisher": { "@type": "Organization", "name": "Google", "logo": "https://google.com/logo.jpg" } } |
publisher.name |
發布者的名稱。 |
建議屬性 | |
---|---|
author.url |
可明確識別文章作者的網頁連結,例如作者的社群媒體頁面、「關於我」頁面或簡介頁面。 |
dateModified |
文章最近修改的日期和時間,採 ISO 8601 格式。 |
mainEntityOfPage |
文章網頁的標準網址。如果文章是文章網頁的主題,請指定 mainEntityOfPage。 |
下列屬性適用於非 AMP 網頁。
建議屬性 | |
---|---|
author |
文章的作者。為了讓 Google 更瞭解不同內容的作者,建議您遵循作者標記最佳做法。 |
author.name |
作者的名稱。 |
author.url |
可明確識別文章作者的網頁連結,例如作者的社群媒體頁面、「關於我」頁面或簡介頁面。 |
dateModified |
文章最近修改的日期和時間,採 ISO 8601 格式。 |
datePublished |
文章首次發布的日期和時間,採 ISO 8601 格式。 |
headline |
文章的標題。標題不得超過 110 個字元。 |
image |
重複的 可代表文章的圖片網址。只能指定已加上標記且直接屬於該文章的圖片。圖片寬度至少要 696 像素。 其他圖片規範:
例如: { "@context": "https://schema.org", "@type": "NewsArticle", "image": [ "https://example.com/photos/1x1/photo.jpg", "https://example.com/photos/4x3/photo.jpg", "https://example.com/photos/16x9/photo.jpg" ] } |
作者標記最佳做法
為了讓 Google 更瞭解內容作者並以適當的方式呈現作者資訊,建議您在標記中指定作者時,採用下列最佳做法:
作者標記的最佳做法 | |
---|---|
在標記中納入所有作者 |
確定在網頁上顯示為作者的所有作者都納入標記中。 |
指定多位作者 |
指定多位作者時,請為每位作者使用專屬的 "author": [ {"name": "Willow Lane"}, {"name": "Regula Felix"} ]
請勿將多位作者合併在同一 "author": { "name": "Willow Lane, Regula Felix" } |
使用其他欄位 |
為了讓 Google 更瞭解作者是誰,強烈建議您使用 舉例來說,如果作者是某人,您可以連結至作者網頁,提供作者詳細資訊: "author": [ { "@type": "Person", "name": "Willow Lane", "url": "http://www.example.com/staff/willow_lane" } ] 如果作者是機構,您就可以連結到該機構的首頁。 "author": [ { "@type":"Organization", "name": "Some News Agency", "url": "https://www.example.com/" } ] |
僅在 |
在
"author": [ { "name": "Echidna Jones", "honorificPrefix": "Dr", "jobTitle": "Editor in Chief" } ], "publisher": [ { "name": "Bugs Daily" } ] } |
請使用適當的 |
一般使用者應使用 |
以下為採用作者標記最佳做法的範例:
"author": [ { "@type": "Person", "name": "Willow Lane", "jobTitle": "Journalist", "url":"https://www.example.com/staff/willow-lane" }, { "@type":"Person", "name": "Echidna Jones", "jobTitle": "Editor in Chief", "url":"https://www.example.com/staff/echidna-jones" } ], "publisher": { "name": "The Daily Bug", "url": "https://www.example.com" }, // + Other fields related to the article... }
疑難排解
如果無法順利導入結構化資料,或是偵錯時遇到困難,請參考下列資源。
- 結構化資料可能含有錯誤。請查看結構化資料錯誤清單。
- 如果您的網頁遭到結構化資料專人介入處理處置,系統會忽略網頁上的結構化資料,但該網頁仍然會出現在 Google 搜尋結果中。請使用專人介入處理報告來修正結構化資料問題。
- 再次查看指南規範,確認您的內容是否符合規定。
- 疑難排解:未出現複合式搜尋結果/複合式搜尋結果總數減少。
- 如有關於檢索和索引建立作業的一般問題,請參閱 Google 搜尋檢索和索引常見問題。
- 在 Google 搜尋中心的諮詢時間提問。
- 前往 Google 搜尋中心論壇發文提問。