hCalendar Microformat (part 2)

Roger Costello

Click arrow key () to navigate to next page

Recurring Events

rrule Property

  1. His wedding anniversary is yearly on Oct. 5
  1. His <span class="category">wedding anniversary</span> is
  2. <span class="rrule">
  3. <span class="freq">yearly</span>
  4. </span>
  5. on <abbr class="dtstart" title="2001-10-05">Oct. 5</abbr>

Alternate Representation

  1. <abbr class="rrule" title="freq=yearly">yearly</abbr>

rrule Subproperties

  1. <abbr class="rrule" title="freq=weekly;interval=2">...</abbr>

freq Qualifiers

  1. <abbr class="rrule" title="freq=daily;interval=2;count=10">...</abbr>
  1. <abbr class="rrule" title="freq=daily;count=10;interval=2">...</abbr>

freq Qualifiers

  1. <abbr class="rrule" title="freq=monthly;until=2008-01-01">...</abbr>

freq Qualifiers

  1. <abbr class="rrule" title="freq=yearly;bymonth=1">...</abbr>

by_____ Qualifiers

  1. <abbr class="rrule" title="freq=yearly;bymonth=1,6,12">...</abbr>

by_____ Qualifiers

by_____ Qualifiers

  1. <abbr class="rrule" title="freq=weekly;byday=tu;count=10">...</abbr>
  1. freq=weekly;byday=tu,th;byhour=9;byminute=30;until=2007-08-14

Negative Values

  1. <abbr class="rrule" title="freq=monthly;bymonthday=-1">...</abbr>

Example

  1. <h1>Pardon the Interruption</h1>
  2. <p><a href="http://sports.espn.go.com/espntv/espnShow?showID=EOPT">Pardon the Interruption</a>
  3. is a TV sports show. It airs Monday to Friday at 5:30pm ET on ESPN.
  4. The hosts of the show are longtime friends Tony Kornheiser and Michael Wilbon.
  5. They discuss - and frequently argue over - the top stories of the day in "sports... and other stuff".
  6. </p>

Here is the Marked up HTML Text

  1. <h1>Pardon the Interruption</h1>
  2. <p class="vevent">
  3. <a class="url uid summary" href="http://sports.espn.go.com/...">Pardon the Interruption</a>
  4. is a <span class="category">TV</span> <span class="category">sports</span> show.
  5. <abbr class="dtstart" title="2001-10-22">It airs</abbr>
  6. <abbr class="rrule" title="freq=weekly;byday=mo,tu,we,th,fr;byhour=17;byminute=30">
  7. Monday to Friday at 5:30pm</abbr>
  8. <abbr class="tzid" title="US-Eastern">ET</abbr> on ESPN.
  9. The hosts of the show are longtime friends
  10. <span class="hcard">
  11. <span class="fn n">
  12. <span class="given-name">Tony</span>
  13. <span class="family-name">Kornheiser</span>
  14. </span>
  15. </span>
  16. and ... (hCard for Michael Wilbon not shown)
  17. <span class="description">They discuss - and frequently argue over - the top stories of the
  18. day in "sports... and other stuff".</span>
  19. </p>

Here is the Marked up HTML Text

  1. <h1>Pardon the Interruption</h1>
  2. <p class="vevent">
  3. <a class="url uid summary" href="http://sports.espn.go.com/...">Pardon the Interruption</a>
  4. is a <span class="category">TV</span> <span class="category">sports</span> show.
  5. <abbr class="dtstart" title="2001-10-22">It airs</abbr>
  6. <abbr class="rrule" title="freq=weekly;byday=mo,tu,we,th,fr;byhour=17;byminute=30">
  7. Monday to Friday at 5:30pm</abbr>
  8. <abbr class="tzid" title="US-Eastern">ET</abbr> on ESPN.
  9. The hosts of the show are longtime friends
  10. <span class="hcard">
  11. <span class="fn n">
  12. <span class="given-name">Tony</span>
  13. <span class="family-name">Kornheiser</span>
  14. </span>
  15. </span>
  16. and ... (hCard for Michael Wilbon not shown)
  17. <span class="description">They discuss - and frequently argue over - the top stories of the
  18. day in "sports... and other stuff".</span>
  19. </p>

