[uf-discuss] hcalendar - irregular repeat of identical meeting.
Glenn Jones
glenn.jones at madgex.com
Thu Mar 5 09:54:50 PST 2009
Hi Ray
> In hcalendar, how can I show a list of irregular dates for meetings
with
> identical summaries showing only one summary in the html?
You should be able to do the following:
<div class="the-event-info">
<div class="summary">Title of event</div>
<div class="description">A little bit of information about the
event</div>
<div class="location">location</div>
</div>
Dates:
<ul>
<li class="vevent">
<abbr class="dtstart" title="01-03-2009">Sunday 1st
March</abbr>
<object data="#the-event-info" class="include"
type="text/html" width="1" height="1" style="display:none"></object>
</li>
<li class="vevent">
<abbr class="dtstart" title="05-03-2009">Thursday 5th
March</abbr>
<object data="#the-event-info" class="include"
type="text/html" width="1" height="1" style="display:none"></object>
</li>
<li class="vevent">
<abbr class="dtstart" title="06-03-2009T15:45">Friday
6th March 3:45pm</abbr> -
<abbr class="dtend"
title="06-03-2009T16:45">4:45pm</abbr>
<object data="#the-event-info" class="include"
type="text/html" width="1" height="1" style="display:none"></object>
</li>
</ul>
Use the objects to include a single summary, description and location
into different calendar events. But some of the parsers validate before
pulling in the includes, so they say its invalid as the vevent does not
contain a summary class. Interesting problem so I am still thinking.
There is a format in the ISO Date structure which deals with this, but I
bet only Toby's parser can will understand the repeating dates !!
Just out of interest if you add a blank summary to the vevent it will
work in Operator. Although it should not as summary is singular value in
the spec.
i.e
<li class="vevent">
<abbr class="dtstart" title="01-03-2009">Sunday 1st
March</abbr>
<object data="#the-event-info" class="include"
type="text/html" width="1" height="1" style="display:none"></object>
<span class="summary"></span>
</li>
Glenn Jones
More information about the microformats-discuss
mailing list