google-rich-snippets

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

我与影子孤独终老i 提交于 2019-11-27 08:13:53
问题 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> 回答1: To represent subscription costs (for an Offer ), you could use the UnitPriceSpecification type and its unitCode property. The unitCode ’s

Microdata markup with 'mainEntityOfPage' for Google Article Rich Snippet

Deadly 提交于 2019-11-27 06:18:26
问题 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? 回答1: The Nu Html Checker is correct, Google’s

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

懵懂的女人 提交于 2019-11-26 23:32:01
问题 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":

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

僤鯓⒐⒋嵵緔 提交于 2019-11-26 17:52:33
问题 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

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

☆樱花仙子☆ 提交于 2019-11-26 17:52:04
问题 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:/

Does Schema.org markup work if markup is dynamically built with JavaScript?

穿精又带淫゛_ 提交于 2019-11-26 13:50:33
I have a page where some events are dynamically loaded by reading some JSON with JavaScript. I build a div for every event with the Event Schema.org markup. Google's testing tool doesn't read this markup. Is it because of an error in the markup, or is it because of the dynamic loading? The HTML code of one Event is: <div class="evento well" itemscope itemtype="http://schema.org/Event"> <meta itemprop="startDate" content="2015-03-20T20:00:00.000Z"> <meta itemprop="endDate" content="2015-01-21T20:00:00.000Z"> <div class="dataEvento"> <div class="dayWeekEvento">venerdì</div> <div class=

How to implement “mainEntityOfPage” to this specific site?

ⅰ亾dé卋堺 提交于 2019-11-26 07:38:57
问题 Please take a look here: https://developers.google.com/structured-data/testing-tool?url=https%253A%252F%252Fglamourina.net%252Fen%252F How can I correctly add mainEntityOfPage to this site? In Google documentation example I see something like this: <div itemscope itemtype=\"http://schema.org/NewsArticle\"> <meta itemscope itemprop=\"mainEntityOfPage\" itemType=\"https://schema.org/WebPage\" itemid=\"https://google.com/article\"/> But this is a single author blog. And it features blogPosts.

Does Schema.org markup work if markup is dynamically built with JavaScript?

北慕城南 提交于 2019-11-26 03:44:30
问题 I have a page where some events are dynamically loaded by reading some JSON with JavaScript. I build a div for every event with the Event Schema.org markup. Google\'s testing tool doesn\'t read this markup. Is it because of an error in the markup, or is it because of the dynamic loading? The HTML code of one Event is: <div class=\"evento well\" itemscope itemtype=\"http://schema.org/Event\"> <meta itemprop=\"startDate\" content=\"2015-03-20T20:00:00.000Z\"> <meta itemprop=\"endDate\" content=