CSV Importer

Mass import up to thousands of Downloads into Download Monitor with the CSV Importer. This user-friendly importer, with clear step-by-step instructions helps you import Downloads including their categories, tags, files into Download Monitor.

Installation

  • Unzip and upload the plugin’s folder to your /wp-content/plugins/ directory
  • Activate the extension through the ‘Plugins’ menu in WordPress

For more information on installing and managing plugins see here

Preparing the CSV file

Before you can start the import process you need to create a CSV file that contains the downloads and version you want to import. We’ve created an example CSV file you can use that contains the default headers, a sample download row and a sample version row. Note the first column in the CSV file named type, this column defines if the row is a download or a version row.

Adding multiple version

You can add as many versions to a file as you like by simply adding rows to your CSV file with version as type. It is important that the versions you add are directly after the download they should be linked to. Here are a few CSV example rows to demonstrate this:

- Download 1
- Version A
- Version B
- Download 2
- Version C

In this example Version A and Version B will be attached to Download 1 and Version C will be attached to Download 2.

Usage

After installing the extension head over to Tools > Import and click on the Download Monitor CSV Importer link.

Click on the CSV Importer in the list of available importers
Click on the CSV Importer in the list of available importers

Upload the CSV file

At the first step of the CSV Importer you select your CSV file and set the used delimiter. By default CSV files use a comma , as delimiter but if you’ve created a spreadsheet on Mac using Numbers and exported to CSV the delimiter is most likely a ;

Select the CSV file and set the delimiter
Select the CSV file and set the delimiter

Mapping the data

At the next step you can ‘map’ the columns found in the CSV file to download data fields. The extension will try to map as many columns automatically by recognizing what columns are what fields. Note that this overview contains both download and version fields, not all fields are used in every row because download rows take different fields than version rows. After you’ve mapped all columns you want to import to Download Monitor fields press the Start Import button.

Map the CSV columns to the correct Download fields
Map the CSV columns to the correct Download fields

After the import is done you will be redirected to a page telling you how many downloads have been imported.

Troubleshooting

My csv file won’t upload on my Multisite

In WordPress Multisite(Network) you need to add the csv file extension to the list of allowed file extensions in the network wide general settings.

Add csv extension to list of allowed file extensions
Add csv extension to list of allowed file extensions

FAQ

How do I add multiple categories/tags?

Enter all categories/tags you want to attach to a download in one column seperated by a pipe |.

How do I add multiple file URLs per version?

Enter all file URLs in one column seperated by a pipe |.

Can I import custom meta fields?

Yes you can! Simply add them to your CSV file and select ‘Custom Meta’ in the mapping screen. A new text field will appear, enter the desired meta_key in this textfield. The importer will now import the values of this CSV column to the entered meta_key. You can enter the same meta_key multiple times for multiple columns as we add the meta values instead of replacing them.

Import Custom Meta Values
Import Custom Meta Values

Was this article helpful? Yes · No