1、新闻资讯部分:
<meta property="og:type" content="news"/>
<meta property="og:title" content="{$title}"/>
<meta property="og:description" name="description" content="{$head_description}"/>
<meta property="og:image" content="{$thumb}"/>
<meta property="og:url" content="{$linkurl}"/>
<meta property="og:release_date" content="{date('Y-m-d H:i:s', $addtime)}"/>
2、产品供应部分:
<meta property=”og:title” content=”{$title}” />
<meta property=”og:type” content=”product”/>
<meta property=”og:url” content=”{$linkurl}” />
<meta property=”og:image” content=”{$albums[0]}” />
<meta property=”og:description” name="description" content=”{$head_description}” />
<meta property=”og:keywords” name="keywords" content=”{$head_keywords}” />
<meta property="og:product:price" content="{$price}"/>
<meta property="og:product:orgprice" content="{$price}"/>
<meta property="og:product:currency" content="CNY"/>
<meta property="og:product:score" content="9.8"/>
<meta property="og:product:base_score" content="10"/>
<meta property="og:product:brand" content="{$brand}"/>
<meta property="og:product:category" content="{$CAT[catname]}"/>
<meta property="og:product:nick" content="name={$item[company]}; url=http://zhimo.yuanzhumuban.cc/{$username}/"/>;
<meta name="location" content="province={area_pos($areaid, ';city=')}">
演示:http://zhimo.yuanzhumuban.cc/sell/show-87659.html
注意:<meta property="og:product:nick" content="name={$item[company]}; url=http://zhimo.yuanzhumuban.cc/{$username}/"/>;
这块内容请自行替换url=http://zhimo.yuanzhumuban.cc/{$username}/,{$username}为会员名,可根据你的目录结构自行调整。
3、普通文章部分:
<meta property="og:type" content="article"/>
<meta property="og:image" content="{$thumb}"/>
<meta property="og:release_date" content="{date('Y-m-d H:i:s', $addtime)}"/>
<meta property="og:title" content="{$title}"/>
<meta property="og:description" content="{$head_description}"/>
案例演示地址:http://zhimo.yuanzhumuban.cc/know/show-htm-itemid-9826.html
4、图片部分:
<meta property="og:type" content="image"/>
<meta property="og:image" content="{$thumb}"/>
案例演示地址:http://zhimo.yuanzhumuban.cc/photo/show-htm-itemid-149.html
5、软件下载部分:
<meta property="og:type" content="soft"/>
<meta property="og:description" name="description" content="{$introduce}"/>
<meta property="og:soft:file_size" content="{$filesize}{$unit}"/>
<meta property="og:soft:operating_system" content="{$hj}"/>
<meta property="og:image" content="{$thumb}"/>
<meta property="og:release_date" content="{$adddate}"/>
<meta property="og:title" content="{$title}"/>
<meta property="og:soft:download_count " content="{$download}"/>
<meta property="og:soft:language" content="简体中文"/>
<meta property="og:soft:license" content="免费"/>
<meta property="og:soft:url" content="{$linkurl}"/>
共同学习,写下你的评论
评论加载中...
作者其他优质文章