当前位置:网站首页>Baidu time factor addition
Baidu time factor addition
2022-06-28 18:45:00 【Pu~】
<!-- Baidu statistics -->
<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>
<!-- Baidu statistics -->边栏推荐
猜你喜欢

618 activity season - the arrival of special discounts for hundreds of low code platforms

CORBA 架构体系指南(通用对象请求代理体系架构)

leetcode 1423. Maximum Points You Can Obtain from Cards(从牌中能得到的最大点数和)

匿名函数this指向以及变量提升

About Covariance and Correlation(协方差和相关)

618活动季——百数低代码平台特享折扣来临

How to design a business high performance and high availability computing architecture - job

匿名函数变量问题

向上转型和向下转型

堆的概念和代码实现
随机推荐
C语言指针的一些易错点
堆的概念和代码实现
leetcode 1647. Minimum Deletions to Make Character Frequencies Unique(所有字母频率不同的最小删除次数)
ONEFLOW source code parsing: automatic inference of operator signature
Konva series tutorial 3: Customizing drawings
用户网络模型与QoE
MindSpore系列一加载图像分类数据集
Object tracking using tracker in opencv
Seata implementation of sharing JDBC distributed transaction
An error is reported when ActiveMQ is started. The 1883 port occupation problem is solved
AOSP清华镜像下载错误解决
EasyCVR新建用户后,视频调阅页面不能点击的问题修复
图形系统——2.view绘制
抗兔Dylight 488丨Abbkine通用型免疫荧光(IF)工具箱
Voice network VQA: make the user's subjective experience of unknown video quality in real-time interaction known
打破学科之间壁垒的STEAM教育
百度时间因子添加
select/poll/epoll
Memory leak
第2章 处理文件、摄像头和图形用户界面cameo应用