Feature preview
Documents can be recovered after being deleted because the deletion of formal documents is executed by moving them to the recycle bin instead of a physical deletion. The document status of AnQiCMS is divided into four types: formal documents, drafts, pending publication, and recycle bin, each corresponding to different visibility and flow paths. This article summarizes the conversion between the four states, the differences between draft previews and public releases, and the usage of scheduled release at a point in time.
Why can a document be recovered after deletion, and how many content states are there? Because deleting a formal document is not deleting the record from the database, but moving it to the recycling bin, so it can be retrieved from the recycling bin. The document status of AnQiCMS is divided into four categories: formal documents, drafts, pending publication, and recycling bin. These four states determine whether the content is visible to the outside world, whether it can be previewed, and where it will go next.
| Status | Visibility to the outside world | Typical use | Next flow |
|---|---|---|---|
| Official document | Accessible and indexed | Completed published content | Deleted and moved to the recycle bin |
| draft | Not available to the public, preview link available | Writing in progress, awaiting verification | Released as a formal document |
| Pending publication | Not available to the public, will take effect automatically at the scheduled time | Scheduled content | Becomes a formal document at the set time |
| Recycle Bin | Not available to the public | Recovered from accidental deletion and delayed cleanup | Restore or completely delete |
The significance of the four states lies in separating 'written' and 'released'. When importing or revising in bulk, the content first falls into drafts, and is released after verification; content with scheduling requirements falls into the pending release, which is automatically published by the time factor according to the set time.
The default destination of the delete action is the recycle bin. This means two things: first, there is a window to restore the content after an accidental deletion, without having to rebuild from an external backup; second, the recycle bin itself occupies a management boundary and needs to be checked regularly to avoid keeping old versions that need to be cleaned up for a long time in the recycle bin, taking up judgment space.
It should be distinguished that cleaning up from the recycle bin and deleting formal documents directly are two actions, and when restoring, it is more reliable to locate by document title and category than just by the deletion time, because there may be multiple versions of the same title in different batches.
The draft link is marked with a preview tag, which allows you to view the rendering effect without changing the visibility to the outside, including template tags, image positions, and paragraph structure. It addresses the need to know what it will look like before publishing, which is different from the pending publication: the pending publication has a clear time point and automatically becomes a formal document at the time; when the draft is released is decided by people.
The content model affects the preview range of this step. The custom content model supports a flexible content structure, and when there are many fields, the draft preview is the link to check whether the custom fields are output correctly according to the template, and it is easy to miss layout issues when only looking at the background form.
Question: Will documents in the recycle bin be indexed by search engines?Answer: No. After being moved to the recycle bin, the original address is no longer provided as an official document to the outside world, and after being found back, it is confirmed according to the rules within the station before confirming the jump relationship.
Question: Can drafts and pending publications be converted to each other?Answer: Yes. After canceling the time point, return to the draft processing, and re-set the time to be scheduled for publication.
How to completely delete after deletion?First confirm in the recycle bin that the record is no longer needed, and then perform a thorough cleanup; if the content involves external resources, check whether the resources are referenced by other documents before cleaning up.
What state should the content imported in bulk be placed in?First draft, sample check the fields and layout, and then release in bulk to avoid pushing unverified content to the public in one go.
Preview
The function of anti-crawling interference code is to increase the cost of the whole transfer, it inserts noise characters that do not produce semantic meaning for readers and layout, does not change the structure of the text and the page address, and therefore does not change the search engine's understanding of the page topic. This article explains the position of interference code insertion, the type of collection it can prevent and cannot prevent, and the way it coordinates with sensitive word filtering and content review level.
Preview
When importing historical content in batches, archives with text and pictures are suitable for entering as compressed packages, and neatly formatted plain text content is suitable for entering as tables. The choice between the two entry methods depends on the proportion of resources and fields in the source. This article explains the fields that need to be checked before and after batch import, the arrangement of the status of importing drafts first and then publishing, and the method of rolling back after importing incorrectly, with the help of the recycle bin and interface query.
Preview
After replacing the link in the background, whether the statically generated pages generated before need to be rebuilt depends on whether the site has enabled staticization. The replacement action falls on the data layer, and the front-end address is determined by the pseudo-static rules and cache. There is no need to rebuild for pure dynamic rendering, and after staticization is enabled, it should be rebuilt during off-peak hours and sampled for verification, and a 301 redirect should be set up as a backup.