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] opening times specification

Ben Dougall ben at hdbatik.co.uk
Tue Oct 26 16:53:33 CEST 2010

I'll try using Microformats. See how I get on with that.

On 19 Oct, 2010, at 9:51 pm, Ben Dougall wrote:

> Hello,
> Regarding using GoodRelations to specify opening times data. Would the  
> following work, or not, could anyone tell me please?
> Emit from a webpage two main types of opening times blocks of data at  
> the same time:
> 1. A weekly, Mon-Sun normal opening times (as demonstrated in the  
> example here:  
> http://www.ebusiness-unibw.org/wiki/ 
> GoodRelationsQuickstart#Shop.2C_Restaurant.2C_or_Store.2C_and_Opening_H 
> ours) -- that is Mon-Sun (or Mon-Sat if closed days aren't to be  
> specified) without any dates so to be applied indefinitely.
> 2. A day with a specific date range (a date range which covers just  
> that one day) with different to the normal opening times, using this  
> kind of code:
>         <div property="gr:validFrom" content="2010-10-10T00:00:00Z"  
> datatype="xsd:dateTime"></div>
>         <div property="gr:validThrough" content="2010-10-10T23:59:59Z"  
> datatype="xsd:dateTime"></div>
> The idea being that the day's opening times specified with the  
> specific date range would over-ride its day's standard times. This  
> seems the most logical way to do it but I've yet to find out if it'd  
> be illegal according to GR's rules, or legal but not a good idea, or  
> absolutely fine, or what? I have no idea if it'd work or not. Would  
> it?
> Another question: is there a way to specify "closed"?
> Thanks, Ben.

More information about the goodrelations mailing list