CM Curated List Manager (CMCLM) - Import and Export
Import and Export
The plugin support the ability to import and export links within categories to a CSV file and also to import links to the plugin. This can help the proccess of building the links knowledge base in a much quicker way
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. You can only include the category and the URL which are the mandatory columns for the import, the rest of the columns are optional.
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 later to manually assign it to a list
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
Example 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.
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 itlist 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
Import and export CSV files have same format.
Example CSV file content ready to import:
|2||General||wordpress||WordPress||https://wordpress.org/||WordPress is web software||WP|
Comments on example CSV file:
- In first line (row
1) is no data you want to import, so during importing this file you should mark skip header checkbox.
- Category with name specified in column
Awill be created if not exists, or first matched category with this name will be assigned to link.
2has filled field
link-slug- in this case link term with slug wordpress if exists will be updated, in other case created.
- Link from row
link-slugwill be created.
4will be skipped during import because column
link-name) is required (you can't create link without name).
- Tags in column
tags) are comma separated and created if needed (same as categories).