CM Curated List Manager (CMCLM) - Set Up - Import and Export
Import and Export
The plugin supports the ability to import and export links within categories to a CSV file and also to import links. This can speed up the process of building the links knowledge base.
To use the export or import functionality, visit the Import & Export link in the plugin menu
To import a file, first create the CSV file. The only mandatory columns for the import are category and the URL - the rest of the columns are optional.
- Obligatory fields:
- Optional fields:
Here is an example of a CSV file containing all the fields:
Since categories are assigned to lists, you don't need to include the list name in the CSV file. If a category is not yet defined it will be added to the list of categories. You need to manually assign it to a list later.
You can also use the export and import functionality to move the plugin knowledge base from one site to the other.
Notice that you can ignore the first line of the CSV file and mark it as "header" and as such skip it. This is the option which is available in the import screen.
The option Import to list attaches imported links and categories to the chosen list. This option was introduced in version 1.3.1.
Also, there is an option Rewrite links in lists - All existing categories and links in the selected lists will be removed and cannot be restored. Then will be created new ones from CSV. If one category with links assigned to several lists it will be deleted from all of them. If no lists selected links will be added. This option was introduced in version 1.3.1.
Once exporting the plugin content, the CSV file create will include the category , link-slug , link-name , link-url , link-subtitle, link-description, tags. The list information is not included in the export and once moving the knowledge base from one site to the other you would need to manually create it and assign the categories to the lists.
CSV Files Format - Example of How The Plugin Handles CSV Files
Import and export CSV files have same format.
Example CSV file content ready to import:
Comments on the example CSV file:
- In first line (row
1), there is no data you want to import, so during import you should mark skip header checkbox.
- Categories (column
A) will be created if they don't exist.
2has a set
link-slug- in this case, the link term with slug wordpress will be updated if it exists, and will be created if not.
- Link from row
link-slugwill be created.
4will be skipped during import because column
link-name) is required (you can't create a link without a name).
- Tags in column
tags) are comma separated and created if needed (same as categories).
Additional Examples of Import Files
Here are some example of CSV file structure which should be used with the import functionality
Links without link-name will be skipped during import (this field is required).
Links without slug or with non existing slug will be inserted.
Links with existing slug will be updated.
Using the options from the Import categories section you can import standard WP posts and categories to Curated List Manager.
The options are:
- Import categories button - Click it to import standard WP categories to Curated List.
- Import links of blog posts checkbox - Check it to import all your posts as a links to Curated List, and then click Import categories button.
You can find posts and categories that will be imported by navigating to Admin Dashboard → Posts → All Posts / Categories.