निम्न Google संरचित डेटा परीक्षण उपकरण के माध्यम से चलता है जैसा कि अपेक्षित है:
<div>
<div itemprop="publisher" itemscope id="organization-example" itemtype="https://schema.org/Organization">
<a itemprop="url" href="https://example.com">
<img itemprop="image logo" src="https://example.com/images/logo.png" alt="LOGO">
<span itemprop="name">EXAMPLE</span>
<span itemprop="description">This is an EXAMPLE</span>
</a>
</div>
</div>
<div itemscope itemtype="https://schema.org/WebPage" itemref="organization-example">
</div>
लेकिन जब मैं BlogPostingइसका उपयोग करने की कोशिश करता हूं तो logoसंपत्ति टूट जाती है :
<div>
<div itemprop="publisher" itemscope id="organization-example" itemtype="https://schema.org/Organization">
<a itemprop="url" href="https://example.com">
<img itemprop="image logo" src="https://example.com/images/logo.png" alt="LOGO">
<span itemprop="name">EXAMPLE</span>
<span itemprop="description">This is an EXAMPLE</span>
</a>
</div>
</div>
<article
itemscope
itemtype="https://schema.org/BlogPosting"
itemref="organization-example"
>
</article>
त्रुटि के साथ:
https://example.com/images/logo.png(विशेषता logo.itemtype का अमान्य मान है।)
क्या कोई समझा सकता है क्यों? और इसे ठीक करने के लिए मैं क्या कदम उठा सकता हूं?
itempropएक ही पंक्ति में है itemtype।
itempropएक ही लाइन पर उपयोग करने से बचना चाहिएitemtypeक्योंकि प्रकाशक संगठन, वेबपेज और ब्लॉगपोस्टिंग का एक बच्चा है।<body itemscope itemtype="https://schema.org/Organization">फिर<article itemscope itemtype="https://schema.org/BlogPosting"><span itemprop="publisher">आदि का उपयोग करना बेहतर होगा ... कई बार लोगो को दोहराने की आवश्यकता नहीं होनी चाहिए, विशेषकर ब्लॉग पोस्ट में।