Warning: This tool or project is no longer maintained and kept available only for archival purposes. Since GoodRelations and schema.org have evolved significantly in the past years, the current status available on this page is unlikely to function as expected. We take no responsibility for any damage caused by the use of this outdated work, to the extent legally possible.

Due to a lack of resources, we are unable to provide support for this project outside of consulting projects or sponsored research. Please contact us if you can contribute resources to update and enhance these resources.

GoodRelations - The Web Vocabulary for E-Commerce

This is the archive of the goodrelations dicussion list

GoodRelations is a standardized vocabulary for product, price, and company data that can (1) be embedded into existing static and dynamic Web pages and that (2) can be processed by other computers. This increases the visibility of your products and services in the latest generation of search engines, recommender systems, and other novel applications.

[goodrelations] question re: OpeningHoursSpecification

Gerald LeRoy gerald_leroy at yahoo.com
Sun Dec 1 11:33:26 CET 2013


Hello,

I looked through the spec and also through the email archives but couldn't find the answer to this question.

Can anyone help?

The code block below validates with no errors in the Good Relations Validator.

However when the code block is run through the Google Structured Data Testing Tool, the following error is returned:
"Error: "name" field in ProductOrServicesSomeInstancesPlaceholder / ProductOrServicesModel is required."

<div itemprop="http://purl.org/goodrelations/v1#hasOpeningHoursSpecification" itemscope 
       itemtype="http://purl.org/goodrelations/v1#OpeningHoursSpecification">
Opening hours: Mo-Fri,
     <link itemprop="hasOpeningHoursDayOfWeek" 
           href="http://purl.org/goodrelations/v1#Monday" />
     <link itemprop="hasOpeningHoursDayOfWeek" 
           href="http://purl.org/goodrelations/v1#Tuesday" />
     <link itemprop="hasOpeningHoursDayOfWeek" 
           href="http://purl.org/goodrelations/v1#Wednesday" />
     <link itemprop="hasOpeningHoursDayOfWeek" 
           href="http://purl.org/goodrelations/v1#Thursday" />
     <link itemprop="hasOpeningHoursDayOfWeek" 
           href="http://purl.org/goodrelations/v1#Friday" />
     <meta itemprop="opens" content="09:00:00">9:00 a.m. -
     <meta itemprop="closes" content="18:00:00">6:00 p.m.
  </div>

The error goes way when I insert this as the second line:
<span itemprop="name">The City Reader</span>

I'd rather not have to insert this new text to get the code to validate.  Is there a way to get the code above to validate without having to add new text?

Thanks,

Gerald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ebusiness-unibw.org/pipermail/goodrelations/attachments/20131201/53b27f82/attachment.html>


More information about the goodrelations mailing list