Re: Suggestion: description / summary metadata for emails in mailing list archive

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: Suggestion: description / summary metadata for emails in mailing list archive
Date: 2020-10-21 17:07:40
Message-ID: CABUevEzGJPWoxhm75kDRzS6ZgU=XDrhiFcyAfUrNT6D=DRCO9w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On Wed, Oct 21, 2020 at 7:01 PM Magnus Hagander <magnus(at)hagander(dot)net> wrote:

>
>
> On Wed, Oct 21, 2020 at 6:52 PM Andres Freund <andres(at)anarazel(dot)de> wrote:
>
>> Hi,
>>
>> On 2020-10-21 13:31:08 -0300, Alvaro Herrera wrote:
>> > On 2020-Oct-21, Alvaro Herrera wrote:
>> >
>> > > On 2020-Oct-21, Magnus Hagander wrote:
>> > >
>> > > > I've deployed code that does this for the archives. Don't have
>> anything for
>> > > > the docs and news yet, but I'll get to that in not-too-long.
>> > >
>> > > Thanks, great stuff. This just came in action in a Slack channel. It
>> > > showed up as attached. IMO the image at 900x928 is a little bit on
>> the
>> > > large side. Slack resized it to about 1/4 of that for me, but still
>> it
>> > > seems excessive. Do we maybe have a smaller one we can use?
>>
>
> But Slony has such a nice face!!!
>
>
> FWIW, the earlier test of this which used the favicon looked better in
>> slack (except the overly puny resolution, of course). See attached.
>>
>> https://ogp.me/ suggests theres
>> og:image:width - The number of pixels wide.
>> og:image:height - The number of pixels high.
>>
>> no idea if that's in relation to the sizing of the preview or the actual
>> image.
>>
>
> So we already have one that's 64x64 on the website at
> https://www.postgresql.org/media/img/about/press/elephant64.png
>
> We could easily use that one, but then maybe 64 is too small instead?
>
> Has anybody seen any recommendations of what size one should use?
>

I found a few and they all talk about sizes in excess of 1000 pixels. So
our aspect is wrong, but other than that we're not too big..

> Ah, Andres just posted on twitter.
>> > https://twitter.com/AndresFreundTec/status/1318952305123676160
>> > It looks better there as far as the image goes, but as on Slack the
>> > author name is not displayed.
>>
>> Not sure they ever do. But I am also not clear whether the right tag is
>> og:article:author, or article:author. Actually kind of seems the latter.
>>
>
> Yeah, I'd say that's entirely unclear. On the ogp.me site it says it
> should be an array of structures. And in other examples it should be the
> URL to a facebook profile.
>
> Do you happen to have an example of where Slack *does* show the author
> name (which is not a facebook profile)?
>
> It is pretty clear it should be article:author and not og:article:author
> though, per examples.
>

And it seems it should also be article:published_time and not
og:published_time. I've pushed an update that changes both these.

--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/>
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Alvaro Herrera 2020-10-21 17:08:04 Re: Suggestion: description / summary metadata for emails in mailing list archive
Previous Message Magnus Hagander 2020-10-21 17:01:14 Re: Suggestion: description / summary metadata for emails in mailing list archive