当前位置:网站首页>百度时间因子添加
百度时间因子添加
2022-06-28 18:32:00 【璞~】
<!-- 百度统计 -->
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?b9c8f8d8d7f9d8f8d7f9d8f8d7f9d8f8";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
console.log({$article});
</script>
<php>
$content = str_replace('\"', '', $article['content']);
preg_match_all('/<img[^>]*src\s?=\s?[\'|"]([^\'|"]*)[\'|"]/is', $content, $picarr);
if(!empty($picarr[1][0])){
$src= $picarr[1][0];
}else{
$src='';
}
</php>
<script type="application/ld+json">
{
"@context": "https://ziyuan.baidu.com/contexts/cambrian.jsonld",
"@id": "https://{$_SERVER['SERVER_NAME']}/ask/{$article.id}.html",
"title":"{$article.title}",
"images": ["https://oss.kaoersi.com/{$src}"],
"description":"{$article.description}",
"pubDate": "{$article.create_time|date='Y-m-d\TH:i:s'}",
"upDate":"{$article.create_time|date='Y-m-d\TH:i:s'}",
"IrDate":"{$article.answer_time|date='Y-m-d\TH:i:s'}",
}
</script>
<!-- 百度统计 -->边栏推荐
猜你喜欢

use. NETCORE's own background job, which simply simulates producers and consumers' processing of request response data in and out of the queue

数据资产为王,如何解析企业数字化转型与数据资产管理的关系?

About Statistical Distributions

Mycat+分库分表

Seata implementation of sharing JDBC distributed transaction

Easyexcel learning notes

技术管理进阶——管理者如何做绩效沟通及把控风险

Graphic system - 1 Layout loading

EasyExcel 学习笔记

使用.NetCore自带的后台作业,出入队简单模拟生产者消费者处理请求响应的数据
随机推荐
tensorboard 使用总结
软件测试的三个沟通技巧
正版ST-link/V2 J-LINK JTAG/SWD引脚定义和注意事项
如何使用 SAP CDS view 中的 currency conversion 功能
select/poll/epoll
刷题分析工具
SMARCA2抗体研究:Abnova SMARCA2 单克隆抗体方案
Small program graduation project based on wechat mobile mall small program graduation project opening report function reference
Sword finger offer 11 Minimum number of rotation array
Opencv中使用Tracker实现物体跟踪
Small program graduation project based on wechat agricultural and sideline products agricultural products mall small program graduation project opening report function reference
CANN媒体数据处理V2,JPEGD接口介绍
Common DOS commands
原生实现.NET 5.0+ 自定义日志
东方财富软件股票开户是靠谱的吗?在哪开户安全
curl: (56) Recv failure: Connection reset by peer
EasyCVR新建用户后,视频调阅页面不能点击的问题修复
剑指 Offer 11. 旋转数组的最小数字
使用.NetCore自带的后台作业,出入队简单模拟生产者消费者处理请求响应的数据
About Covariance and Correlation(协方差和相关)