-
農(nóng)業(yè)機(jī)械設(shè)備類網(wǎng)站織夢...
-
潮流資訊信息類網(wǎng)站織夢...
-
企業(yè)公司行業(yè)通用類網(wǎng)站...
-
中藥藥材百科資訊類網(wǎng)站...
-
道路護(hù)欄交通設(shè)施類網(wǎng)站...
-
新媒體自媒體運(yùn)營資訊類...
-
車輛機(jī)油工業(yè)潤滑油類網(wǎng)...
-
園林綠化景觀建設(shè)類網(wǎng)站...
-
汽車配件類網(wǎng)站織夢模板...
-
LED顯示屏中英雙外貿(mào)類網(wǎng)...
-
環(huán)保設(shè)備研發(fā)制造類網(wǎng)站...
-
環(huán)保電動掃地車類網(wǎng)站織...
-
水上樂園設(shè)備類網(wǎng)站織夢...
-
攝影拍攝短視頻類網(wǎng)站織...
-
園林景觀設(shè)計類網(wǎng)站織夢...
-
辦公學(xué)習(xí)教程資訊類網(wǎng)站...
-
網(wǎng)站建設(shè)營銷類網(wǎng)站織夢...
-
水性工業(yè)漆類企業(yè)網(wǎng)站織...
-
灶具電器設(shè)備類網(wǎng)站織夢...
-
APP應(yīng)用程序官網(wǎng)類網(wǎng)站織...
打開/include/dedecollection.class.php文件
找到
//自動分析關(guān)鍵字和摘要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];}
改成
//自動分析關(guān)鍵字和摘要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];}




