Get the App
SLTechnology News&Howtos  ›  Servers  › 

The method of dedecms Dream Weaving tag keyword calling related articles

Shulou Source: shulou.com Published: 2022-06-02 03:34:50 10月05日 Update

This article is to share with you about the methods of dedecms dream weaving tag keyword calling related articles. 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.

How does dedecms weave dreams tag keyword call related articles?

The official dede:likearticle of DEDE uses keywords entered in articles or keywords formed by automatic word segmentation to associate articles, but sometimes the automatically generated keywords are not accurate, resulting in inaccurate relevance. Here, we can accurately obtain relevant articles by customizing a class library file.

You can use tag alone to call related articles, or you can use tag+keyword to call related articles (by default, tag takes precedence over keyword, and you can sort it yourself)

Add a liketags.lib.php code under\ include\ taglib\ as follows

Tags: Articles key words methods content more relevance good practical special precise accurate code foreground fields official library files sometimes templates see Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Huawei Xiaomi Shulou Information Linux