Feature preview

Feature Introduction

Scheduling publication and recycling bin: AnQiCMS content lifecycle management mechanism

AnQiCMS divides document status into formal documents, drafts, pending publication, and recycling bin. Draft links with the preview=true parameter can be previewed, and deleting formal documents moves them to the recycling bin instead of physical deletion, which can be restored at any time. The time factor supports setting content to be automatically published at a specified time.

Recycle Bin Schedule publishing Content Management

Feature Introduction

AnQiCMS adopts a four-state model to manage the complete lifecycle of documents: formal documents, drafts, pending publication, and recycling station. This design ensures the flexibility of content publication while avoiding irreversible losses caused by accidental deletions. Draft documents can be previewed via parameters links, and when formal documents are deleted, the system will move them to the recycling station instead of deleting them physically. Administrators can restore mistakenly deleted content at any time from the recycling station.preview=trueParameter links can be used to preview documents, and when formal documents are deleted, the system will move them to the recycling station instead of deleting them physically. Administrators can restore mistakenly deleted content at any time from the recycling station.

Definition and usage of four document states

AnQiCMS divides documents into the following four states, each corresponding to different visibility and operational permissions:

  • Official document: Content that has been published and made publicly visible, appearing on the site's front page and in search engine indexes
  • draft: Content that is being edited and not yet completed, visible only to backend administrators and not displayed to the public
  • Pending publication: Content that has been edited and approved, but with a future publication time set, which will automatically become formal documents after reaching the specified time
  • Recycle Bin: Content deleted from the formal document status, temporarily retained in the system, can be restored or **deleted**

This state classification allows the content team to clearly distinguish which articles are being written, which are waiting to be published, and which have been withdrawn, facilitating collaboration and auditing.

The configuration method for scheduled publishing.

For content that needs to be published according to a plan (such as series tutorials, holiday features), AnQiCMS provides a time factor feature that allows administrators to set the scheduled publishing of content. When editing documents, find the 'Publish Time' field, select a future date and time, and save after which the document status will automatically change to 'Pending Publish'.

The system will run scheduled tasks in the background, checking every minute for documents waiting to be published that have reached the preset time. Once reached, the document status will automatically switch from 'Pending Publication' to 'Official Document' without manual intervention. This method is suitable for content that needs to be prepared in advance but launched at a specific time in the future, such as new product announcements or holiday promotions.

The following points should be noted when configuring scheduled publication:

  1. Ensure that the server time zone settings are correct to avoid time deviation in publication time.
  2. Scheduled publication depends on the system's scheduled task service and it must be confirmed that the service is running normally.
  3. If you need to cancel a scheduled post, you can change the post time back to the current time or delete the pending status

The preview parameter of the draft preview is preview=true

During the content creation process, authors often need to preview the layout effect or share the first draft with colleagues. AnQiCMS provides a preview link for draft status documents, by addingpreview=trueparameter to achieve this.

withpreview=trueAfter the parameter, even if the document is in draft mode, visitors can see the complete rendering effect, including images, formatting, and layout. This feature makes it convenient for authors to do a final check before formal release, and also facilitates showing the appearance of the content to non-technical personnel.

It should be noted that the preview link should not be leaked to irrelevant personnel, as the draft may contain sensitive information that has not been publicly disclosed. Preview mode is only valid when logged in, or available on sites that have not enabled strict access control.

The non-physical deletion mechanism and recovery process of the trash

When the administrator clicks the 'Delete' button, AnQiCMS will not immediately physically delete the document from the database, but will mark its status as 'Recycle Bin.' This means that the document will disappear from the front end, no longer indexed by search engines, but can still be viewed in full in the back end.

To restore a document from the Recycle Bin, simply find the target document in the Recycle Bin list in the background, click the 'Restore' button to restore its status to 'Formal Document'. For documents that are confirmed not to be retained, you can perform a **delete** operation, which will permanently remove the record from the database and cannot be restored.

The applicable scenarios for the pending release status

The pending release status is suitable for scenarios where the content is ready but needs to be online at a specific time, such as new product launch, event preview. The difference from draft is that the pending release document has passed the review and is only waiting for the time condition to trigger.

Common questions

Question: Can the timing of the scheduled release be accurate to minutes?

Yes. The release time selector supports settings accurate to the minute level, and the system scheduled task checks every minute.

Question: Will documents in the recycle bin occupy storage space?

Yes. The documents in the recycle bin are still stored in the database, and if you need to free up space, you should regularly clean up and confirm the content that does not need to be retained.

Ask: Can the draft preview link be shared with unregistered users?

Answer: It depends on the site's access control strategy. By default, the preview link requires login to access.

Ask: Can drafts be batched to be published?

Answer: You can select draft documents in the background and use the batch operation feature to publish them, but make sure these documents have been approved.