opening-hours: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(needs work per the process)
(fixed up intro and suggestions for clearly paths forward, added issues to the only proposal so far)
Line 1: Line 1:
'''This effort needs more work per the microformats [[process]]. It is incorrect to jump straight to a brainstorm proposal. [[User:Tantek|Tantek]] 18:03, 17 February 2011 (UTC)'''
This is 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.


== examples ==
== examples ==
Please see [[examples]] for how to research examples for a new format and then document them here:
* ...


Please see [[examples]] for how to research examples for a new format.
== existing formats ==
Please document research into existing (non-microformat) formats for publishing opening hours (if any).


== existing formats ==
Preferably, create a separate page [[opening-hours-formats]].
Please create a separate page [[opening-hours-formats]] to document research into existing formats for publishing opening hours (if any).
 
* ...


== brainstorming ==
== brainstorming ==
Please create a separate page [[opening-hours-brainstorming]], ''after'' the examples and formats research has been completed per the [[process]], and add brainstorm proposals there.
Brainstorming proposals should only be written up after examples and formats research has been completed per the [[process]].


Please create a separate page [[opening-hours-brainstorming]], and add brainstorm proposals there.


=== simple class proposal ===
=== simple class proposal ===
proposed Format:
proposed format:


<nowiki><span class="operating-hours">
<nowiki><span class="operating-hours">
Line 20: Line 25:


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


Use a semicolon to separate the different days or or time ranges.  
Use a semicolon to separate the different days or or time ranges.  
Line 26: Line 30:


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.
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:
<div class="issues discussion">
* no real world use case.  how would such a microformat help users? this should be documented in the introduction to an [[opening-hours]] effort. - [[User:Tantek|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. - [[User:Tantek|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. - [[User:Tantek|Tantek]] 21:17, 21 February 2011 (UTC)
* uses new datetime formats, e.g. "Tu-Sa". Is there some way to re-use ISO8601 instead? - [[User:Tantek|Tantek]] 21:17, 21 February 2011 (UTC)
* not international, e.g. "Tu-Sa". this could be addressed with ISO8601 usage instead. - [[User:Tantek|Tantek]] 21:17, 21 February 2011 (UTC)
</div>
== related ==
* [[hCard]]
* [[hCalendar]]

Revision as of 21:17, 21 February 2011

This is 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.

examples

Please see examples for how to research examples for a new format and then document them here:

  • ...

existing formats

Please document research into existing (non-microformat) formats for publishing opening hours (if any).

Preferably, create a separate page opening-hours-formats.

  • ...

brainstorming

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

Please create a separate page opening-hours-brainstorming, and add brainstorm proposals there.

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:

  • 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)

related