Re: Updating docbot URLs

From: Andreas 'ads' Scherbaum <ads(at)pgug(dot)de>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, pgsql-www(at)postgresql(dot)org
Subject: Re: Updating docbot URLs
Date: 2018-08-25 19:07:45
Message-ID: c3cfa41a-ff78-eaf6-11a3-dac9fe7833c2@pgug.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On 14.08.2018 13:17, Andreas 'ads' Scherbaum wrote:
>
>
> On Mon, Aug 13, 2018 at 2:04 PM, Andres Freund <andres(at)anarazel(dot)de
> <mailto:andres(at)anarazel(dot)de>> wrote:
>
> Hi Everyone,
>
> It'd be good if we could update the IRC docbot to reference
> https://www.postgresql.org rather than the, still frequently used,
> http://www.postgresql.org. Several individuals have started to
> manually
> update the URLs whenever referenced, but doing this one-by-one seems
> pretty inefficient. Given a database system etc. ;)
>
>
> Might as well rewrite them when they are added to the database.
>
> It'd probably also be a good idea to replace URLs like
> https://www.postgresql.org/docs/current/interactive/collation.html
> <https://www.postgresql.org/docs/current/interactive/collation.html>
> with
> https://www.postgresql.org/docs/current/static/collation.html
> <https://www.postgresql.org/docs/current/static/collation.html>
>
>
> We already replace /interactive/ with /static/ when documentation
> links are added to the database.
> And I know that I updated all links in the database around the same time.
>
> Hmm, I see my mistake, that only happens for http links, not for https.
> Goes on my to-do.

I updated the bot to also accept https URLs. And I updated the database,
and changed all keys to the https URLs.
No more http links to postgresql.org in the database now.

Regards,

--
Andreas 'ads' Scherbaum
German PostgreSQL User Group
European PostgreSQL User Group - Board of Directors
Volunteer Regional Contact, Germany - PostgreSQL Project

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Andres Freund 2018-08-25 19:17:17 Re: Postgres 11 release notes
Previous Message Bruce Momjian 2018-08-25 18:47:20 Re: Postgres 11 release notes