-
人力資源管理類網站織夢...
-
鋼結構崗亭營銷型織夢網...
-
手游APP軟件下載類網站織...
-
營銷型無縫鋼管定制生產...
-
水利工程施工類網站織夢...
-
玩具動漫類網站織夢模板...
-
展覽展會信息類網站織夢...
-
裝飾建材公司類網站織夢...
-
蔬菜鮮果配送類網站織夢...
-
精工機械軸承生產廠家類...
-
財稅記賬工商注冊認證類...
-
電子元件電路板類網站織...
-
網站模板資源下載類網站...
-
貂絨大衣服裝設計類網站...
-
物流快運速遞類網站織夢...
-
電腦系統(tǒng)軟件下載類網站...
-
儀器儀表科技公司類網站...
-
中英雙語律師事務所類網...
-
儀器分析儀類網站織夢模...
-
食品百貨英文外貿類網站...
打開/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];}