task

From Microformats Wiki
Revision as of 20:09, 12 November 2007 by WalterStevenson (talk | contribs)
Jump to navigation Jump to search

This page violates several aspects of the microformats process. In particular: failure to document examples, failure to document previous formats (e.g. VTODO in RFC2445), premature naming. Please read process and join the microformats-new mailing list before proceeding any further.

Tasks - Compound Microformat

This is just an initial draft

An extensible HTML format for creating/storing/sharing project TASKS. Vision: to achieve a level of recognition where MS Outlook, Mac Mail, and/or any other client app adopt this common, open standard for creating ToDos/Tasks; in turn, opening it up for use by developers worldwide in home-grown clients, widgets and applications.

To collaborate on the draft proposal, go to: walterstevenson.com/hTask

The Task Microformat may be based loosely on elements found in the VTODO spec. VTODO is part of the 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:

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

The unique properties of the existing VTODO format are:

  • completed The date/time the todo was completed
  • due The date/time this todo is due
  • 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,

<abbr class="due" title="2007-01-01T13:10:05.0Z">January 1, 2007</abbr>


Here is a full example,

<form id="form1" name="form1" method="post" action="">

Assign Task

<label>Title: <input type="text" name="textfield" /> </label>

<label class="priority">Priority: <select name="select7"> <option value="Low">Low</option> <option value="Medium" selected="selected">Medium</option> <option value="High">High</option> </select> </label>

<label class="dtend">Due date:
<input name="radiobutton" type="radio" value="radiobutton" checked="checked" /> <select name="select"> <option value="January" selected>January</option> <option value="February">February</option> <option value="March">March</option> <option value="April">April</option> <option value="May">May</option> <option value="June">June</option> <option value="July">July</option> <option value="August">August</option> <option value="September">September</option> <option value="October">October</option> <option value="November">November</option> <option value="December">December</option> </select> </label> <label> <select name="select2"> <option value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option value="05">05</option> <option value="06">06</option> <option value="07">07</option> <option value="08">08</option> <option value="09">09</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> </select> </label> <label> <select name="select3"> <option value="2007">2007</option> <option value="2008">2008</option> <option value="2009">2009</option> <option value="2010">2010</option> </select> </label>

<label class="rrule"> <input name="radiobutton" type="radio" value="radiobutton" /> Recurs: </label> <label class="freq"> <select name="select9"> <option value="Daily" selected="selected">Daily</option> <option value="Weekly">Weekly</option> <option value="Monthly">Monthly</option> <option value="Annually">Annually</option> </select> </label> <label>At: <select name="select10"> <option value="Early morning">Before 7AM</option> <option value="7:00 AM">7:00 AM</option> <option value="8:00 AM">8:00 AM</option> <option value="9:00 AM" selected>9:00 AM</option> <option value="10:00 AM">10:00 AM</option> <option value="11:00 AM">11:00 AM</option> <option value="12:00 PM">12:00 PM</option> <option value="1:00 PM">1:00 PM</option> <option value="2:00 PM">2:00 PM</option> <option value="3:00 PM">3:00 PM</option> <option value="4:00 PM">4:00 PM</option> <option value="5:00 PM">5:00 PM</option> <option value="6:00 PM">6:00 PM</option> <option value="7:00 PM">7:00 PM</option> <option value="Late night">After 7PM</option> </select> </label>

<label>Start date: <input name="radiobutton" type="radio" value="radiobutton" checked="checked" />Today <input name="radiobutton" type="radio" value="radiobutton" /> <select name="select11"> <option value="January" selected>January</option> <option value="February">February</option> <option value="March">March</option> <option value="April">April</option> <option value="May">May</option> <option value="June">June</option> <option value="July">July</option> <option value="August">August</option> <option value="September">September</option> <option value="October">October</option> <option value="November">November</option> <option value="December">December</option> </select> <select name="select13"> <option value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option value="05">05</option> <option value="06">06</option> <option value="07">07</option> <option value="08">08</option> <option value="09">09</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> </select> <select name="select4"> <option value="2007">2007</option> <option value="2008">2008</option> <option value="2009">2009</option> <option value="2010">2010</option> </select> </label>

<label class="dtrem"> <input type="checkbox" name="checkbox" value="checkbox" /> Alarm: <select name="select12"> <option value="January" selected>January</option> <option value="February">February</option> <option value="March">March</option> <option value="April">April</option> <option value="May">May</option> <option value="June">June</option> <option value="July">July</option> <option value="August">August</option> <option value="September">September</option> <option value="October">October</option> <option value="November">November</option> <option value="December">December</option> </select> <select name="select14"> <option value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option value="05">05</option> <option value="06">06</option> <option value="07">07</option> <option value="08">08</option> <option value="09">09</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> </select> <select name="select5"> <option value="2007">2007</option> <option value="2008">2008</option> <option value="2009">2009</option> <option value="2010">2010</option> </select> <select name="select6"> <option value="Early morning">Before 7AM</option> <option value="7:00 AM">7:00 AM</option> <option value="8:00 AM">8:00 AM</option> <option value="9:00 AM" selected>9:00 AM</option> <option value="10:00 AM">10:00 AM</option> <option value="11:00 AM">11:00 AM</option> <option value="12:00 PM">12:00 PM</option> <option value="1:00 PM">1:00 PM</option> <option value="2:00 PM">2:00 PM</option> <option value="3:00 PM">3:00 PM</option> <option value="4:00 PM">4:00 PM</option> <option value="5:00 PM">5:00 PM</option> <option value="6:00 PM">6:00 PM</option> <option value="7:00 PM">7:00 PM</option> <option value="Late night">After 7PM</option> </select> </label>

<label class="fn">Assigned to: <input type="text" name="textfield2" /> </label>

<label class="cc">Send a copy to: <input type="text" name="textfield22" /> </label>

<label class="enclosure">Associate a file URI: <input type="text" name="textfield222" /> </label> <label rel="enclosure"></label>

<label class="summary">Summary: <textarea name="textarea"></textarea> </label>

<input type="submit" name="Submit3" value="Save and Close" />


Advanced Options:

<label class="status">Status: <select name="select8"> <option value="Active" selected="selected">Active</option> <option value="Disabled">Disabled</option> <option value="Complete">Complete</option> </select> </label>

<label class="privacy">Privacy: <input name="radiobutton" type="radio" value="radiobutton" checked="checked" /> Public</label> <label class="privacy"> <input name="radiobutton" type="radio" value="radiobutton" /> Private </label>

<label class="category">Category: <input type="text" name="textfield3" /> </label>

<label rel="meta">Tags: <input type="text" name="textfield4" /> </label>

<label rel="org">Group / Team : <input type="text" name="textfield32" /> </label>

<label rel="par">Parent Task URI: <input type="text" name="textfield6" /> </label>

<label rel="dep">Dependency Task (Critical Path) URI: <input type="text" name="textfield7" /> </label>

<input type="submit" name="Submit32" value="Save and Close" />

</form>