Here is the Marked up HTML Text

  1. <h1>Pardon the Interruption</h1>
  2. <p class="vevent">
  3. <a class="url uid summary" href="http://sports.espn.go.com/...">Pardon the Interruption</a>
  4. is a <span class="category">TV</span> <span class="category">sports</span> show.
  5. <abbr class="dtstart" title="2001-10-22">It airs</abbr>
  6. <abbr class="rrule" title="freq=weekly;byday=mo,tu,we,th,fr;byhour=17;byminute=30">
  7. Monday to Friday at 5:30pm</abbr>
  8. <abbr class="tzid" title="US-Eastern">ET</abbr> on ESPN.
  9. The hosts of the show are longtime friends
  10. <span class="hcard">
  11. <span class="fn n">
  12. <span class="given-name">Tony</span>
  13. <span class="family-name">Kornheiser</span>
  14. </span>
  15. </span>
  16. and ... (hCard for Michael Wilbon not shown)
  17. <span class="description">They discuss - and frequently argue over - the top stories of the
  18. day in "sports... and other stuff".</span>
  19. </p>

Here is the Marked up HTML Text

  1. <h1>Pardon the Interruption</h1>
  2. <p class="vevent">
  3. <a class="url uid summary" href="http://sports.espn.go.com/...">Pardon the Interruption</a>
  4. is a <span class="category">TV</span> <span class="category">sports</span> show.
  5. <abbr class="dtstart" title="2001-10-22">It airs</abbr>
  6. <abbr class="rrule" title="freq=weekly;byday=mo,tu,we,th,fr;byhour=17;byminute=30">
  7. Monday to Friday at 5:30pm</abbr>
  8. <abbr class="tzid" title="US-Eastern">ET</abbr> on ESPN.
  9. The hosts of the show are longtime friends
  10. <span class="hcard">
  11. <span class="fn n">
  12. <span class="given-name">Tony</span>
  13. <span class="family-name">Kornheiser</span>
  14. </span>
  15. </span>
  16. and ... (hCard for Michael Wilbon not shown)
  17. <span class="description">They discuss - and frequently argue over - the top stories of the
  18. day in "sports... and other stuff".</span>
  19. </p>

Here is the Marked up HTML Text

  1. <h1>Pardon the Interruption</h1>
  2. <p class="vevent">
  3. <a class="url uid summary" href="http://sports.espn.go.com/...">Pardon the Interruption</a>
  4. is a <span class="category">TV</span> <span class="category">sports</span> show.
  5. <abbr class="dtstart" title="2001-10-22">It airs</abbr>
  6. <abbr class="rrule" title="freq=weekly;byday=mo,tu,we,th,fr;byhour=17;byminute=30">
  7. Monday to Friday at 5:30pm</abbr>
  8. <abbr class="tzid" title="US-Eastern">ET</abbr> on ESPN.
  9. The hosts of the show are longtime friends
  10. <span class="hcard">
  11. <span class="fn n">
  12. <span class="given-name">Tony</span>
  13. <span class="family-name">Kornheiser</span>
  14. </span>
  15. </span>
  16. and ... (hCard for Michael Wilbon not shown)
  17. <span class="description">They discuss - and frequently argue over - the top stories of the
  18. day in "sports... and other stuff".</span>
  19. </p>

Here is the Marked up HTML Text

  1. <h1>Pardon the Interruption</h1>
  2. <p class="vevent">
  3. <a class="url uid summary" href="http://sports.espn.go.com/...">Pardon the Interruption</a>
  4. is a <span class="category">TV</span> <span class="category">sports</span> show.
  5. <abbr class="dtstart" title="2001-10-22">It airs</abbr>
  6. <abbr class="rrule" title="freq=weekly;byday=mo,tu,we,th,fr;byhour=17;byminute=30">
  7. Monday to Friday at 5:30pm</abbr>
  8. <abbr class="tzid" title="US-Eastern">ET</abbr> on ESPN.
  9. The hosts of the show are longtime friends
  10. <span class="hcard">
  11. <span class="fn n">
  12. <span class="given-name">Tony</span>
  13. <span class="family-name">Kornheiser</span>
  14. </span>
  15. </span>
  16. and ... (hCard for Michael Wilbon not shown)
  17. <span class="description">They discuss - and frequently argue over - the top stories of the
  18. day in "sports... and other stuff".</span>
  19. </p>

