From 974f865fc9d38d66ef3761ec02dc1b84fabe5a49 Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Wed, 23 May 2018 14:16:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4SEO=E5=85=B3=E9=94=AE?= =?UTF-8?q?=E5=AD=97=E7=A9=BA=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/welcome.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/welcome.php b/application/controllers/welcome.php index 03efa294..c41ce868 100644 --- a/application/controllers/welcome.php +++ b/application/controllers/welcome.php @@ -205,7 +205,7 @@ class Welcome extends CI_Controller { $http_host = 'http://www.chinahighlights.com/'; $https_host = 'https://www.chinahighlights.com/'; $data['all_information'] = - $this->Information_model->search_all_text($http_host, 150); + $this->Information_model->search_all_text($http_host, 200); echo 'count: '.count($data['all_information']).'
'; if (empty($data['all_information'])) { echo 'nothing transform to https'; @@ -213,7 +213,7 @@ class Welcome extends CI_Controller { foreach ($data['all_information'] as $item) { if (empty($item->ic_url) || empty($item->ic_type) || - empty($item->ic_seo_keywords) || empty($item->ic_seo_title) || empty($item->ic_seo_description)) { + empty($item->ic_seo_title) || empty($item->ic_seo_description)) { echo '['.$item->ic_title .'] ['.$item->ic_url.']
'; continue; } else {