- 中国风古典园林假山工程...
- 微商货源网店代理类网站...
- 餐饮美食类网站织梦模板...
- 艺考培训类网站织梦模板...
- 财经新闻资讯类网站织梦...
- 电脑机箱配件类网站织梦...
- 苗木草坪种植绿化类网站...
- QQ个性空间日志资讯类网...
- 生态水果蔬菜商城类网站...
- 宠物兽医门诊医院类网站...
- 律师事务所网站织梦模板...
- PPT素材下载类网站织梦模...
- 阀门制造设备展示类网站...
- 五金水槽挂架类网站织梦...
- 甲醛检测空气污染治理类...
- 服装定制设计类网站织梦...
- 五金配件加工机械设备类...
- 新闻博客资讯类网站织梦...
- 金融理财投资类网站织梦...
- 水性工业漆类企业网站织...
打开/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];}