I think that is up to specific implementation of a converter: I don't
believe microformat spec should go as far as to instruct whether or
how to auto-generate UID if it is missing.

Perhaps a recommendation, based on exploration of existing implementations?

:DG<

On 7/3/06, Marko Mrdjenovic <[EMAIL PROTECTED]> wrote:
I think that the last option needs to change - even if there is no way
to determine a UID I would like to be able to import it into the less
friendly clients. If no UID is specified and UID is required the
converter should provide one - obviously the author had no wish for
people to be able to update the event...

Marko Mrdjenovic

Dimitri Glazkov wrote:

> 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 <[EMAIL PROTECTED]> wrote:
>
>> Dimitri Glazkov wrote:
>> > On 7/3/06, brian suda <[EMAIL PROTECTED]> wrote:
>> >>
>> >> For example,
>> >> http://events.example.com/#123
>> >> would become
>> >> [EMAIL PROTECTED]
>> >
>> > 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
>
> _______________________________________________
> microformats-discuss mailing list
> [email protected]
> http://microformats.org/mailman/listinfo/microformats-discuss
>

_______________________________________________
microformats-discuss mailing list
[email protected]
http://microformats.org/mailman/listinfo/microformats-discuss

_______________________________________________
microformats-discuss mailing list
[email protected]
http://microformats.org/mailman/listinfo/microformats-discuss

Reply via email to