-
人力资源管理类网站织梦...
-
钢结构岗亭营销型织梦网...
-
手游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];}