google-rich-snippets

Microdata or JSON-LD? I'm confused

我的梦境 提交于 2019-11-28 16:49:23
I haven't found a clear and updated answer, even after googling for a few hours, so here it goes: I am aware of the advantages and disadvantages of both Microdata and JSON-LD. I also know that Microdata was dropped from W3C (and consequently from the browsers' API). What I'm not sure about is that how it will affect any site where Microdata is used specifically for SEO purpose. Does Google support JSON-LD for SERPs? What format does it recommend to use? I am looking for updated answers - not from 2011 or 2012 (if they are still applicable though, feel free to post it). What is more appropriate

Magento 2 Search console error & Google structured data rich snippets

☆樱花仙子☆ 提交于 2019-11-28 14:29:51
i have a magento 2 website . In that i have home , about , contact , product pages . 1) I am generating snippest using https://technicalseo.com/tools/schema-markup-generator/ tool . So how can i insert this in my page ? . Can i write paste this code in content ? in which php file i can write this schema code ? For example my home page id is 1 , about 2 etc i have different schecam for each page . So in which pah page i can write if(id==1){schema 1 } if (id==2){ schema 2 } etc . 2) I am getting this error in search console . How can i solve this using code . Like if the product don't have any

How do I implement Rich Snippets on a product/service that has monthly fee?

狂风中的少年 提交于 2019-11-28 14:16:06
Using these but it's not validating: <div itemscope itemtype="http://schema.org/Product"> <h1 itemprop="name">Product</h1> <span itemprop="description">Product <div itemprop="offers" itemscope itemtype="http://schema.org/Offer"> Prices start at <meta itemprop="priceCurrency" content="PHP" />Php <span itemprop="price">1799.00 (monthly) </div> </div> To represent subscription costs (for an Offer ), you could use the UnitPriceSpecification type and its unitCode property . The unitCode ’s value can be a UN/CEFACT Common Code, where MON is the code for month. In Microdata, this could look like:

Microdata markup with 'mainEntityOfPage' for Google Article Rich Snippet

一世执手 提交于 2019-11-28 11:39:24
The Microdata example of Google’s Article Rich Snippet contains this meta element with Schema.org’s mainEntityOfPage property: <meta itemscope itemprop="mainEntityOfPage" itemType="https://schema.org/WebPage" itemid="https://google.com/article"/> When checking it with the Nu Html Checker , I get this error: Element meta is missing required attribute content . Adding an empty content attribute seems to solve this error. Is it correct to do this? unor The Nu Html Checker is correct, Google’s example is invalid. The content attribute is required if the meta element has an itemprop attribute. From

Schema.org AggregateRating markup when ratingValue is Empty

混江龙づ霸主 提交于 2019-11-28 08:36:36
问题 I am implementing structured data into an app with the AggregateRating markup. The problem is that when 0 ratings are present the rating value is empty. I get the following error when using Google Structured Data Testing Tool. Field ratingValue may not be empty. <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"> <meta itemprop="reviewCount" content="0"> <meta itemprop="ratingValue" content=""> ... </div> The app uses the default 1 to 5 rating scale. Is

Google structured data error: “All values provided for http://www.example.com/ must have the same domain.”

て烟熏妆下的殇ゞ 提交于 2019-11-28 01:32:25
I want to add Corporate Contacts in Google Search. I test the following code in Google's Structured Data Testing Tool , but it threw this error: https://coda-resume.herokuapp.com/ (All values provided for http://www.example.com/ must have the same domain.) Here is the JSON-LD: <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "Organization", "url": "https://coda-resume.herokuapp.com/", "logo": "http://www.example.com/logo.png", "contactPoint": [{ "@type": "ContactPoint", "telephone": "+1-401-555-1212", "contactType": "customer service" }] } </script> (I put this

Breadcrumb with Schema.org not showing in Google Rich Snippets testing tool

我是研究僧i 提交于 2019-11-27 22:32:29
问题 I have tested the Schema.org breadcrumb example with Google Rich Snippets testing tool. <div itemprop="breadcrumb"> <a href="category/books.html">Books</a> > <a href="category/books-literature.html">Literature & Fiction</a> > <a href="category/books-classics">Classics</a> </div> The result is that it is not recognized by the tool. So, is there a bug or is there a syntax problem? If so, what is the correct syntax? 回答1: Your question is a bit the same with this one How to implement schema.org

Microdata or JSON-LD? I'm confused

放肆的年华 提交于 2019-11-27 09:58:05
问题 I haven't found a clear and updated answer, even after googling for a few hours, so here it goes: I am aware of the advantages and disadvantages of both Microdata and JSON-LD. I also know that Microdata was dropped from W3C (and consequently from the browsers' API). What I'm not sure about is that how it will affect any site where Microdata is used specifically for SEO purpose. Does Google support JSON-LD for SERPs? What format does it recommend to use? I am looking for updated answers - not

Schema.org/Microdata markup for list of recent posts without providing “author” / “publisher”?

与世无争的帅哥 提交于 2019-11-27 09:54:17
The following code shows a list of links to recent posts on an experimental blog site I am playing with. The problem is that this fails Google's Structured Data Testing Tool because it is missing required items such as author and publisher . But I don't want to show these for recent posts and I don't want to show them for every blog post either. What should I do? Get rid of the structured data? Put the required stuff in and hide it with CSS? Or leave as is? <section> <header> <h4 class="h4-padding">Recent Posts</h4> </header> <ul> <li> <article itemprop="blogPost" itemscope itemtype="http:/

Why does Google Testing Tool use the “id” attribute to generate a URL for the Microdata item?

笑着哭i 提交于 2019-11-27 09:44:19
I'm using some Microdata to describe a blog post, and I'm surprised by the value return for Schema.org’s BlogPosting by the Google Developers Testing Tool. I would have expected it to be the itemprop url , not a merge of the website URL and the item id . Am I doing something wrong, or is it only a Google display issue? <div itemscope="itemscope" itemprop="blogPost" itemtype="http://schema.org/BlogPosting" id="foobar"> <a itemprop="url" href="/realone">real</a> </div> Value returned by https://developers.google.com/structured-data/testing-tool/ : BlogPosting: http://www.example.com/foobar url: