測試結構定義
本頁列出各項工具和技術,可用來在電子郵件中加入結構化資料,並驗證資料正確性。
自我測試
如果想測試標記能否全程正常運作,可以傳送電子郵件給自己。寄件者和收件者為同一帳戶的所有電子郵件都會略過註冊規定,可用於自我測試。DKIM 或 SPF 驗證
仍然需要進行自我測試
等標記進行端對端標記測試後,並準備推出正式版整合服務後,請參閱「向 Google 註冊」一文瞭解後續步驟。
結構化資料標記協助工具
結構化資料標記協助工具可為您示範如何標記含有下列任何資料類型的電子郵件:Event Reservation
、Flight Reservation
、Lodging Reservation
、Restaurant Reservation
。
電子郵件標記測試工具
電子郵件標記測試工具工具可讓您測試標記,並驗證從文件中擷取的結構化資料。
如要使用這項工具,請將標記貼到下方的輸入文字方塊中,然後按一下 Validate
。工具輸出的內容會包括擷取的結構化資料,以及每個實體的所有屬性,以及輸入內容無效時可出現的特定錯誤訊息。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-09-03 (世界標準時間)。
[null,null,["上次更新時間:2024-09-03 (世界標準時間)。"],[[["This page provides resources for adding structured data to emails, enabling features like interactive cards in Gmail."],["Self-testing your email markup is possible by sending emails to yourself, ensuring functionality before wider implementation."],["Google provides tools like the Structured Data Markup Helper and Email Markup Tester to assist with markup creation and validation."]]],["Self-testing of email markup can be done by sending emails to yourself, bypassing registration requirements, but still requiring DKIM or SPF authentication. The Structured Data Markup Helper aids in marking up emails with event, flight, lodging, or restaurant reservation data. The Email Markup Tester validates markup, extracts structured data, and provides error messages for invalid input, by allowing users to paste markup and click \"Validate\". Once self testing is complete, register with Google.\n"]]