Here is the Marked up HTML Text

  1. <h1>Pardon the Interruption</h1>
  2. <p class="vevent">
  3. <a class="url uid summary" href="http://sports.espn.go.com/...">Pardon the Interruption</a>
  4. is a <span class="category">TV</span> <span class="category">sports</span> show.
  5. <abbr class="dtstart" title="2001-10-22">It airs</abbr>
  6. <abbr class="rrule" title="freq=weekly;byday=mo,tu,we,th,fr;byhour=17;byminute=30">
  7. Monday to Friday at 5:30pm</abbr>
  8. <abbr class="tzid" title="US-Eastern">ET</abbr> on ESPN.
  9. The hosts of the show are longtime friends
  10. <span class="hcard">
  11. <span class="fn n">
  12. <span class="given-name">Tony</span>
  13. <span class="family-name">Kornheiser</span>
  14. </span>
  15. </span>
  16. and ... (hCard for Michael Wilbon not shown)
  17. <span class="description">They discuss - and frequently argue over - the top stories of the
  18. day in "sports... and other stuff".</span>
  19. </p>

Here is the Marked up HTML Text

  1. <h1>Pardon the Interruption</h1>
  2. <p class="vevent">
  3. <a class="url uid summary" href="http://sports.espn.go.com/...">Pardon the Interruption</a>
  4. is a <span class="category">TV</span> <span class="category">sports</span> show.
  5. <abbr class="dtstart" title="2001-10-22">It airs</abbr>
  6. <abbr class="rrule" title="freq=weekly;byday=mo,tu,we,th,fr;byhour=17;byminute=30">
  7. Monday to Friday at 5:30pm</abbr>
  8. <abbr class="tzid" title="US-Eastern">ET</abbr> on ESPN.
  9. The hosts of the show are longtime friends
  10. <span class="hcard">
  11. <span class="fn n">
  12. <span class="given-name">Tony</span>
  13. <span class="family-name">Kornheiser</span>
  14. </span>
  15. </span>
  16. and ... (hCard for Michael Wilbon not shown)
  17. <span class="description">They discuss - and frequently argue over - the top stories of the
  18. day in "sports... and other stuff".</span>
  19. </p>

Example (cont.)

rdate Property

  1. The first XML conference was Dec. 7, 2001. Since then
  2. the conference was held on Dec. 19, 2002, Nov. 29, 2003,
  3. Dec. 1, 2004, Dec. 3, 2005, and Nov. 18, 2006. This year it
  4. will be held on Dec. 6.

rdate Property

  1. The first <span class="summary" >XML conference</span> was
  2. <abbr class="dtstart" title="2001-12-07">Dec. 7, 2001</abbr>. Since then
  3. the <span class="category">conference</span> was held on
  4. <abbr class="rdate" title="2001-12-07,
  5. 2002-12-19,
  6. 2003-11-29,
  7. 2004-12-01,
  8. 2005-12-03,
  9. 2006-11-18,
  10. 2007-12-06">Dec. 19, 2002, Nov. 29, 2003,
  11. Dec. 1, 2004, Dec. 3, 2005,
  12. and Nov. 18, 2006. This year
  13. it will be held on Dec. 6.
  14. </abbr>

rdate Property

Expressing Durations

  1. He worked at Sam's Garage June 1 - Aug. 29, 2001,
  2. June 5 - Aug. 30, 2002, and June 2 - Sept. 1, 2003.

Expressing Durations

  1. He worked at Sam's Garage
  2. <abbr class="rdate" title="2001-06-01/2001-08-29,
  3. 2002-06-05/2002-08-30,
  4. 2003-06-02/2003-09-01">
  5. <abbr class="dtstart" title="2001-06-01">June 1</abbr> - Aug. 29, 2001, June 5 - Aug. 30, 2002, and
  6. June 2 - Sept. 1, 2003.
  7. </abbr>

Lab 2

Homepage