James Holderness wrote:
Luke Arno wrote:
I would like to start with atom:id.
Should it be generated client side?
Does anyone have suggestions for a client side
algorithm?
There's an old (and expired) internet draft on UUIDs and GUIDs [1] that
might be useful. Also there's a section in RFC 2822 [2] on generating
Message-IDs (3.6.4. Identification fields). And RFC 2518 [3] has a
section describing an alternative to using the network card address in
UUID generation (6.4.1 Node Field Generation Without the IEEE 802
Address). Finally, there's the tag URI Scheme [4] described in Mark
Pilgrim's article, "How to make a good ID in Atom" [5].
The easiest solution, though, may be to rely on operating system
supplied functionality. MS Windows has the UuidCreate API. I believe
Linux has a uuidgen utility.
...
Instructions for generation UUIDs can be found in "A Universally Unique
IDentifier (UUID) URN Namespace"
(<http://greenbytes.de/tech/webdav/rfc4122.html#rfc.section.4>).
Best regards, Julian