-
电子设备产品类网站织梦...
-
网站建站优化推广类网站...
-
发电机设备出售租赁类网...
-
搬家公司类网站织梦模板...
-
婚纱摄影定制类网站织梦...
-
服装时装设计类网站织梦...
-
商标注册会计服务类网站...
-
有机肥料化肥类网站织梦...
-
教育机构资格证书类网站...
-
汽车用品配件类网站织梦...
-
PPT素材下载类网站织梦模...
-
鲜花商城购物类网站织梦...
-
信息技术软件类网站织梦...
-
成人高考自考教育机构类...
-
中英双语建材装饰类网站...
-
水上游乐园设备类网站织...
-
短视频直播带货类网站织...
-
艺术家居设计类网站织梦...
-
餐具类网站织梦模板(自...
-
茶叶茶道类网站织梦模板...
打开/include/dedecollection.class.php文件
找到
//自动分析关键字和摘要preg_match("/<meta[/s]+name=['/"]keywords['/"] content=['/"](.*)['/"]/isU",$this->tmpHtml,$inarr);preg_match("/<meta[/s]+content=['/"](.*)['/"] name=['/"]keywords['/"]/isU",$this->tmpHtml,$inarr2);if(!isset($inarr[1]) && isset($inarr2[1])){$inarr[1] = $inarr2[1];}
改成
//自动分析关键字和摘要preg_match("/<meta[/s]+name=['/"]keywords['/"] content=['/"](.*)['/"]/isU",$this->tmpHtml,$inarr);preg_match("/<meta[/s]+content=['/"](.*)['/"] name=['/"]keywords['/"]/isU",$this->tmpHtml,$inarr2);preg_match("/<meta[/s]+name=keywords content=['/"](.*)['/"]/isU",$this->tmpHtml,$inarr3);if(!isset($inarr[1]) && isset($inarr2[1])){$inarr[1] = $inarr2[1];}if(!isset($inarr[1]) && isset($inarr3[1])){$inarr[1] = $inarr3[1];}
再找到
preg_match("/<meta[/s]+name=['/"]description['/"] content=['/"](.*)['/"]/isU",$this->tmpHtml,$inarr);preg_match("/<meta[/s]+content=['/"](.*)['/"] name=['/"]description['/"]/isU",$this->tmpHtml,$inarr2);if(!isset($inarr[1]) && isset($inarr2[1])){$inarr[1] = $inarr2[1];}
改成
preg_match("/<meta[/s]+name=['/"]description['/"] content=['/"](.*)['/"]/isU",$this->tmpHtml,$inarr);preg_match("/<meta[/s]+content=['/"](.*)['/"] name=['/"]description['/"]/isU",$this->tmpHtml,$inarr2);preg_match("/<meta[/s]+name=description content=['/"](.*)['/"]/isU",$this->tmpHtml,$inarr3);if(!isset($inarr[1]) && isset($inarr2[1])){$inarr[1] = $inarr2[1];}if(!isset($inarr[1]) && isset($inarr3[1])){$inarr[1] = $inarr3[1];}