schema.org

Google now supporting new version of Schema.org BreadcrumbList?

不想你离开。 提交于 2019-12-11 14:39:32
问题 It appears as though Google has now implemented Schema.org version 2 and Google's own examples fail Google's validation test. For example, here's is Google's example JSON-LD code for breadcrumbs: <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "BreadcrumbList", "itemListElement": [ { "@type": "ListItem", "position": 1, "item": { "@id": "https://example.com/arts", "name": "Arts" } }, { "@type": "ListItem", "position": 2, "item": { "@id": "https://example.com

Use Schema.org for Article without image property?

£可爱£侵袭症+ 提交于 2019-12-11 13:59:00
问题 I have implemented Schema.org in my project, I have added Article section but we did not have image so it shows an error A value for the image field is required. How can I fix this error and is there any solution for using Article without image section? 回答1: If you don’t have an image, you can’t (and you are not supposed to) fix it. This is not an error with your use of Schema.org. It just means that you don’t get Google’s Article search feature, which needs an image: The representative image

Error: “Incomplete microdata with schema.org” (Review)

你说的曾经没有我的故事 提交于 2019-12-11 13:50:00
问题 I'm getting the error when I try to post Review Microdata for a product. I'm wondering what properties are required I have tried several different ways of arrange the data. This is what Google gives me: Item type: review property: name: Some reviewer author: Item 1 reviewrating: Item 2 reviewbody: "The body" Error: Incomplete microdata with schema.org. Item 1 type: person property: name: some Person Item 2 type: rating property: worstrating: 1 bestrating: 5 ratingvalue: 5 回答1: I just got this

Duplicate schema/structured data markup?

巧了我就是萌 提交于 2019-12-11 13:49:01
问题 Will this structure be problematic? <script type="application/ld+json"> { "@context":"http://schema.org", "@type":"WebPage", "name":"Postcards", "url":"https://local.mysite.com/postcards.html", "breadcrumb":{ "@type":"BreadcrumbList", "itemListElement":[ { "@type":"ListItem", "position":1, "item":{ "@id":"https://local.mysite.com", "name":"My Site" } }, { "@type":"ListItem", "position":2, "item":{ "@id":"https://local.mysite.com/postcards.html", "name":"Postcards" } } ] }, "mainEntity":{ "

Get all Schema.org schemas under a specific category (Place, LocalBusiness)

一世执手 提交于 2019-12-11 12:23:01
问题 I'm wondering if there is a website or a way to get the list of all the Schema.org schemas under a specific category (ex: Place ). I found the complete list on Schema.org - they also provide a JSON-LD file - but there's no way to filter/order this easily . My goal is to get the list of all the places in a nice array (PHP, JSON, whatever). 回答1: Most vocabularies/ontologies are defined using RDF. The vocabulary Schema.org is no exception. The canonical/machine-readable representation of Schema

HTML image map as SiteNavigationElement

杀马特。学长 韩版系。学妹 提交于 2019-12-11 12:09:17
问题 I’m planning to use an HTML image map as a schema.org SiteNavigationElement . The idea is to use the image as a venue map and as a visual aid to find local business in my area. The code was validated through the Google Structured Data Testing Tool and everything seems to be ok. <div itemscope itemtype="http://schema.org/SiteNavigationElement" > <div itemprop="name">the name</div> <div itemprop="description">the description</div> <img itemprop="image" src="map.jpg" usemap="#map_tag"/> <map

Which Schema.org property should I use for popular posts item list?

孤街浪徒 提交于 2019-12-11 11:43:45
问题 Example markup of what I have: <body itemscope='itemscope' itemtype='http://schema.org/WebPage'> <div id="main" itemprop='mainContentOfPage' itemscope='itemscope' itemtype="http://schema.org/Blog"> <article itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'> blah blah blah </article> <div> <aside> <ul> <li><article><img/>popular post article</article></li> <li><article><img/>popular post article</article></li> </ul> </aside> </body> What should I use for the

Add multiple google schema ConfirmAction

孤街醉人 提交于 2019-12-11 10:58:35
问题 I am working on a project that would require some authorized users to 'Approve' or 'Reject' a request. I would like these actions to be performed right from the user's inbox. Is it possible to add more than one ConfirmAction that will be disabled once one of them is clicked. If yes, kindly provide a sample markup. 回答1: Gmail only supports a single action. If you specify more than one action in your markup, only the first will be rendered. Thanks for describing your use case, though, we plan

Get JSON-LD information from Schema.org

情到浓时终转凉″ 提交于 2019-12-11 10:19:54
问题 I would like to get a JSON-LD representation of Schema.org in the same way I can have an RDF version in http://topbraid.org/schema/. I see the main page of Schema.org is represented with JSON-LD, but there are not type definitions as there are in the RDF version. For a second question, how can a JSON-LD parser understand the properties of a Schema.org's Person type if it cannot access to such information in JSON-LD? 回答1: The canonical representation of Schema.org is in HTML+RDFa. RDFa is,

Self-published news, who is the “publisher”?

僤鯓⒐⒋嵵緔 提交于 2019-12-11 06:38:29
问题 I'm trying to implement Schema.org in my news website. In this Google guideline I'm following the left example with Microdata. Everything is fine, except for one property, the publisher . Given that I'm talking about the news on my own site, what am I supposed to write in the publisher ? Do I have to write my own company? 回答1: First of all, you don’t have to provide a publisher . If you don’t, you can’t get an Article rich result in Google Search for AMP HTML pages, but nothing else happens.