[uf-discuss] hcalendar - irregular repeat of identical meeting.

Ray Foulkes Ray.Foulkes at attglobal.net
Sun Mar 15 09:48:45 PST 2009


MichaelMD wrote:
.....
> I have never seen apache do anything like that!
You are correct the culprit is not Apache, I was in error.
I have now uploaded it to 2 sites 
www.cmcf-oignies.com/agenda_englishwithrdate.htm
and http://pws.prserv.net/oignies/agenda_englishwithrdate.htm

When I look at both these sites with Firefox, the "object" entries have 
gone and Operator shows no dates. However, I have found the culprit and 
it is not  Apache but my Norton personal firewall. I have "active 
objects" (e.g. ActiveX) turned off. I guess Norton thinks that the 
Objects are in some way bad and removes them silently, but not from 
local files. Sigh. Nevertheless it sort-of negates the use of the 
<object> tag since I do not wish to encourage end-users to permit active 
objects in their browsing.

> maybe use class="include" instead of the object tag? 
> 
> (as suggested here: http://microformats.org/wiki/include-pattern )
> 
I looked at the reference above, thanks for pointing that out. What I 
think it says is that "includes" can be used only in 2 tags, <object> 
and anchor <a>. I have done this with the results below which look OK in 
the browser. I have used the property of the anchor that it need not 
have content.
<h1 class=rightheader>Events at Centre de Denis Papin a Oignies in 2009</h1>
     <h2> Open Sundays </h2>
     <p>The centre is open to the public from 14:00 to 18:00 on the 
following days:  	 

     <div>
       <table class="calendar" id="the-event-info">
       <tr>
          <td COLSPAN="7"><span class="summary emphasis">CMCF Sunday 
opening 2009 </span><br>
            <span class="location"><a href=planandprices.htm>CMCF is in 
the town of Oignies  </a>close to Lille, France</span>,
            <br> and is <span  class="description">open on the 2nd 
Sunday of the warm months</span>
          </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="vevent"> <abbr class="dtend" 
title="2009-04-12T180000"><abbr class="dtstart" 
title="2009-04-12T140000">12th</abbr></abbr><a class="include" 
href="#the-event-info"></a></td>
        <td class="vevent"> <abbr class="dtend" 
title="2009-05-10T180000"><abbr class="dtstart" 
title="2009-05-10T140000">10th</abbr></abbr><a class="include" 
href="#the-event-info"></a></td>
        <td class="vevent"> <abbr class="dtend" 
title="2009-06-14T180000"><abbr class="dtstart" 
title="2009-06-14T140000">14th</abbr></abbr><a class="include" 
href="#the-event-info"></a></td>
        <td class="vevent"> <abbr class="dtend" 
title="2009-07-12T180000"><abbr class="dtstart" 
title="2009-07-12T140000">12th</abbr></abbr><a class="include" 
href="#the-event-info"></a></td>
        <td class="vevent"> <abbr class="dtend" 
title="2009-08-09T180000"><abbr class="dtstart" 
title="2009-08-09T140000">9th</abbr></abbr><a class="include" 
href="#the-event-info"></a></td>
        <td class="vevent"> <abbr class="dtend" 
title="2009-09-13T180000"><abbr class="dtstart" 
title="2009-09-13T140000">13th</abbr></abbr><a class="include" 
href="#the-event-info"></a></td>
        <td class="vevent"> <abbr class="dtend" 
title="2009-10-11T180000"><abbr class="dtstart" 
title="2009-10-11T140000">11th</abbr></abbr><a class="include" 
href="#the-event-info"></a></td>
       </tr>
       </table>
But, sigh, here goes another tale -- why always me?
Using Firefox I had to put the dtend first otherwise the abbr shows the 
end time, not the opening time in the popup box. Tails shows only one 
event, the first, but Operator shows them all and correctly. The only 
tedious bit is that you have to save them one at a time in Operator. You 
CAN import the individual .ics files into Google but not into sunbird 
(does nothing). BUT when I use http://suda.co.uk/projects/X2V/ I get the 
following, with TWO DTSTARTs and DTENDs per VEVENT.
I really think this is too bleeding edge for me, I have to get on with 
other things.. Here is the output:
BEGIN:VCALENDAR
PRODID:-//suda.co.uk//X2V 0.9.2.1 (BETA)//EN
X-ORIGINAL-URL:http://www.cmcf-oignies.fr/agenda_english.htm
X-WR-CALNAME;CHARSET=utf-8:Diary
VERSION:2.0
METHOD:PUBLISH
BEGIN:VEVENT
DESCRIPTION;CHARSET=utf-8:open on the 2nd Sunday of the warm months
LOCATION;CHARSET=utf-8:CMCF is in the town of Oignies close to Lille\, 
France
SUMMARY;CHARSET=utf-8:CMCF Sunday opening 2009
DTSTART;VALUE=DATE-TIME:20090412T140000
DTEND;VALUE=DATE-TIME:20090412T180000
DTSTART;VALUE=DATE-TIME:20090412T140000
DTEND;VALUE=DATE-TIME:20090412T180000
END:VEVENT

BEGIN:VEVENT
DESCRIPTION;CHARSET=utf-8:open on the 2nd Sunday of the warm months
LOCATION;CHARSET=utf-8:CMCF is in the town of Oignies close to Lille\, 
France
SUMMARY;CHARSET=utf-8:CMCF Sunday opening 2009
DTSTART;VALUE=DATE-TIME:20090412T140000
DTEND;VALUE=DATE-TIME:20090412T180000
DTSTART;VALUE=DATE-TIME:20090510T140000
DTEND;VALUE=DATE-TIME:20090510T180000
END:VEVENT

BEGIN:VEVENT
DESCRIPTION;CHARSET=utf-8:open on the 2nd Sunday of the warm months
LOCATION;CHARSET=utf-8:CMCF is in the town of Oignies close to Lille\, 
France
SUMMARY;CHARSET=utf-8:CMCF Sunday opening 2009
DTSTART;VALUE=DATE-TIME:20090412T140000
DTEND;VALUE=DATE-TIME:20090412T180000
DTSTART;VALUE=DATE-TIME:20090614T140000
DTEND;VALUE=DATE-TIME:20090614T180000
END:VEVENT

BEGIN:VEVENT


More information about the microformats-discuss mailing list