-
五金制品厨房用品类网站...
-
花店鲜花配送类网站织梦...
-
管理咨询培训机构类网站...
-
中英双语装修建材类网站...
-
有机生物产品类网站织梦...
-
金融理财投资类网站织梦...
-
渔具批发牧渔类网站织梦...
-
手机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];}