|
|
(37 intermediate revisions by one other user not shown) |
Line 1: |
Line 1: |
| <h1>Tasks - Compound Microformat</h1>
| | = Tasks - Compound Microformat = |
|
| |
|
| ''This is just an initial draft'' | | ''Initial draft'' |
|
| |
|
| <h2>Problem</h2>
| | This wiki page outlines the overall effort to develop a task microformat. We intend to document [[task-examples|current examples of tasks]] on the web today, their implicit/explicit schemas, and current task/to-do formats, with the intent of deriving a task microformat from that research. |
| Currently there is no extensible HTML format for creating/storing/sharing project TASKS. Tasks and ToDo items are typically handled by proprietary desktop software clients like mail programs and calendar applications but cannot be shared across platforms or between applications.
| |
|
| |
|
| <h2>Example Uses</h2>
| | __TOC__ |
| * [http://www.http://basecamphq.com/demos/todos/ BaseCamp ToDos]
| |
| * [http://www.http://http://office.microsoft.com/en-us/outlook/HA100820301033.aspx?pid=CH101032731033/ Microsoft Outlook Tasks and SharePoint]
| |
| * [http://www.apple.com/macosx/features/mail.html Mac Mail ToDos]
| |
| * [http://wiki.mozilla.org/Calendar:Lightning Mozilla Thunderbird Calendaring Extension: Lightning]
| |
|
| |
|
| <h2>Vision</h2>
| | ;Authors |
| To create a Task Microformat for 1) open use in home-grown clients, widgets and applications and 2) adopted for integration with popular software applications such as Microsoft Outlook, Mozilla Thunderbird, Mac Mail, and other
| | :[http://www.walterstevenson.com/ Walter Stevenson] |
|
| |
|
| <h2>Previous Formats</h2>
| | == Copyright == |
| The Task Microformat may be based loosely on elements found in the VTODO spec. [http://en.wikipedia.org/wiki/ICalendar#To-do_.28VTODO.29 VTODO] is part of the [http://www.ietf.org/rfc/rfc2445.txt RFC2445 iCalendar spec] used for describing task items. VTODO is fairly straight-forward, as it doesn't contain any nested entities, and has a fairly small list of properties. Most of these it shares with VEVENT, suggesting a Task Microformat be modeled on hevent in [[hcalendar]], and the ground assumption is that htodo should work just like hevent with respect to these properties. The shared properties in this case might include:
| | {{MicroFormatCopyrightStatement2004}} |
| | * [[User:WalterStevenson|Walter Stevenson]]: I release all my contributions to this specification into the public domain and I encourage the other authors to do so as well. |
| | ** When all authors/editors have done so, we can remove the MicroFormatCopyrightStatement template reference and replace it with the MicroFormatPublicDomainContributionStatement. |
|
| |
|
| ''class, created, description, dtstamp, dtstart, geo, last-mod, location, organizer, priority, recurid, seq, statusm summary, uid, url, duration, attach, attendee, categories, comment, contact, exdate, exrule, rstatus, related, resources, rdate, rrule, x-prop''
| | == Semantic XHTML Design Principles == |
| | {{semantic-xhtml-design-principles}} |
|
| |
|
| The unique properties of the existing VTODO format are:
| |
|
| |
|
| * '''completed''' The date/time the todo was completed
| | == Purpose == |
| * '''due''' The date/time this todo is due
| | '''The Challenge''': Currently there is no extensible hypertext format for creating, exporting, and sharing project TASKS. Tasks and ToDo items are typically handled by proprietary desktop software clients like mail programs and calendar applications that are not: |
| * '''percent''' Integer from 0-100, completion status
| |
|
| |
|
| As the data types for '''completed''' and '''due''' are the same as, e.g., '''dtstart''', then the usage should be the same. For example,
| | * open to the web development community |
| | * extensible for future usage scenarios |
| | * interoperable between applications |
| | * portable between systems |
| | * accessible for persons with disabilities |
|
| |
|
| <abbr class="due" title="2007-01-01T13:10:05.0Z">January 1, 2007</abbr>
| |
|
| |
|
| <h2>Model Implementation (Code Snippet)</h2>
| | '''The Vision''': To create a fully-functional Task Microformat for 1) open use in home-grown clients, widgets and applications and 2) adopted for integration with existing software applications such as Microsoft Outlook, Mozilla Thunderbird, Mac Mail, and other popular programs. |
|
| |
|
| <form id="form1" name="form1" method="post" action=""> <br/> <h2> Assign Task</h2> <br/> <p> <br/> <label> <strong> Title:</strong> <br/> <input type="text" name="textfield" /> <br/> </label> <br/> </p> <br/> <p> <br/> <label class="priority"> <strong> Priority:</strong> <br/> <select name="select7"> <br/> <option value="Low"> Low</option> <br/> <option value="Medium" selected="selected"> Medium</option> <br/> <option value="High"> High</option> <br/> </select> <br/> </label> <br/> </p> <br/> <p> <br/> <label class="dtend"> <strong> Due date:</strong> <br/> <br /> <br/> <input name="radiobutton" type="radio" value="radiobutton" checked="checked" /> <br/> <select name="select"> <br/> <option value="January" selected> January</option> <br/> <option value="February"> February</option> <br/> <option value="March"> March</option> <br/> <option value="April"> April</option> <br/> <option value="May"> May</option> <br/> <option value="June"> June</option> <br/> <option value="July"> July</option> <br/> <option value="August"> August</option> <br/> <option value="September"> September</option> <br/> <option value="October"> October</option> <br/> <option value="November"> November</option> <br/> <option value="December"> December</option> <br/> </select> <br/> </label> <br/> <label> <br/> <select name="select2"> <br/> <option value="01"> 01</option> <br/> <option value="02"> 02</option> <br/> <option value="03"> 03</option> <br/> <option value="04"> 04</option> <br/> <option value="05"> 05</option> <br/> <option value="06"> 06</option> <br/> <option value="07"> 07</option> <br/> <option value="08"> 08</option> <br/> <option value="09"> 09</option> <br/> <option value="10"> 10</option> <br/> <option value="11"> 11</option> <br/> <option value="12"> 12</option> <br/> <option value="13"> 13</option> <br/> <option value="14"> 14</option> <br/> <option value="15"> 15</option> <br/> <option value="16"> 16</option> <br/> <option value="17"> 17</option> <br/> <option value="18"> 18</option> <br/> <option value="19"> 19</option> <br/> <option value="20"> 20</option> <br/> <option value="21"> 21</option> <br/> <option value="22"> 22</option> <br/> <option value="23"> 23</option> <br/> <option value="24"> 24</option> <br/> <option value="25"> 25</option> <br/> <option value="26"> 26</option> <br/> <option value="27"> 27</option> <br/> <option value="28"> 28</option> <br/> <option value="29"> 29</option> <br/> <option value="30"> 30</option> <br/> <option value="31"> 31</option> <br/> </select> <br/> </label> <br/> <label> <br/> <select name="select3"> <br/> <option value="2007"> 2007</option> <br/> <option value="2008"> 2008</option> <br/> <option value="2009"> 2009</option> <br/> <option value="2010"> 2010</option> <br/> </select> <br/> </label> <br/> </p> <br/> <p> <br/> <label class="rrule"> <br/> <input name="radiobutton" type="radio" value="radiobutton" /> <br/> Recurs: <br/> </label> <br/> <label class="freq"> <br/> <select name="select9"> <br/> <option value="Daily" selected="selected"> Daily</option> <br/> <option value="Weekly"> Weekly</option> <br/> <option value="Monthly"> Monthly</option> <br/> <option value="Annually"> Annually</option> <br/> </select> <br/> </label> <br/> <label> At: <br/> <select name="select10"> <br/> <option value="Early morning"> Before 7AM</option> <br/> <option value="7:00 AM"> 7:00 AM</option> <br/> <option value="8:00 AM"> 8:00 AM</option> <br/> <option value="9:00 AM" selected> 9:00 AM</option> <br/> <option value="10:00 AM"> 10:00 AM</option> <br/> <option value="11:00 AM"> 11:00 AM</option> <br/> <option value="12:00 PM"> 12:00 PM</option> <br/> <option value="1:00 PM"> 1:00 PM</option> <br/> <option value="2:00 PM"> 2:00 PM</option> <br/> <option value="3:00 PM"> 3:00 PM</option> <br/> <option value="4:00 PM"> 4:00 PM</option> <br/> <option value="5:00 PM"> 5:00 PM</option> <br/> <option value="6:00 PM"> 6:00 PM</option> <br/> <option value="7:00 PM"> 7:00 PM</option> <br/> <option value="Late night"> After 7PM</option> <br/> </select> <br/> </label> <br/> </p> <br/> <p> <br/> <label> <strong> Start date:</strong> <br/> <input name="radiobutton" type="radio" value="radiobutton" checked="checked" /> Today<br/> <input name="radiobutton" type="radio" value="radiobutton" /> <br/> <span class="dtend"> <br/> <select name="select11"> <br/> <option value="January" selected> January</option> <br/> <option value="February"> February</option> <br/> <option value="March"> March</option> <br/> <option value="April"> April</option> <br/> <option value="May"> May</option> <br/> <option value="June"> June</option> <br/> <option value="July"> July</option> <br/> <option value="August"> August</option> <br/> <option value="September"> September</option> <br/> <option value="October"> October</option> <br/> <option value="November"> November</option> <br/> <option value="December"> December</option> <br/> </select> <br/> </span> <br/> <select name="select13"> <br/> <option value="01"> 01</option> <br/> <option value="02"> 02</option> <br/> <option value="03"> 03</option> <br/> <option value="04"> 04</option> <br/> <option value="05"> 05</option> <br/> <option value="06"> 06</option> <br/> <option value="07"> 07</option> <br/> <option value="08"> 08</option> <br/> <option value="09"> 09</option> <br/> <option value="10"> 10</option> <br/> <option value="11"> 11</option> <br/> <option value="12"> 12</option> <br/> <option value="13"> 13</option> <br/> <option value="14"> 14</option> <br/> <option value="15"> 15</option> <br/> <option value="16"> 16</option> <br/> <option value="17"> 17</option> <br/> <option value="18"> 18</option> <br/> <option value="19"> 19</option> <br/> <option value="20"> 20</option> <br/> <option value="21"> 21</option> <br/> <option value="22"> 22</option> <br/> <option value="23"> 23</option> <br/> <option value="24"> 24</option> <br/> <option value="25"> 25</option> <br/> <option value="26"> 26</option> <br/> <option value="27"> 27</option> <br/> <option value="28"> 28</option> <br/> <option value="29"> 29</option> <br/> <option value="30"> 30</option> <br/> <option value="31"> 31</option> <br/> </select> <br/> <select name="select4"> <br/> <option value="2007"> 2007</option> <br/> <option value="2008"> 2008</option> <br/> <option value="2009"> 2009</option> <br/> <option value="2010"> 2010</option> <br/> </select> <br/> </label> <br/> </p> <br/> <p> <br/> <label class="dtrem"> <br/> <input type="checkbox" name="checkbox" value="checkbox" /> <br/> <strong> Alarm:</strong> <br/> <select name="select12"> <br/> <option value="January" selected> January</option> <br/> <option value="February"> February</option> <br/> <option value="March"> March</option> <br/> <option value="April"> April</option> <br/> <option value="May"> May</option> <br/> <option value="June"> June</option> <br/> <option value="July"> July</option> <br/> <option value="August"> August</option> <br/> <option value="September"> September</option> <br/> <option value="October"> October</option> <br/> <option value="November"> November</option> <br/> <option value="December"> December</option> <br/> </select> <br/> <select name="select14"> <br/> <option value="01"> 01</option> <br/> <option value="02"> 02</option> <br/> <option value="03"> 03</option> <br/> <option value="04"> 04</option> <br/> <option value="05"> 05</option> <br/> <option value="06"> 06</option> <br/> <option value="07"> 07</option> <br/> <option value="08"> 08</option> <br/> <option value="09"> 09</option> <br/> <option value="10"> 10</option> <br/> <option value="11"> 11</option> <br/> <option value="12"> 12</option> <br/> <option value="13"> 13</option> <br/> <option value="14"> 14</option> <br/> <option value="15"> 15</option> <br/> <option value="16"> 16</option> <br/> <option value="17"> 17</option> <br/> <option value="18"> 18</option> <br/> <option value="19"> 19</option> <br/> <option value="20"> 20</option> <br/> <option value="21"> 21</option> <br/> <option value="22"> 22</option> <br/> <option value="23"> 23</option> <br/> <option value="24"> 24</option> <br/> <option value="25"> 25</option> <br/> <option value="26"> 26</option> <br/> <option value="27"> 27</option> <br/> <option value="28"> 28</option> <br/> <option value="29"> 29</option> <br/> <option value="30"> 30</option> <br/> <option value="31"> 31</option> <br/> </select> <br/> <select name="select5"> <br/> <option value="2007"> 2007</option> <br/> <option value="2008"> 2008</option> <br/> <option value="2009"> 2009</option> <br/> <option value="2010"> 2010</option> <br/> </select> <br/> <select name="select6"> <br/> <option value="Early morning"> Before 7AM</option> <br/> <option value="7:00 AM"> 7:00 AM</option> <br/> <option value="8:00 AM"> 8:00 AM</option> <br/> <option value="9:00 AM" selected> 9:00 AM</option> <br/> <option value="10:00 AM"> 10:00 AM</option> <br/> <option value="11:00 AM"> 11:00 AM</option> <br/> <option value="12:00 PM"> 12:00 PM</option> <br/> <option value="1:00 PM"> 1:00 PM</option> <br/> <option value="2:00 PM"> 2:00 PM</option> <br/> <option value="3:00 PM"> 3:00 PM</option> <br/> <option value="4:00 PM"> 4:00 PM</option> <br/> <option value="5:00 PM"> 5:00 PM</option> <br/> <option value="6:00 PM"> 6:00 PM</option> <br/> <option value="7:00 PM"> 7:00 PM</option> <br/> <option value="Late night"> After 7PM</option> <br/> </select> <br/> </label> <br/> </p> <br/> <p> <br/> <label class="fn"> <strong> Assigned to:</strong> <br/> <input type="text" name="textfield2" /> <br/> </label> <br/> </p> <br/> <p> <br/> <label class="cc"> <strong> Send a copy to:</strong> <br/> <input type="text" name="textfield22" /> <br/> </label> <br/> </p> <br/> <p> <br/> <label class="enclosure"> <strong> Associate a file URI:</strong> <br/> <input type="text" name="textfield222" /> <br/> </label> <br/> <label rel="enclosure"> </label> <br/> </p> <br/> <p> <br/> <label class="summary"> <strong> Summary:</strong> <br/> <textarea name="textarea"> </textarea> <br/> </label> <br/> </p> <br/> <p> <br/> <input type="submit" name="Submit3" value="Save and Close" /> <br/> </p> <br/> <hr /> <br/> <h3> Advanced Options:</h3> <br/> <p> <br/> <label class="status"> <strong> Status:</strong> <br/> <select name="select8"> <br/> <option value="Active" selected="selected"> Active</option> <br/> <option value="Disabled"> Disabled</option> <br/> <option value="Complete"> Complete</option> <br/> </select> <br/> </label> <br/> </p> <br/> <p> <br/> <label class="privacy"> <strong> Privacy:</strong> <br/> <input name="radiobutton" type="radio" value="radiobutton" checked="checked" /> Public</label> <br/> <label class="privacy"> <br/> <input name="radiobutton" type="radio" value="radiobutton" /> Private<br/> </label> <br/> </p> <br/> <p> <br/> <label class="category"> <strong> Category:</strong> <br/> <input type="text" name="textfield3" /> <br/> </label> <br/> </p> <br/> <p> <br/> <label rel="meta"> <strong> Tags:</strong> <br/> <input type="text" name="textfield4" /> <br/> </label> <br/> </p> <br/> <p> <br/> <label rel="org"> <strong> Group / Team :</strong> <br/> <input type="text" name="textfield32" /> <br/> </label> <br/> </p> <br/> <p> <br/> <label rel="par"> <strong> Parent Task URI:</strong> <br/> <input type="text" name="textfield6" /> <br/> </label> <br/> </p> <br/> <p> <br/> <label rel="dep"> <strong> Dependency Task (Critical Path) URI:</strong> <br/> <input type="text" name="textfield7" /> <br/> </label> <br/> </p> <br/> <p> <br/> <input type="submit" name="Submit32" value="Save and Close" /> <br/> <!-- Submit button must dynamically assign orignator, timezone, creation date, duration, 0% progress, etc. --> <br/> <br /> <br/> </p> <br/> </form> <br/>
| | == Participants == |
| | * [http://www.walterstevenson.com/ Walter Stevenson] |
|
| |
|
| <h2>More Information</h2>
| | == Example Tasks == |
| To collaborate on the draft proposal, go to: [http://www.activemechanics.com/resources/htask activemechanics.com/resources/hTask]
| | [[task-examples|Task Examples]] are task formats found in the wild that could benefit from semantic mark-up. This is a growing list of examples from all sorts of places including web-based task management widgets as well as full-blown, proprietary desktop applications. These are the examples which will determine the schema for the task microformat. |
| | |
| | == Known Task Formats == |
| | |
| | [[task-formats|Task Formats]] will be a running tab of known formats for publishing tasks. |
| | |
| | Eventually, I would like to see a chart of how each value from the implicit schema determined by the [[task-examples]] is represented in each format, and what formats have additional properties that do not map between them. |
| | |
| | == Proposed Task Format == |
| | |
| | [[task-brainstorming|A Proposed Task Format]] will derive from existing formats, incorporating useful patterns while maintaining semantic, extensible markup. |
| | |
| | == See Also == |
| | * [[task-examples|Task Examples]] |
| | * [[task-formats|Task Formats]] |
| | * [[task-brainstorming|Task Brainstorming]] |
| | * [[task-faq|Task FAQ]] |
Tasks - Compound Microformat
Initial draft
This wiki page outlines the overall effort to develop a task microformat. We intend to document current examples of tasks on the web today, their implicit/explicit schemas, and current task/to-do formats, with the intent of deriving a task microformat from that research.
- Authors
- Walter Stevenson
Copyright
This specification is (C) 2004-2024 by the authors. However, the authors intend to submit (or already have submitted, see details in the spec) this specification to a standards body with a liberal copyright/licensing policy such as the GMPG, IETF, and/or W3C. Anyone wishing to contribute should read their copyright principles, policies and licenses (e.g. the GMPG Principles) and agree to them, including licensing of all contributions under all required licenses (e.g. CC-by 1.0 and later), before contributing.
- Walter Stevenson: I release all my contributions to this specification into the public domain and I encourage the other authors to do so as well.
- When all authors/editors have done so, we can remove the MicroFormatCopyrightStatement template reference and replace it with the MicroFormatPublicDomainContributionStatement.
Semantic XHTML Design Principles
Note: the Semantic XHTML Design Principles were written primarily within the context of developing hCard and hCalendar, thus it may be easier to understand these principles in the context of the hCard design methodology (i.e. read that first). Tantek
XHTML is built on XML, and thus XHTML based formats can be used not only for convenient display presentation, but also for general purpose data exchange. In many ways, XHTML based formats exemplify the best of both HTML and XML worlds. However, when building XHTML based formats, it helps to have a guiding set of principles.
- Reuse the schema (names, objects, properties, values, types, hierarchies, constraints) as much as possible from pre-existing, established, well-supported standards by reference. Avoid restating constraints expressed in the source standard. Informative mentions are ok.
- For types with multiple components, use nested elements with class names equivalent to the names of the components.
- Plural components are made singular, and thus multiple nested elements are used to represent multiple text values that are comma-delimited.
- Use the most accurately precise semantic XHTML building block for each object etc.
- Otherwise use a generic structural element (e.g.
<span>
or <div>
), or the appropriate contextual element (e.g. an <li>
inside a <ul>
or <ol>
).
- Use class names based on names from the original schema, unless the semantic XHTML building block precisely represents that part of the original schema. If names in the source schema are case-insensitive, then use an all lowercase equivalent. Components names implicit in prose (rather than explicit in the defined schema) should also use lowercase equivalents for ease of use. Spaces in component names become dash '-' characters.
- Finally, if the format of the data according to the original schema is too long and/or not human-friendly, use
<abbr>
instead of a generic structural element, and place the literal data into the 'title' attribute (where abbr expansions go), and the more brief and human readable equivalent into the element itself. Further informative explanation of this use of <abbr>
: Human vs. ISO8601 dates problem solved
Purpose
The Challenge: Currently there is no extensible hypertext format for creating, exporting, and sharing project TASKS. Tasks and ToDo items are typically handled by proprietary desktop software clients like mail programs and calendar applications that are not:
- open to the web development community
- extensible for future usage scenarios
- interoperable between applications
- portable between systems
- accessible for persons with disabilities
The Vision: To create a fully-functional Task Microformat for 1) open use in home-grown clients, widgets and applications and 2) adopted for integration with existing software applications such as Microsoft Outlook, Mozilla Thunderbird, Mac Mail, and other popular programs.
Participants
Example Tasks
Task Examples are task formats found in the wild that could benefit from semantic mark-up. This is a growing list of examples from all sorts of places including web-based task management widgets as well as full-blown, proprietary desktop applications. These are the examples which will determine the schema for the task microformat.
Known Task Formats
Task Formats will be a running tab of known formats for publishing tasks.
Eventually, I would like to see a chart of how each value from the implicit schema determined by the task-examples is represented in each format, and what formats have additional properties that do not map between them.
Proposed Task Format
A Proposed Task Format will derive from existing formats, incorporating useful patterns while maintaining semantic, extensible markup.
See Also