In website operation, recommending relevant articles is an important strategy to enhance user experience, extend user stay time, and optimize on-site SEO.AnQiCMS provides a flexible and efficient mechanism to define and display related articles, allowing operators to choose between intelligent recommendations or manual association based on actual needs.

Intelligent recommendation: Dynamic association based on keywords and tags

AnQiCMS's intelligent recommendation mechanism mainly relies on the keywords and tags set in the article content. When you edit articles in the background, you can set for each article:

  • Document keywords:These keywords are the condensation of the core themes of the article.You can enter manually, or select from the system-provided keyword library.Multiple keywords are usually separated by English commas, which not only help search engines understand the theme of the article, but are also an important basis for content matching within AnQiCMS.
  • Tag tags:Tags are similar to topics or categories of articles, but with more flexibility and personalization. You can add one or more tags to an article to associate articles with common topics.

AnQiCMS will use these keywords and tags information, combined with internal algorithms, to analyze the relevance between articles.When a visitor browses an article, the system can intelligently recommend other articles with similar themes based on the keywords or tags of this article, thus forming a content loop to guide users to discover more interesting content.

This approach is particularly suitable for websites with a large amount of content and frequent updates. It can significantly reduce manual operations, allowing the system to automatically discover and recommend relevant content, improving operational efficiency.

Precision Configuration: Manual association to implement content guidance

Although intelligent recommendations are very convenient, in certain specific scenarios, operators may need to control the recommendation of related articles more accurately.For example, you may want to link a special topic article to a specific product page, or connect a beginner's guide to an advanced tutorial.In this case, AnQiCMS provides the ability to manually associate articles.

By manually linking, you can directly specify which articles as related readings for the current article when editing the article.This means you can skip the system's automatic judgment and directly choose the article that you believe can best guide users and is most in line with business logic for display.This approach gives operators complete control over content association, allowing for fine-grained design of content recommendations based on content strategy and user conversion paths.

Manual association is particularly suitable for scenarios where it is necessary to emphasize specific content, guide users to complete specific actions (such as purchasing, registering) or build a clear knowledge system.

How to display related articles in the template?

Whether you choose smart recommendation or manual association, AnQiCMS passes through the template layer with a powerfularchiveListThis tag'stype="related"The parameter is specifically used to retrieve related articles.

In particular, when you need to display related articles on the article detail page, you can use the following template code:

{# 获取相关文档列表 #}
<div>
{% archiveList archives with type="related" limit="10" %}
    {% for item in archives %}
    <li>
        <a href="{{item.Link}}">
            <h5>{{item.Title}}</h5>
            <div>{{item.Description}}</div>
        </a>
    </li>
    {% empty %}
    <li>
        当前没有相关文章
    </li>
    {% endfor %}
{% endarchiveList %}
</div>

Here are thelimit="10"Controlled the number of displayed articles.

To distinguish between keyword-based recommendations and manual associations,archiveListthe tag also provides,likeParameters:

  • like="keywords"When you want the system to intelligently match based on the keywords of the current article.AnQiCMS will find and recommend related articles based on the first keyword of the current article.
  • like="relation"When you want to display the associated articles manually set in the background document editing interface.

This means you can set different ones based on your business requirements, even on the same page.likeParameters to display a list of related articles with different logic, achieving a more rich recommendation strategy.

This design of AnQiCMS fully considers the needs of website operation in terms of efficiency and accuracy, helping to build a more effective content association network through intelligent keyword/tag recognition and flexible manual configuration, thereby enhancing user experience and the overall value of the website.


Common Questions (FAQ)

How are the recommended articles sorted by AnQiCMS Smart Recommendation?When usingtype="related"to get the recommended articlesarchiveListthe tag is not supportedorderParameters are customized for sorting. The system usually sorts based on its internal algorithm, combined with factors such as relevance and publication time, to ensure the effectiveness of recommended content.

2. Where do I need to set up manual article association in the background?Based onarchiveListtagslike="relation"

3. Can I use both keyword intelligent recommendation and manual association at the same time?Of course, you can. AnQiCMS's flexibility allows you to place or access it in different positions or through differentarchiveListLabel instances, calling article lists based on keywords intelligent recommendation and manually associated article lists.For example, you can first display several manually associated 'Special Recommendations' at the bottom of the article, and then show more 'You Might Also Like' articles based on keywords below that.