og是一种新的HTTP头部Meta Property标记:Open Graph Protocol,这种协议可以让网站成为一个“富媒体对象”,更容易被搜索引擎抓取和收录,是近年来网站SEO优化必不可少的一点!同时,也可分享到国外Fackbook等社交网站!

常见的og协议有以下:

<meta property="og:type" content="video"/>
<meta property="og:title" content="七娃博客"/>
<meta property="og:image" content="http://g1.ykimg.com/0100641F464A ... 9-76EA-E5E20A1887C4″/>
<meta property="og:url" content="http://v.youku.com/v_show/id_XMTIyMTY5NzMy.html"/>
<meta property="og:videosrc" content="http://player.youku.com/player.p ... AutoPlay=true/v.swf"/>
<meta property="og:width" content="500″ />
<meta property="og:height" content="416″ />
<meta property="og:type" content="video"/>
<meta property="og:title" content="七娃博客"/>
<meta property="og:image" content="http://g1.ykimg.com/0100641F464A ... EA-E5E20A1887C44444″/>
<meta property="og:url" content="http://v.youku.com/v_show/id_XMTIyMTY5NzMyyyyyyyyyyyyyyyy.html"/>
<meta property="og:videosrc" content="http://player.youku.com/player.p ... AutoPlay=true/y.swf"/>
<meta property="og:width" content="600″ />
<meta property="og:height" content="716″/>

标签解释:

og:title 标题
og:type 类型 常用值:article book movie
og:image 略缩图地址
og:url 页面地址
og:description 页面的简单描述
og:site_name 页面所在网站名
og:videosrc 视频或者Flash地址
og:audiosrc 音频地址