In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the method of weaving dream dedecms rss output into full-text output, the article is very detailed, has a certain reference value, interested friends must read it!
Dream weaving dedecms rss output how to change to full-text output?
Today, I would like to share with you how to change the rss output of Weaving Dream into full-text output, so I will share with you the method of modifying Weaving Dream rss output to full-text output.
Recommended study: dream weaving cms
When it comes to php, don't worry, don't come back after learning php. When it comes to dream-weaving tags, we can also consider.
Let's talk about the method.
The modification method is as follows:
1. Find the template templets/plus/rss.htm of rss
Put [field:description/]
Change to
[field:body/]
If you don't change it, you can just add it to another name.
For example:
[field:body/]
two。 Modify the php source code that generates rss. / include/inc_rss_view.php
About 100 lines or search for $query = "Select"
Directly change it to
$query = "Select dede_archives.ID,dede_archives.title,dede_archives.source,dede_archives.writer, dede_archives.typeid,dede_archives.ismake,dede_archives.money,dede_archives.description,dede_archives.pubdate,dede_archives.senddate,dede_archives.arcrank,dede_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
This is basically OK, if you think too much content is slow to load
You can add the following code, using only the content of the first page as content
Add at the bottom of this paragraph / / handle some special fields
$row ["body"] = substr ($row ["body"], 0, strpos ($row ["body"]. ",")); / / lava
Other filters and other things can also be modified flexibly.
The above is all the contents of the method of weaving dream dedecms rss output into full-text output, thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.