perldotcom
perldotcom copied to clipboard
Unfriendly link preview for "Consistency in TMTOWTDI Perl"
When I paste a link into Outlook, it creates a link preview. For "Consistency in TMTOWTDI Perl", the link preview has an anonymous silhouette for the thumbnail (which also what shows under "Latest articles"... so maybe that's intentional). Worse,though, the preview text is only the Legal spiel:
Legal. Perl.com and the authors make no representations with respect to the accuracy or completeness of the contents of all work on this website and specifically disclaim all warranties, including without limitation warranties of fitness for a particular purpose. www.perl.com
Other links (eg, "What's new on CPAN - March 2019") have the blurb seen under "Latest Articles" prepended to the Legal statement.
Taken together, the anonymous silhouette and legal statement really make the link preview very unfriendly. Personally, I think I'd rather see either a camel or an onion as the thumbnail instead of a silhouette, but the key to me is that the synopsis isn't showing up in the link preview.
Since it's a relatively new article, one would hope it might be getting shared around, so it seems like it might be worth addressing it.
Thanks for reporting this. We define preview cards for facebook and twitter. It sounds like we need to do the same for Outlook.
Three articles, 3 different previews:
https://www.perl.com/article/what-s-new-on-cpan-august-2019/
This is the article metadata concatenated with the first paragraph:

https://www.perl.com/article/consistency-in-tmtowtdi-perl/
This is the legal footer:

https://www.perl.com/article/how-do-i-open-this-/
This is a subheading and paragraph from midway into the article

I see a couple of bugs in our open graph markup:
- We're not providing the mandatory
og:typeproperty - The image we link to is the big article image instead of the thumbnail version
It's not incorrect but it might be better to put the google analytics <script> at the end of the <head> so we don't have the metadata tags either side of it. I can fix these issues and try the Outlook preview link again.
Also we have og:site name instead of og:site_name
I found a few more bugs in the og markup. Once the site has re-deployed I'll test again.
OWA shows the same link previews as before, I'm not sure if the changes have not fixed the issue, or if MS cache the previews and they need to be cleared first. @rsindlin any ideas?