[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Collection Mirrors



* Josh Reed <jareed@xxxxxxxxxxx> [2008-05-15 03:00]:
> "alternate" works as a mirror link relation until you have a
> lot of them that you want to reason about e.g. so my German
> users can pick the mirror that is down the hall from them
> rather than one in NZ or the US :) However, perhaps using the
> rel attribute is not the best way.

Having 376 different relations because you have that many
geographic areas doesn’t seem right. There is only one kind of
link there, but parametrised.

> Maybe I should explore other link attributes like class or name
> to encode this additional information.

Yes, that’s how I’d do it – provide the parametrisation via an
extension attribute to atom:link that can be used to convey
geographic information.

The benefit is that you still have `alternate` links, meaning
that even mirroring-oblivious clients have a chance to interpret
the data usefully, even if not as sophisticatedly.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>