[Tagging] opening hours
deltafoxtrot256 at gmail.com
Sun Feb 21 13:19:37 GMT 2010
On 21 February 2010 22:59, Greg Troxel <gdt at ir.bbn.com> wrote:
I don't think vcal/ical is suitable, simply because it doesn't merge
the information into a single line/tag...
> Clearly opening hours more or less has a grammar (I wonder if anyone is
> trying to mcahine parse the values, and finding problems, or has a "find
> me an open foo nearby" service).
There is a PHP script that describes how to parse the current format:
> The current rules are geared towards weekly recurrence, which is of
> course a good match for (much of?) the real world.
Yes, and it also includes months...
> Su 10:00-12:00
> for third sunday, and
> Th[-1] 10:00-12:00
> for last thursday, plus
> We[-2] 19:00-21:00
> for penultimate wednesday (I know a place that gives ham radio exams on
> that actual schedule) would be minimally invasive to the current format
> and still capture the semantics of icalendar.
I have nothing against using this format, as long as we also
incorporate things like multiple weeks, eg
Although Tobias' point about this not being obvious human readable
form still holds.
More information about the Tagging