opening-hours-brainstorming: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(→‎simple class proposal: Adds not that iso8601 lacks dow support.)
(calendar of unnamed events)
Line 7: Line 7:
== brainstorming ==
== brainstorming ==
Brainstorming proposals should only be written up after examples and formats research has been completed per the [[process]].
Brainstorming proposals should only be written up after examples and formats research has been completed per the [[process]].
=== calendar of unnamed events ===
As suggested by jacky in [[irc]], a calendar of unnamed events (using [[h-event]]), perhaps nested in the venue's [[h-card]], maybe sufficient to imply/convey opening hours for those days.


=== simple class proposal ===
=== simple class proposal ===

Revision as of 02:26, 20 February 2021

This is part of an effort per the microformats process to research, gather examples, and brainstorm for a microformat for marking up the opening hours for a business or organization.

brainstorming

Brainstorming proposals should only be written up after examples and formats research has been completed per the process.

calendar of unnamed events

As suggested by jacky in irc, a calendar of unnamed events (using h-event), perhaps nested in the venue's h-card, maybe sufficient to imply/convey opening hours for those days.

simple class proposal

proposed format:

<span class="operating-hours"> Tu-Sa 08:00-15:00; Sa 08:00-12:00 </span>

see it here: http://www.geodatacheck.com/p/2

Use a semicolon to separate the different days or or time ranges. Use two letter english day names. Times are local times with leading zero

This is the format as used in openstreetmap.org for a node description with opening hours. Openstreetmap has very rigid semantics, so it makes sense to follow their format. There are several issues with proposal:

  • citation needed - please provide a link to where Openstreetmap defines this format on the opening-hours-formats page. - Tantek 18:08, 21 December 2012 (UTC)
  • no real world use case. how would such a microformat help users? this should be documented in the introduction to an opening-hours effort. - Tantek 21:17, 21 February 2011 (UTC)
  • proposal is 'a priori' - that is proposal has been made without documentation of real world examples per the process. please document real world examples of pages that would benefit from this markup so we can design the format only for their needs and no more. - Tantek 21:17, 21 February 2011 (UTC)
  • did not research previous formats. we have no idea if this effort is reinventing various wheels or not. - Tantek 21:17, 21 February 2011 (UTC)
  • uses new datetime formats, e.g. "Tu-Sa". Is there some way to re-use ISO8601 instead? - Tantek 21:17, 21 February 2011 (UTC)
  • not international, e.g. "Tu-Sa". this could be addressed with ISO8601 usage instead. - Tantek 21:17, 21 February 2011 (UTC)

I don't see anything in ISO 8601 to specify days of the week. Btrem (talk) 17:02, 16 December 2020 (UTC)

related

see also