perldotcom icon indicating copy to clipboard operation
perldotcom copied to clipboard

Unfriendly link preview for "Consistency in TMTOWTDI Perl"

Open rsindlin opened this issue 6 years ago • 6 comments

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.

rsindlin avatar Apr 17 '19 16:04 rsindlin

Thanks for reporting this. We define preview cards for facebook and twitter. It sounds like we need to do the same for Outlook.

dnmfarrell avatar Apr 17 '19 17:04 dnmfarrell

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: Screenshot from 2019-09-11 13-24-58

https://www.perl.com/article/consistency-in-tmtowtdi-perl/ This is the legal footer: Screenshot from 2019-09-11 13-24-43

https://www.perl.com/article/how-do-i-open-this-/ This is a subheading and paragraph from midway into the article Screenshot from 2019-09-11 13-24-29

dnmfarrell avatar Sep 11 '19 17:09 dnmfarrell

I see a couple of bugs in our open graph markup:

  1. We're not providing the mandatory og:type property
  2. 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.

dnmfarrell avatar Sep 11 '19 17:09 dnmfarrell

Also we have og:site name instead of og:site_name

dnmfarrell avatar Sep 11 '19 18:09 dnmfarrell

I found a few more bugs in the og markup. Once the site has re-deployed I'll test again.

dnmfarrell avatar Sep 11 '19 18:09 dnmfarrell

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?

dnmfarrell avatar Sep 13 '19 15:09 dnmfarrell