Re: improved previews when sharing posts on social media
Sorry for the late reply.
El 3/8/19 a las 17:10, Paolo Greppi escribió:
> open graph data for bit posts are hard-coded here:
> This results in the same, generic caption/image preview when any post is shared
> via social media.
> I attach samples for linkedin (link preview while drafting a new post) and
> mastodon (actual post from Debian @email@example.com)
> Both posts had nice images that could enhance diffusion via resharing:
> I prepared a MR to make these data dynamic:
Thanks for this.
> The added burden is that whenever a preview image is available, the Image: field
> should be added to each article metadata.
This is a tiny burden compared with the benefit :-)
> As a test, I have done that for all 2019 posts.
> This should result in better shares on all social media.
I have reviewed the changes included in this merge request, and merged it
locally, and tried to build the blog locally too.
I got no errors, and I see the new tags <meta property="og:* in place in the
So it seems that all this works, but I guess we need to merge it in production
to see it in action.
The merge request also removes the file:
which I guess it's unrelated, and frankly, I don't know if it should be there or
we can remove it safely.
If nobody complains, I plan to merge the proposal in a few days.
Laura Arjona Reina