In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article is about solving the problem that abstracts and keywords are not automatically generated in dream collection. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.
What if dream-weaving collection does not automatically generate abstracts and keywords?
Dream weaving DEDECMS collection does not automatically generate abstracts and keywords.
Recommended study: dream weaving cms
Dream 5.6 collected the content, but did not automatically generate summaries and keywords, keywords and abstracts are empty.
Maybe many people have encountered the same problems as me, and they really didn't find a good solution in the forum, so they started to change the documents on their own. No more nonsense.
Here is my solution:
1. Modify include/dedecollection.class.php
/ / automatically analyze keywords and abstracts preg_match ("/ tmpHtml,$inarr2); if (! isset ($inarr [1]) & & isset ($inarr2 [1])) {$inarr [1] = $inarr2 [1];}
Replace the above with the following code
/ / automatically analyze keywords and abstracts preg_match ("/ tmpHtml,$inarr2); preg_match (" / tmpHtml,$inarr3); if (! isset ($inarr [1]) & & isset ($inarr2 [1])) {$inarr [1] = $inarr2 [1];} if (! isset ($inarr [1]) & isset ($inarr3 [1])) {$inarr [1] = $inarr3 [1];}
After changing the above, there is another area that needs to be changed.
Preg_match ("/ tmpHtml,$inarr2); if (! isset ($inarr [1]) & & isset ($inarr2 [1])) {$inarr [1] = $inarr2 [1];}
Replace the above with the following code:
Preg_match ("/ tmpHtml,$inarr2); preg_match (" / tmpHtml,$inarr3); if (! isset ($inarr [1]) & & isset ($inarr2 [1])) {$inarr [1] = $inarr2 [1];} if (! isset ($inarr [1]) & isset ($inarr3 [1])) {$inarr [1] = $inarr3 [1];} Thank you for reading! So much for solving the problem that dream collection does not automatically generate abstracts and keywords. I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.