On Thu, Oct 1, 2009 at 10:40 AM, Evan Prodromou <[email protected]> wrote:

>  Brion Vibber wrote:
>
>  If doing this way as an inline, though, I think we're back to it making
> more sense on the server side...
>
> We render notices from plain text to HTML at save time. We have one (1)
> copy of each notice in HTML format.
>
> *If* we were to render URLs differently for each user based on how uptight
> they are about other people using URL-shortener tools, we would either have
> to store duplicates of each notice (one for each subscriber, plus one for
> anonymous and remote users), OR regenerate the HTML at view-time (an
> expensive process).
>
> <a title="longurl" href="shorturl">shorturl</a> should be sufficient for
> most uses.
> If there are client platforms that won't show that correctly, *tant pis.**
> *
>

As Evan notes, some shorteners are also used for hit tracking etc, so it's
rude to remove them from the href. Title should be plenty sufficient for
most purposes (and could be further processed by client-side goodies if
needed/desired).

-- brion
_______________________________________________
StatusNet-dev mailing list
[email protected]
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to