Re: another idea for the URN approach to local UIDs in bookmarks

Jose Kahan wrote:
 >
> What is easier to have, a fail-safe mechanism to produce URNs or
> some well specified processing? If it's the former, then let's go
> forward with URNs (and send a follow-up message on how to do it :).
> Maybe you'd like to adopt the same mechanism used to generate msgids
> by some mail client?
> 
> I'm basically proposing that the applications do the same job
> that the server does when you publish something and it attributes
> a new URL.

I do not have an opinion about which approach is better for the bookmark 
local/global ID problem.  But generating globally unique UUIDs is 
something that quite a few applications and protocols do, and the most 
widely used algorithm is described here:

   http://www.ietf.org/internet-drafts/draft-mealling-uuid-urn-03.txt

Sample C code is included in that Internet Draft.  The UUID-based URIs 
won't be pretty (e.g., urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6) 
but they should be globally unique.

-- 
Mark Smith
LDAP Book Information: http://www.ldapbook.com/
What's Next:           http://www.pearlcrescent.com/

Received on Wednesday, 31 March 2004 11:29:11 UTC