XML 驗證
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
為確保 Google 可順利處理你的動態饋給,請先使用 XML 架構驗證工具檢查動態饋給是否符合架構規定,確認沒有任何問題後再提交給 Google。Google 也會先驗證動態饋給是否符合架構,再接受動態饋給。
有許多工具可協助您驗證 XML 動態饋給的結構。其中一項工具是 www.xmlsoft.org 的 xmllint。
您可以使用 xmllint 透過下列指令驗證動態饋給:
xmllint --schema http://www.gstatic.com/productsearch/static/reviews/5.0/merchant_reviews.xsd --noout file.xml
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[],["Feed validation is crucial for Google processing. Utilize an XML schema validator to confirm your feed's compliance before submission. Google also validates feeds against the schema. Tools like `xmllint` (from xmlsoft.org) assist in this process. The command `xmllint --schema http://www.gstatic.com/productsearch/static/reviews/5.0/merchant_reviews.xsd --noout file.xml` validates your feed (`file.xml`) using Google's specified schema.\n"],null,[]]