schema.org

Proper datetime attribute for <time>

走远了吗. 提交于 2019-11-28 10:47:07
问题 While Schema.org writes Here is an example: <time itemprop="openingHours" datetime="Tu,Th 16:00-20:00">Tuesdays and Thursdays 4-8pm</time> . on the HTML5 validator I get this error: Bad value Mo, Tu, We, Th, Fr 09:00-16:00 for attribute datetime on element time : The literal did not satisfy the time-datetime format. …" datetime="Mo, Tu, We, Th, Fr 09:00-16:00">every work day 9am to 16pm </time></li> I really want to communicate the opening hours (and days) in Microdata, but it seems this is

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

Are there tags to specify the Google +1 story format in Google+ like og-meta for Facebook?

被刻印的时光 ゝ 提交于 2019-11-28 04:56:51
With Facebook we have the Open Graph tags that allow webmasters to specify how the story is displayed on Facebook. Is there something similar for the Google +1 button, that allows webmasters to specify the thumbnail image, description and title? Google+ seems to be ignoring the og-meta tags . texmex5 From Google+ help docs, we now have an official answer . Google uses schema.org microdata to generate rich snippets in search (and in Google+). There's a lot written about schema.org and how it relates to Facebook OpenGraph in these two links: See: http://www.google.com/support/webmasters/bin

Schema.org: Use Microdata, RDFa or JSON-LD?

淺唱寂寞╮ 提交于 2019-11-28 04:56:40
问题 Are there any advantages/disadvantages in using a specific format for http://www.schema.org/Product? Something like "Searchengines understand Microdata better than JSON-LD"? I would like to use JSON-LD, because it doesn't mess-up with your html-code, but I'm not sure if it would be better concerning the searchengines to use Microdata. 回答1: There is no general answer, it depends on the consumer of the data. A specific consumer supports a specific set of syntaxes, and might or might not

How to approach schema.org microdata markup in an product offers aggregation page

血红的双手。 提交于 2019-11-28 04:27:33
问题 Example page is: http://www.uswitch.com/mobiles/deals/apple_iphone_4s/ This page aggregates all contract deals for a specific handset, I am looking to add schema.org microdata on the rows and from what I understand, it appears I should markup each row with schema.org/Offer This will result in something like: Offer [itemOffered: x , price: a, ... other variations...] ... Offer [itemOffered: x , price: b, ... other variations...] Would this be the best way to go about this? Google guidelines

Microdata, RDFa or JSON-LD Appropriate or best usage?

烈酒焚心 提交于 2019-11-28 03:26:40
I have been wondering which of those formats is "best"? Schema.org, Microdata, and RDFa are bit of a pain to implement. They can break validation and require quite an effort to put into documents. JSON-LD is, at last for me, a way better to implement structured data. But does it work? What level of support is there for it (at least by Google)? unor Schema.org is a vocabulary that can, like any other vocabulary, be used in many forms. The website http://schema.org/ has examples using Microdata and the RDF syntaxes RDFa and JSON-LD , but these are not the only syntaxes it can be used with. You

The difference between isPartOf and hasPart in Schema.org?

冷暖自知 提交于 2019-11-28 02:18:58
What is the difference between the Schema.org properties isPartOf and hasPart and when to use the one instead of the other? As noted on their pages, they are inverse properties . As an example, let’s take a webpage that is part of a website. You could then state one of these: WebSite hasPart WebPage WebPage isPartOf WebSite It doesn’t matter which one you choose. (But there might of course be consumers that only recognize one of these properties.) Note: Most of the time, Schema.org doesn’t define an inverse equivalent for a property. For example, there is author , but no authorOf . This is

Schema.org: How to extend a Class or Type

亡梦爱人 提交于 2019-11-28 02:14:20
I have to model a product, which has properties that aren't listed in the Schema.org Product type. After seeking in many places, I didn't find anything that fits to my need. How can I extend the Schema.org Product type? You could always use other vocabularies (that offer the properties you need) in addition to Schema.org. But if you want to use only the vocabulary Schema.org, you have two options in general: Propose new properties (or classes). You can do this on Schema.org W3C Community Group ’s mailing list , or on Schema.org’s GitHub issue tracker . See: How can I get involved? How can I

How to use Microdata throughout a LocalBusiness website

自古美人都是妖i 提交于 2019-11-28 01:33:57
I am getting involved into Microdata and rich snippets for leading better search results. I am kind of confused about where to set the itemscope for a LocalBusiness and if it is good or bad to have it repeated through out the whole website over and over. For example on the header that repeats all over the site, page after page, I have the business name, telephone, address, logo, description, etc. Is it good to repeat the same itemscope over and over on each page, or it should be only added to one page, for instance only on the index or only on the contact page? Simplified version (no address,

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