[uf-discuss] Generating valid unique IDs for hAtom
ryan at technorati.com
Mon Jun 25 10:32:48 PDT 2007
On Jun 21, 2007, at 8:03 AM, Jon Gibbins (dotjay) wrote:
> I've been looking into generating unique references for entries
> that can be used in the id attribute for an hAtom implementation.
> Does anyone actually have a solution for this?
> I've been using something along the lines of:
> It's valid HTML, but not a proper tag URI as far as I can tell from
> RFC 4151. Would it be worth coming up with a microformat standard
> for people to follow that is valid HTML, using [A-Za-z][A-Za-z0-9_:
> \.-]? Tag URIs don't work and neither do permalinks? Is there
> another standard we can use?
> Incidentally, from the microformats wiki:
> "the syntax of tag URIs and html id attributes are incompatible.
> HTML disallows forward-slash (/) in ids  (http://www.w3.org/TR/
> html401/types.html#type-name), while tag URIs require them"
> I'm too afraid of getting shouted at to go and edit the wiki, but
> this doesn't sound right to me? Forward slashes aren't *required*
> by the tag URI specification as far as I can see, but commas *are*
> required and not permitted in HTML:
> It still renders tag URIs inappropriate, but I think the details
> are wrong and might want correcting.
I believe I wrote that section. If you think it's wrong, please add a
correction after it.
More information about the microformats-discuss