dedecms织梦采集相同标题文章跳过采集方法(2)

分页标题#e#

                   $title = dede_htmlspecialchars(cn_substrR($title,$cfg_title_maxlen));

                   $shorttitle = $shorttitle;

                   $color =  cn_substrR($color,7);

                   $writer =  $writer;

                   $source = $source;

                   $description = cn_substrR($description,250);

                   $keywords = trim(cn_substrR($keywords,60));

                   $filename = trim(cn_substrR($filename,40));

                   $isremote  = (empty($isremote)? 0  : $isremote);

                   $serviterm=empty($serviterm)? "" : $serviterm;

                   if(!TestPurview('a_Check,a_AccCheck,a_MyCheck'))

                   {

                            $arcrank = -1;

                   }

                   $adminid = $cuserLogin->getUserID();

  

                   //处理上传的缩略图

                   if(empty($ddisremote))

                   {

                            $ddisremote = 0;

                   }

                   $litpic = GetDDImage('none',$picname,$ddisremote);

  

                   //分析body里的内容

                   $body = AnalyseHtmlBody($body,$description,$litpic,$keywords,'htmltext');

  

                   //分析处理附加表数据

                   $inadd_f = '';

                   $inadd_v = '';

                   if(!empty($dede_addonfields))

                   {

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/af1924cf4fb6a4c6ccb505f62092dd38.html