schema.org

Microdata/Schema.org/SEO: How to properly set a ContactPoint

拈花ヽ惹草 提交于 2019-12-10 15:31:24
问题 After adding microdata to a page, I usually go to: https://developers.google.com/webmasters/structured-data/testing-tool/ to test it out and to make sure there's nothing missing. I am getting the following error: "ContactPoint must be attached to a parent with a declared type" I am not sure what I am missing...? Sample HTML <div itemscope itemtype="http://schema.org/Person"> <p> <span itemprop="description">Webmaster</span>: <span itemprop="name">Omar</span> <br/><a itemprop="url" href="https

schema.org: Multiple opening hours on same day

对着背影说爱祢 提交于 2019-12-10 14:48:56
问题 I'm building a website for a small store and want to implement schema.org-microdata-markup. The "problem": The store is opened from Tuesday till Friday – from 10:00 till 14:00 AND from 16:30 till 23:00 on these days. So I implemented the opening hours like this… <time itemprop="openingHours" datetime="Tu-Fr 10:00-14:00, 16:00-23:00">XYZ</time> But this way, the HTML-validator says… Bad value Tu-Fr 10:00-14:00, 16:00-23:00 for attribute datetime on element time: The literal did not satisfy the

Using HTML5+Microdata's <meta> tag in the <body>

送分小仙女□ 提交于 2019-12-10 13:44:23
问题 I want to specify if the Product is "In Stock" using HTML5+Microdata's <meta> tag using Schema.org. I am unsure if this is the correct syntax: <div itemscope itemtype="http://schema.org/Product"> <h2 itemprop="name">Product Name</h2> <dl itemprop="offers" itemscope itemtype="http://schema.org/Offer"> <dt itemprop="price">$1</dt> <meta itemprop="availability" itemscope itemtype="http://schema.org/ItemAvailability" itemid="http://schema.org/InStock"> </dl> </div> 回答1: The meta tag can't be used

How do I correctly markup a Product within an Offer within a Product?

a 夏天 提交于 2019-12-10 10:38:36
问题 I am getting Google Search console errors on the Product pages for a website I maintain, and I'm not sure how to resolve the errors. The error I'm getting is: One of offers or review or aggregateRating should be provided. This is simple enough to fix normally, however my confusion is that I am already providing the offers data in a different portion of the json ld. The structure of my Product json ld is Product{ Offers{ Product {} Product {} } } Where the nested products are the different

Schema.org for the FAQ page

痴心易碎 提交于 2019-12-10 10:33:52
问题 I have a FAQ page and I want to do it with better html-schema. <main role="main" itemscope itemtype="http://schema.org/WebPage"> <article itemprop="mainContentOfPage"> <header> <h1>Frequently Asked Questions</h1> </header> <section itemscope itemtype="http://schema.org/Question"> <h2 itemprop="name">Some question #1</h2> <p itemprop="suggestedAnswer acceptedAnswer" itemscope itemtype="http://schema.org/Answer"> <span itemprop="text">This is an answer #1</span> </p> </section> <section

QAPage with multiple questions

守給你的承諾、 提交于 2019-12-10 09:56:16
问题 Is it possible to list multiple questions in the question markup and link them to one QAPage ? When I try the following JSON-LD, the Google test tool responds with the error that there is only one question allowed: Exactly one Question expected on page for QAPage . <script type="application/ld+json"> { "@context": "http://schema.org/", "@type": "QAPage", "@id": "QAPage1", "description":"Blabla Blabla Blabla Blabla Blabla Blabla.", "image":"https://www.example.com/images/blabla.jpg", "name":

Schema.org openingHours w/ multiple times & days that are closed

a 夏天 提交于 2019-12-10 04:25:00
问题 I've looked at the Schema.org spec for opening hours, but it seems to fail to address two key items: 1) Localbusinesses that have multiple hours (ie 8-12, 1-5 with the hole in the middle being closed for lunch) 2) Days where the business is closed altogether. I can't find any examples of anyone else doing it on google, this is my code for just normal hours (9-5) and my GUESS for how to handle days that are closed. Can someone chime in on multiple hours and confirm my handling of closed days

Using Microdata with schema.org/OpeningHoursSpecification

£可爱£侵袭症+ 提交于 2019-12-09 18:00:53
问题 I'm looking at http://schema.org/OpeningHoursSpecification Microdata schema for places (and more). I'm a little bit confused on the value to be used for DayOfWeek. Both classes ( OpeningHoursSpecification and DayOfWeek ) are derived from the GoodRelations Vocabulary for E-Commerce and I'm not confident with this vocabulary. Please, can you post a full example? 回答1: The enumerations (list of predefined values) of the GoodRelations model remain in the GoodRelations namespace, i.e. for Mondays,

how can i send a json+ld schema.org email to myself in gmail

China☆狼群 提交于 2019-12-09 16:30:51
问题 gmail recently announced schema.org support for in-app and one-click actions. They note that one can immediately test out the schema by sending an email from oneself to oneself i.e. from x@gmail.com to x@gmail.com (1) My question is how do i send an email with the json+ld schema.org markup - I can only send text and/or html and if i try to send using mailgun / sendgrid etc. than the email won't be from x@gmail.com So, how do i test this?? (1) https://developers.google.com/gmail/schemas

Can't get gmail one click confirm action button working

落花浮王杯 提交于 2019-12-09 01:23:48
问题 I am following the guidelines as described here https://developers.google.com/gmail/schemas/reference/one-click-action But It's just wont appear for me. As described here Self testing You can easily test if your markup is working correctly end-to-end by sending emails with schemas to your Gmail account. All emails where the sender and the recipient are the same account ignore the registration requirements and can be used for self-testing. I am using my same gmail address in both to and from