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.
Ben Dougall
ben at hdbatik.co.uk
Tue Oct 19 22:51:44 CEST 2010
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_Ho
urs) -- 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.