这个元内容 属性 og 是什么?
What is this meta content property og?
我正在查看网页的源代码,这是我第 3 次在页眉中看到这个:
<meta content="http://www.example.com/cmswp/wp-content/uploads/2013/01/01/something.jpg" property="og:image">
这是什么,有什么用?
The Open Graph protocol enables any web page to become a rich object in a social graph. For instance, this is used on Facebook to allow any web page to have the same functionality as any other object on Facebook.
的元数据
通过 og:image
,您可以提供一张图像 URL,该图像应在图表中代表您的对象。
The Open Graph protocol enables any web page to become a rich object
in a social graph. For instance, this is used on Facebook to allow any
web page to have the same functionality as any other object on
Facebook.
While many different technologies and schemas exist and could be
combined together, there isn't a single technology which provides
enough information to richly represent any web page within the social
graph. The Open Graph protocol builds on these existing technologies
and gives developers one thing to implement. Developer simplicity is a
key goal of the Open Graph protocol which has informed many of the
technical design decisions.
基本上,社交网络将使用这些元标记在他们需要的任何地方代表您的网页。
访问以下站点,了解 Facebook 如何实时解释 og
元标记并创建代表页面的对象。在其中尝试 google.com。
我正在查看网页的源代码,这是我第 3 次在页眉中看到这个:
<meta content="http://www.example.com/cmswp/wp-content/uploads/2013/01/01/something.jpg" property="og:image">
这是什么,有什么用?
The Open Graph protocol enables any web page to become a rich object in a social graph. For instance, this is used on Facebook to allow any web page to have the same functionality as any other object on Facebook.
通过 og:image
,您可以提供一张图像 URL,该图像应在图表中代表您的对象。
The Open Graph protocol enables any web page to become a rich object in a social graph. For instance, this is used on Facebook to allow any web page to have the same functionality as any other object on Facebook.
While many different technologies and schemas exist and could be combined together, there isn't a single technology which provides enough information to richly represent any web page within the social graph. The Open Graph protocol builds on these existing technologies and gives developers one thing to implement. Developer simplicity is a key goal of the Open Graph protocol which has informed many of the technical design decisions.
基本上,社交网络将使用这些元标记在他们需要的任何地方代表您的网页。
访问以下站点,了解 Facebook 如何实时解释 og
元标记并创建代表页面的对象。在其中尝试 google.com。