[uf-discuss] Ics import in Outlook

brian suda brian.suda at gmail.com
Fri Dec 9 11:57:39 PST 2005


DTSTAMP is easy, that is just the date-time stamp when the was created.
You could certainly encode that into your HTML.

UID is more difficult. That is Universal ID, and within a given page you
can be use those UIDs are unique, but over the WWW there is now way to
gauntee its uniqueness.

There seems to be a similar problem with hCard as well.

To make the UID unique, it might be possible to prepend an MD5 hash of
the URL by the transforming application, then the UID would have more
uniqueness and avoid collisions of two events with the same UID on two
seperate pages... but then if they are the same event they SHOULD have
the same UID.

UID was originally part of hCard, it was encoded on the 'id' attribute
of the element with class="vcard", but was later removed.[1]

With enough discussion we might be able to find away to get around this.
-brian

[1] - http://microformats.org/wiki/hcard-examples#3.6.7_UID_Type_Definition

Webb, Geoffrey Lawrence wrote:

>Thanks for the response Brian.  I'm very thankful for the service you
>are providing.
>
>I found the problem.  Outlook is expecting the vevent component to have
>UID and DTSTAMP parameters.  I took a look at RFC2445 and I think I
>found a conflict. Where the UID and DTSTAMP parameters are described the
>rfc says 
>"Conformance: This property MUST be included in the "VEVENT", "VTODO",
>   "VJOURNAL" or "VFREEBUSY" calendar components".
>
>However, the format definition starting on page 51, seems to indicate
>that the UID and DTSTAMP parameters are optional.
>
>So, does the XSLT file need to be changed or do I need to author these
>parameters into my hCalendar markup?
>
>
>
>-----Original Message-----
>From: microformats-discuss-bounces at microformats.org
>[mailto:microformats-discuss-bounces at microformats.org] On Behalf Of
>brian suda
>Sent: Friday, December 09, 2005 10:05 AM
>To: Microformats Discuss
>Subject: Re: [uf-discuss] Ics import in Outlook
>
>Webb, Geoffrey Lawrence wrote:
>
>  
>
>>I have been using the service at suda.co.uk to harvest hCalendar 
>>events from my web pages. However, Outlook 2003 won't import the 
>>resulting file. If I change the version to 1.0, everything works fine.
>>    
>>
>
>  
>
>>Outlook itself produces 2.0 ics files, so in a logical world Outlook 
>>should be able to import 2.0 files. Has anyone dealt with this problem
>>    
>>
>before?
>  
>
>>Just changing the version the stylesheet produces feels very kludgy
>>    
>>
>
>hCard has kept a list of different applications, versions and their
>import/export problems[1]. Feel free to start an iCal page[2] and
>document your finds with your OS version, application version etc.  This
>will help other replicate and fix the problems.
>
>[1] - http://microformats.org/wiki/vcard-implementations
>[2] - http://microformats.org/wiki/ical-implementations
>
>-brian
>_______________________________________________
>microformats-discuss mailing list
>microformats-discuss at microformats.org
>http://microformats.org/mailman/listinfo/microformats-discuss
>_______________________________________________
>microformats-discuss mailing list
>microformats-discuss at microformats.org
>http://microformats.org/mailman/listinfo/microformats-discuss
>
>  
>



More information about the microformats-discuss mailing list