How to fill in the template fields when importing articles in bulk with Excel to avoid losing content
To import articles in bulk using Excel without losing content, the key is to understand two points: First, AnQiCMS has two channels for bulk import, ZIP compression packages and Excel tables, each suitable for different types of inventory; second, each column in Excel corresponds to a field of the document, especially the status column, which directly determines whether the content falls into draft, pending publication, or formal document. Fill in the table according to the field rules and submit according to the expected status, and the import result will be controllable.
What types of inventory are suitable for the two import carriers?
The complete material package of
The pure text tabular content - such as historical manuscript library, question collection table, customer service knowledge base export files - go through the Excel channel: one article per line, columns corresponding to fields, suitable for scenarios with many articles, simple structure of individual articles, and the need for strict uniformity of fields. It is recommended to sort them by carrier first when mixed, each in their own batch, so that the scope of error location is smaller.
Excel column corresponds to document field
When filling out the form, check the column meaning according to the table below, do not invent field names for blank columns, and use the standard columns provided by the import template:
| Column | Corresponding field | Filling rules |
|---|---|---|
| Title | Document title | Mandatory, entire row will be skipped if blank |
| Main text | Document content | Supports basic layout marks, pay attention to cell truncation for long paragraphs |
| Keywords | SEO keywords | Use delimiters to distinguish between multiple words, fill in each word separately |
| description | Abstract | If left blank, the system will extract from the main text, important articles are recommended to be filled in manually |
| Category/Label | Relationship | Use the existing name on the site, writing it wrong will cause the classification to be empty |
| Status | Publishing status | Decide whether the content goes into draft, pending release, or formal document |
Three points where content is easily lost: manual line breaks in the body cell may deform when exported in some table software, check the long text before importing; writing the category name as a value that does not exist on the site will cause the article to fall into the default position; the date column is automatically converted to a serial number by the table software, and the scheduled publishing time becomes false accordingly
Status column: draft, pending release, and formal document
The document status of AnQiCMS is divided into four levels: formal documents, drafts, pending publication, and recycle bin. When importing in bulk, it is safe to fill in the status column first with a draft: the draft does not affect the online display, and the link with the preview parameter can be used for internal preview and verification. After batch inspection, it can be changed to formal or scheduled for publication. If the status is filled in as formal documents before importing, it is equivalent to skipping the verification process, and any errors in the table will be publicly visible immediately.
Be ready to publish a content that is suitable for having a clear launch time: cooperate with the time factor to set up a scheduled release, fill in the release time accurately when importing, the content will automatically switch to formal at the appointed time, and there is no need for someone to be on duty to submit.
If the import fails, check the recycle bin first and then resubmit.
When batch importing and encountering missing or incorrect articles, do not immediately resubmit the entire table - repeated submissions will create duplicate entries with the same name, making subsequent cleaning more麻烦. The correct order is: first search for failed articles by title in the draft area and the official list, confirming if any have partially entered the system; when it is necessary to clear incorrect results, instead of deleting the official documents physically, they should be moved to the recycle bin, which can be safely rolled back, and after confirming that there are no errors, they can be thoroughly cleaned up; after making past duplicates for entries with the same name, only the missing lines should be picked out and resubmitted in small batches.
The purpose of the recycling bin is here: it leaves room for regret in batch operations, allowing the documents deleted by mistake to be recovered, and enabling the process of 'import first, check later, clean up last' to proceed without hesitation.
Common questions
Q: How many articles are appropriate to import at one time?A: It is more secure to go batch by batch than all at once, controlling the batch size to dozens of articles, immediately checking the total number and sample content after each batch import, and only resending the difference rows for problematic batches.
Q: Can you write image links directly in Excel?A: It is recommended to use the ZIP channel to package the materials together for content with images; external links are not within the scope of import protection, and may cause reference failure.
Q: Why is the keyword column empty after import?A: Check if the header uses the template standard column names, non-standard column names will be ignored; after confirming the column names, you can only resubmit these rows to supplement the fields.