Re: Excessive # usage in URLs

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, Robert Haas <robertmhaas(at)gmail(dot)com>, "pgsql-www(at)postgresql(dot)org" <pgsql-www(at)postgresql(dot)org>
Subject: Re: Excessive # usage in URLs
Date: 2015-10-23 16:11:45
Message-ID: 562A5C41.3070406@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On 10/23/2015 08:28 AM, Magnus Hagander wrote:

> http://www.postgresql.org/message-id/flat/20151023125233(dot)GQ3685(at)tamriel(dot)snowman(dot)net#2
> We could do this in addition to the message-id-based NAME tag.
>
>
> True. We could also use the surrogate key we have in the db.
>
> In fact, we could have a <a name> for each of those two, so that one
> could still use the other one if building URLs elsewhere, but the ones
> generated in the archives could use the shorter id. That's a number that
> goes up to max 6 digits at this point (and that would actually be
> guaranteed to be stable in the future, unlike just using the sequential)
>

Not sure if this is useful but it seems a simple solution (without
breaking existing links would be) would be to use a has of some sort:

http://www.postgresql.org/archive/0q97346lkjfgapo23qk

Which of course would link to either a message_id or id in the db. Of
course all old links would continue to work but the default display
would be the hash. Alternatively:

http://www.postgresql.org/archive/0q97346lkjfgapo23qk/2

Where the hash is the thread and the #2 is the reply?

JD

--
Command Prompt, Inc. - http://www.commandprompt.com/ 503-667-4564
PostgreSQL Centered full stack support, consulting and development.
New rule for social situations: "If you think to yourself not even
JD would say this..." Stop and shut your mouth. It's going to be bad.

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Stefan Kaltenbrunner 2015-11-04 19:17:10 Re: PATCH: add "current" version link to docs page
Previous Message Magnus Hagander 2015-10-23 15:28:12 Re: Excessive # usage in URLs