[uf-discuss] hcalendar - irregular repeat of identical meeting.
Ray Foulkes
Ray.Foulkes at attglobal.net
Sat Mar 7 09:39:04 PST 2009
Toby A Inkster wrote:
> Try iCalendar's RDATE property.
>
> <div class="vevent">
> <h1 class="summary">My Irregular Meeting</h1>
> <div>
> <b>Dates:</b>
> <span class="dtstart">2001-01-01</span>
> <span class="rdate">2003-01-01</span>
....etc,
> </div>
> </div>
>
Toby, first trial- I used:
<table BORDER=3 CELLSPACING=3 CELLPADDING=3 class="calendar vevent">
<tr>
<td class="summary" COLSPAN="7" ><B>CMCF Sunday opening 2009</B></td>
</tr>
<tr>
<td COLSPAN="7" ><I>2nd Sunday of the warm months</I></td>
</tr>
<tr>
<td>April</td><td>May</td><td>June</td><td>July</td><td>August</td><td>September</td><td>October</td>
</tr>
<tr>
<td class="dtstart" title="2009-04-12T">12th</td>
<td class="rdate" title="2009-05-10T">10th</td>
<td class="rdate" title="2009-06-14T">14th</td>
<td class="rdate" title="2009-07-12T">12th</td>
<td class="rdate" title="2009-08-09T">9th</td>
<td class="rdate" title="2009-09-14T">14th</td>
<td class="rdate" title="2009-10-11T">11th</td>
</tr>
<tr>
</table>
I only used tails in Firefox but the result was:
BEGIN:VCALENDAR
PRODID:-//suda.co.uk//X2V 0.7.2 (BETA)//EN
CALSCALE:GREGORIAN
VERSION:2.0
METHOD:PUBLISH
BEGIN:VEVENT
UID:
DTSTAMP:19990101T010000Z
SUMMARY;CHARSET=UTF-8:CMCF Sunday opening 2009
DTSTART:20090412T00000
RDATE:/
RDATE:/
RDATE:/
RDATE:/
RDATE:/
RDATE:/
END:VEVENT
END:VCALENDAR
Which does not give me confidence having no dates in the RDATE entries.
Tails correctly parsed all the content except for the repeat dates.
I then used http://suda.co.uk/projects/X2V/ which did even worse
resulting in:
BEGIN:VCALENDAR
PRODID:-//suda.co.uk//X2V 0.9.2.1 (BETA)//EN
X-ORIGINAL-URL:http://pws.prserv.net/oignies/agenda_english.htm
X-WR-CALNAME;CHARSET=utf-8:Diary
VERSION:2.0
METHOD:PUBLISH
BEGIN:VEVENT
SUMMARY;CHARSET=utf-8:CMCF Sunday opening 2009
DTSTART;VALUE=DATE-TIME:12th
RDATE;VALUE=PERIOD:/
END:VEVENT
which did not even get the first dtstart correct and incorrectly ignored
the title and replaced it with the html text.
I think RDATE is not yet ready for prime time unless you can see a
blunder by me.
Look yourself if you wish it is mounted on:
http://pws.prserv.net/oignies/agenda_english.htm Please ignore the rest
of the site, it is just a test site, not really live.
Ray
More information about the microformats-discuss
mailing list