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] Modelling opening hours where shop closes on the following day and multiple intraday timespans

László Török ltorokjr at gmail.com
Wed Sep 12 17:36:15 CEST 2012


Is there any recommendation how should one modell the following opening
hours pattern:

Fri: 7pm - 2am (next day)

The following seems a bit odd:

<div rel="gr:hasOpeningHoursSpecification">
    <div typeof="gr:OpeningHoursSpecification"> Opening hours: Fri,
     <div rel="gr:hasOpeningHoursDayOfWeek"
     <div property="gr:opens" content="19:00:00"
datatype="xsd:time">7:00 p.m. - </div>
     <div property="gr:closes" content="02:00:00"
datatype="xsd:time">2:00 a.m.</div>

it becomes confusing, if I want to specify multiple intraday time spans,
which is common for restaurants:

e.g.  Mo-Fri: 10am - 3pm, 5pm - 11pm

Is there a compact way to represent this or should one provide two
gr:OpeningHoursSpecification nodes to describe those.

There is a recommendation for schema.org: http://schema.org/LocalBusiness

László Török
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ebusiness-unibw.org/pipermail/goodrelations/attachments/20120912/d99c9bc2/attachment.html>

More information about the goodrelations mailing list