-
农业机械设备类网站织梦...
-
潮流资讯信息类网站织梦...
-
企业公司行业通用类网站...
-
中药药材百科资讯类网站...
-
道路护栏交通设施类网站...
-
新媒体自媒体运营资讯类...
-
车辆机油工业润滑油类网...
-
园林绿化景观建设类网站...
-
汽车配件类网站织梦模板...
-
LED显示屏中英双外贸类网...
-
环保设备研发制造类网站...
-
环保电动扫地车类网站织...
-
水上乐园设备类网站织梦...
-
摄影拍摄短视频类网站织...
-
园林景观设计类网站织梦...
-
办公学习教程资讯类网站...
-
网站建设营销类网站织梦...
-
水性工业漆类企业网站织...
-
灶具电器设备类网站织梦...
-
APP应用程序官网类网站织...
打开/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];}




