非归类用法
p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px ".PingFang SC"; color: #454545 }
p.p2 { margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px "Helvetica Neue"; color: #454545; min-height: 14.0px }
p.p3 { margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px "Helvetica Neue"; color: #e4af0a }
p.p4 { margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px "Helvetica Neue"; color: #454545 }
span.s1 { font: 12.0px "Helvetica Neue"; color: #e4af0a }
span.s2 { font: 12.0px ".PingFang SC" }
span.s3 { font: 12.0px "Helvetica Neue" }
span.s4 { font: 12.0px ".PingFang SC"; color: #454545 }
span.s5 { color: #454545 }
1简易信息聚合(也叫聚合内容)是一种RSS基于XML标准:标准的XML格式
插件Suin\RSSWriter; 文章,有时间实现以下https://www.cnblogs.com/longmsdu/articles/5043561.html
3
foreach ($lists as $key => &$comment) {//就不用使用$list[$key][]’’
$comment[‘md5’]=md5($coommet[‘email’]);
}
4Parsedown 是PHP 的 Markdown 解析器
$comment_text = strip_tags($request->markdown);
$comment->content = (new \Parsedown())->text($comment_text);
$comment->markdown = $request->markdown;
5
$this->client_id = $request->getClientIp();//好像是request还是获取ip
6七牛上传
通过这个网站生成头像并上传到七牛
public function cacheGravatar($email)
{
$gravatar = sprintf("https://cn.gravatar.com/avatar/%s?d=identicon&s=60", md5(strtolower(trim($email))));
$disk = QiniuStorage::disk(‘qiniu‘);
$fileName = ‘avatar_‘ . date(‘Y-m-d‘);
$disk->fetch($gravatar, $fileName);
$download = $disk->downloadUrl($fileName, config(‘filesystems.disks.qiniu.protocol‘));
return $download->getUrl();
}