How does AnQiCMS define and display related articles? Is it based on keywords or manual association?

Calendar 👁️ 61

In website operation, recommending related 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 intelligent recommendations or manual associations according to their 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 theme of the article. You can enter them manually or choose from the system-provided keyword library.Keywords are usually separated by English commas between them, not only do they help search engines understand the theme of the article, but they are also an important basis for content matching within AnQiCMS.
  • Tag Label:Tags are similar to the topics or categories of articles, but they are more flexible and personalized. You can add one or more tags to an article to associate articles with common topics.

AnQiCMS will utilize this keyword and tag 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, thereby forming a content loop and guiding users to discover more interesting content.

This method is particularly suitable for websites with large amounts of content and frequent updates, it can greatly reduce manual operations, allowing the system to automatically discover and recommend relevant content, and improve operational efficiency.

Precise configuration: Manually associate content guidance

Although smart 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 associate a special article with a specific product page, or link 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 to be related reading when editing the article.This means you can skip the system's automatic judgment and directly select the article that you think can best guide users and is most in line with business logic for display.This way gives the operator complete control over content association, allowing for the fine-grained design of content recommendations based on content strategy and user conversion path.

Manually linking 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 uses powerfularchiveListtags to unify the call. This tag'stype="related"The parameter is specifically used to retrieve related articles.

Specifically, 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>

Herelimit="10"Controlled the number of displayed related articles.

To distinguish between keyword-based recommendations and manual associations,archiveListthe tags also providelikeparameters:

  • like="keywords"When you want the system to intelligently match keywords from 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 values based on business needs, even on the same page,likeParameters to display a list of relevant articles with different logic, realizing a richer recommendation strategy.

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


Frequently Asked Questions (FAQ)

1. How are the recommended articles of AnQiCMS sorted?When usingtype="related"When retrieving the recommended articles of the smart recommendation,archiveListTags are not supportedorderThe parameters 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 the manual association of articles in the background?Based onarchiveListin the taglike="relation"The description, manual association of articles needs to be configured in the 'related documents' area of the 'background document editing interface'.This usually means that when editing the details page of an article, there will be special options or modules for you to select or enter the ID or title of other articles to establish the association between them.

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 be positioned or accessed in different ways.archiveListTag instance, calling the article list based on keyword intelligent recommendation and the manually associated article list.For example, you can first display several manually associated 'Special Recommendations' at the bottom of the article, and then show more 'Articles You May Also Like' based on keywords below that.

Related articles

How to dynamically fetch and display the previous and next articles of the current article on the article detail page?

In website operation, how to allow users to smoothly jump to related or the next article after reading an article is the key to improving user experience and website stickiness.Especially for sites with a large amount of content, such as blogs, information stations, or product display websites, a intuitive 'Previous/Next' navigation function is particularly important.It can not only guide users to deeply browse and reduce the bounce rate, but also provide more internal links for search engines to optimize the SEO performance of the website.AnQiCMS (AnQiCMS) is a powerful content management system that fully considers this need

2025-11-08

How to retrieve the custom fields (such as author, source, additional parameters) of the current article and display them?

In Anqi CMS, managing and displaying custom fields for articles such as authors, sources, or additional parameters is a common and practical need in content operation.The Anqi CMS, with its flexible content model design, provides multiple ways to achieve this goal, helping you easily enrich article information and present it to readers in a personalized manner. ### Understanding AnQi CMS Custom Fields Firstly, we need to understand how article custom fields work in AnQi CMS.

2025-11-08

How to obtain and display the title, content, thumbnail, and other core information of an article on the article detail page?

When operating a website, the article detail page is the key entry point for users to understand the core value of the content.A well-designed, comprehensive article detail page that not only improves user experience but also effectively helps search engines understand the content of the page, thus optimizing the website's SEO performance.AnQiCMS (AnQiCMS) provides a powerful and flexible template tag system that allows you to easily obtain and present all the core information of the article.

2025-11-08

How to display the article list according to the article views, publish time, or backend custom sorting?

In website operation, the way articles are displayed directly affects user experience and content access efficiency.A well-organized list of articles that can highlight key points, significantly improving user retention and information acquisition efficiency.AnQiCMS as a flexible content management system provides powerful article list display functions, not only can it flexibly filter content, but also can freely adjust the sorting method of articles according to your content strategy, making your website content more attractive.

2025-11-08

How to retrieve and loop through all document lists under a specific Tag (label) in the template?

In AnQi CMS, content organization can not only be achieved through traditional classification methods, but also flexible "Tag" mechanisms provide a wide space for content association and user search.When you want to display all documents under a specific tag in a certain area of the website, such as the sidebar, related recommendation modules, or even a dedicated Tag aggregation page, AnQi CMS provides a powerful and intuitive template tag that makes this process easy.This article will delve into how to use the Anqi CMS template

2025-11-08

How to retrieve and display detailed information of a specified category, including its description, Banner image, and Logo?

In a content management system, categories are not only the form of content organization, but also the core of website structure and user navigation.Flexibly obtain and display detailed information of a specific category, such as its description, unique banner image and logo, which is crucial for creating attractive and informative pages.AnQiCMS (AnQiCMS) provides an intuitive and powerful template tag to meet this need, allowing you to easily achieve this requirement.### Core Function Tag

2025-11-08

How to implement a multi-level nested tree structure display in the category list?

When building website categories, we often need to display a clear, hierarchical structure so that users can intuitively understand the ownership of the website content.AnQiCMS provides powerful template tag features, fully supporting the display of multi-level nested tree structures in category lists, helping you easily create a user-friendly navigation system.The core of achieving this effect lies in the clever use of the `categoryList` template tag of Anqi CMS and its built-in hierarchical judgment function.By looping in the template, you can use the parent-child relationship of the category

2025-11-08

How to display the main category in the navigation bar and show the latest products under this category in the dropdown menu?

In website operation, a clear and effective navigation system is the key to improving user experience and website professionalism.AnQiCMS (AnQiCMS) with its flexible content management and powerful template engine, can help us easily achieve complex navigation requirements.Today, let's discuss how to display the main categories in the website's navigation bar and also show the latest products under the category in a dropdown menu when the mouse hovers over it.### One, Understand the navigation and content management basics of AnQiCMS One of the core advantages of AnQiCMS lies in its modular content management system

2025-11-08