[uf-discuss] UID in iCalendar

Dimitri Glazkov dimitri.glazkov at gmail.com
Mon Jul 3 13:07:23 PDT 2006


Sorry about that! :) But.. isn't that beside the point?

The implied UID algorithm could be as follows:

* if UID is specified, use it
* otherwise, if id attribute is specified, construct full URL with
fragment identifier and use it as UID
* otherwise, if only one vevent present in document, use document URL
and use it as UID
* otherwise, don't specify UID.

:DG<

On 7/3/06, David Janes -- BlogMatrix <davidjanes at blogmatrix.com> wrote:
> Dimitri Glazkov wrote:
> > On 7/3/06, brian suda <brian.suda at gmail.com> wrote:
> >>
> >> For example,
> >> http://events.example.com/#123
> >> would become
> >> 123 at events.example.com
> >
> > Why not just keep it as is, http://events.example.com/#123?
>
> You can't have "id" attributes that start with a number [1], so you
> would have to create invalid XHTML to imply the URI.
>
> Regards, etc...
> David
>
> [1] http://www.w3.org/TR/REC-html40/types.html#type-id


More information about the microformats-discuss mailing list