<var id="xvh3p"><noframes id="xvh3p"><var id="xvh3p"></var><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing>
<var id="xvh3p"><strike id="xvh3p"><var id="xvh3p"></var></strike></var><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<span id="xvh3p"><noframes id="xvh3p"><dl id="xvh3p"></dl>
<span id="xvh3p"><noframes id="xvh3p">
<dl id="xvh3p"><noframes id="xvh3p">
<listing id="xvh3p"><noframes id="xvh3p"><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<th id="xvh3p"><strike id="xvh3p"></strike></th>
<dl id="xvh3p"><noframes id="xvh3p">
<th id="xvh3p"><noframes id="xvh3p">

观点

互联网+时代,说建站,谈运营与网络营销

把DEDE,RSS的描述改成全文内容输出

时间:2020-12-15

修改方法如下:



1.找rss的模板 templets/plus/rss.htm


把<description>[field:description/]</description>


改成


<description>[field:body/]</description>



如果你不改直接增加换成别的名字也可以,


例如:


<text>[field:body/]</text>


2.修改生成rss的php源代码./include/inc_rss_view.php



大概100行左右 或者搜 $query = "Select



直接改成,



$query = "Select



dede_archives.ID,dede_archives.title,dede_archives.source,dede_archives.writer,dede_archives.type



id,dede_archives.ismake,dede_archives.money,


 



dede_archives.description,dede_archives.pubdate,dede_archives.senddate,dede_archives.arcrank,#@_



_archives.click,


  dede_archives.litpic,dede_arctype.typedir,dede_arctype.typename,dede_arctype.isdefault,


  dede_arctype.defaultname,dede_arctype.namerule,dede_arctype.namerule2,dede_arctype.ispart,


  dede_arctype.siteurl,dede_addonarticle.body


  from dede_archives


  left join dede_arctype on dede_archives.typeid=dede_arctype.ID


  left join dede_addonarticle on dede_archives.ID=dede_addonarticle.aid


  where $orwhere $ordersql limit 0,".$this->MaxRow;



这样基本就OK了,如果觉的内容太多加载的慢,


可以加上下面这段代码,只用第一页的内容作为内容



在这一段 //处理一些特殊字段  下面加上


$row["body"] = substr($row["body"], 0, strpos($row["body"]."

0
首页
案例
关于
联系