[uf-discuss] Tutorial on expressing recurring events using hCalendar

Scott Reynen scott at randomchaos.com
Sun Feb 4 11:23:11 PST 2007


On Feb 4, 2007, at 12:22 PM, Nick Drago wrote:

> So how would this relate to the xHours discussion?
>
> Could someone take a look at how we can incorporate some of the
> concepts in Roger's tutorial into the xHours examples?

Looking at Roger's tutorial, maybe this?

Original:

<b>Hours:</b> Mon-Sat 10:00am-9:00pm<br>Sun 11:00am-7:00pm

hCal:

<b>Hours:</b>
<span class="vevent">
	<abbr class="rrule"  
title="freq=weekly;byday=MO,TU,WE,TH,FR,SA;count=52">Mon-Sat</abbr>
	<abbr class="dtstart" title="20070101T 100000Z">10:00am</abbr>-
	<abbr class="dtend" title="20070101T 210000Z">9:00pm</abbr>	
</span><br>
<span class="vevent">
	<abbr class="rrule" title="freq=weekly;byday=SU;count=52">Sun</abbr>
	<abbr class="dtstart" title="20070106T 110000Z">11:00am</abbr>-
	<abbr class="dtend" title="20070106T 190000Z">7:00pm</abbr>
</span>

But I'm not sure if that will work.  Do times in dtstart and dtend  
get repeated, or are only times specified in byhour and byminute  
repeated?  If the former, what happens when both are listed and they  
conflict?  If the latter, is there any way to specify end time?

Peace,
Scott



More information about the microformats-discuss mailing list