时时商务社区

标题: 百度新闻协议 关于图片显示的问题 [打印本页]

作者: 网络通达    时间: 2018-2-13 20:41

关键字描述:显示 问题 图片 关于 新闻 协议 百度 &nbsp &quot &lt
图片:
=700) window.open('http://files.jb51.net/file_images/cms/2009661552346877801.gif');" src="http://files.jb51.net/file_images/cms/2009661552346877801.gif" onload="if(this.width>'700')this.width='700';" border="0" alt="" />
图片:
=700) window.open('http://files.jb51.net/file_images/cms/2009661552382877802.gif');" src="http://files.jb51.net/file_images/cms/2009661552382877802.gif" onload="if(this.width>'700')this.width='700';" border="0" alt="" />
[attachment=16890] [attachment=16890]  [attachment=16890] \n";
$baidunews .= "\n";
$baidunews .= "$cfg_webname \n";
$baidunews .= "$cfg_adminemail \n";
$baidunews .= "$cfg_updateperi \n";
$limit = $cfg_baidunews_limit;
if($limit > 100 || $limit SetQuery($query);
$dsql->execute();
while($row = $dsql->getarray()){
  $title = htmlspecialchars($row['title']);
  
  if(strpos($row['url'],'http://') === false){
  $link = $cfg_basehost.$row['url'];
  }else{
  $link = $row['url'];
  }
  $link = htmlspecialchars($link);
  $description = htmlspecialchars($row['addinfos']);
  $description =str_replace("  ","", $description);//去除中文tab键产生的空白
  $text = trim($row['body']);
  //处理内容块;
  $text =nl2br($text );
  $text =strip_tags($text );
  $text  =str_replace("  ","", $text);
  $text  =str_replace("",">", $text);
  $text  =str_replace("—","-", $text);
  $text = preg_replace("/\ \;/i", " ", $text );
  
         
上一页12 下一页 阅读全文





欢迎光临 时时商务社区 (http://bbs.4435.cn/) Powered by Discuz! X3.2