LinkedIn网站共享始终显示1分钟阅读 [英] LinkedIn website share always showing 1 min read

查看:84
本文介绍了LinkedIn网站共享始终显示1分钟阅读的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正试图找出如何在我与LinkedIn共享内容的说明中删除 1分钟阅读.

I am trying to figure out how to remove the 1 min read in the description of when I share content to LinkedIn.

1分钟阅读示例

我在页面上有打开的图形标记,并确认它们在页面上的任何位置都没有显示1分钟的读取时间.我也玩过og:type.尝试文章",媒体",视频",网站",无"

I have the open graph tags on the page, and verified they do not display 1 min read anywhere on the page. I've also played around with the og:type. Trying 'article', 'media', 'video', 'website', 'none'

这是我的标签.验证变量值没有使用任何非法字符.

Here is my tags. Verifying that the variable values do not have any illegal characters being used.

        <meta property="og:title" content="<?php echo $aSocialTitle; ?>">
        
        <meta property="og:site_name" content="<?php echo $aSocialTitle; ?>">
        <meta property="og:locale" content="en_US">
        <meta property="og:description" content="<?php echo $aSocialDescription; ?>">
        <meta property="og:image" content="<?php echo $aSocialIcon; ?>"/>

推荐答案

我也遇到了这个问题,LinkedIn支持给了我与 regress_that .

I was also experiencing this issue and LinkedIn Support gave me similar answers to regress_that's.

无法更改此指标,因为它是通过机器学习计算出来的,并由LinkedIn算法(sic)共享."

"There's no way to change this metric because it's calculated with machine learning and shared by the LinkedIn algoritm (sic)."

考虑到它适用于某些网站而不是其他网站,我决心找出自己的根本原因.

Considering it works for some sites and not others, I was determined to figure out root cause for myself.

一个潜在的原因是您的站点是否是单页应用程序(SPA).LinkedIn的用于计算该指标的工具将失败,因为HTML中没有内容可供评估.LinkedIn的工具无法在启用JavaScript的情况下运行,或者至少不能评估SPA框架生成的DOM.

One potential cause is if your site is a Single-Page Application (SPA). LinkedIn's tooling to calculate this metric will fail because there is no content in your HTML for it to evaluate. LinkedIn's tooling does not operate with JavaScript enabled, or at least, it does not evaluate the DOM generated by SPA frameworks.

如果您的站点是SPA,并且此指标对您很重要,请考虑预渲染您的站点.老实说,如果您关注社交媒体网站上的共享,那么您也可能会关注SEO,因此预渲染将为您提供各种服务.

If your site is a SPA and this metric is important to you, consider pre-rendering your site. Honestly, if you are concerned with sharing on social media sites, you're likely concerned about SEO as well, so pre-rendering is going to do you all kinds of service.

如何预渲染取决于您使用的SPA框架,因此请进行一些搜索以查找如何开始使用该框架.

How to pre-render depends on the SPA framework you are using, so do some searches to find out how to get started on that front.

这篇关于LinkedIn网站共享始终显示1分钟阅读的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