On Wed, Oct 21, 2020 at 7:01 PM Magnus Hagander <magnus@hagander.net> wrote:
On Wed, Oct 21, 2020 at 6:52 PM Andres Freund <andres@anarazel.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.
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.