Index

Categories

Search

CSV Exporter

Export all your downloads to a CSV file with a single click! The CSV Exporter exports all download data including categories,tags and all file versions to a CSV file! The exported CSV is importable with the CSV Importer Extension.

Installation

Unzip and upload the plugin’s folder to your /wp-content/plugins/ directory

Usage

After installing the extension head over to Downloads > Export to CSV. This screen will show you how many downloads are found that can be exported. Click the Start Export button to generate and download the CSV file.

Press the “Start Export” button to download the CSV file

Adding export fields

You can expand the default set of fields that are exported by the CSV Exporter Extension. There are 4 types of fields you can add: download, download meta, version and version meta. The key of the array is the database field and the value is the label you want to use in your CSV file. Below is per type an example.

Include Download meta

In this example we add dummy download meta to the export file.
https://gist.github.com/barrykooij/f497a0f018c9370cb674

Include Version data

In this example we add the version ID to the export file.
https://gist.github.com/barrykooij/3638649ab50ffb218eb2

Include Version meta

In this example we add dummy download meta to the export file.
https://gist.github.com/barrykooij/d5f2fca7090a5618d442

FAQ

Will the CSV Exporter extension export all versions?

Yes, it will. Each version is added as a ‘version’ row to the CSV file, each version row contains all the version data like download count.

Is the generated CSV file importable by the CSV Importer extension?

Yes, it is. The CSV Importer is thoroughly tested in importing the CSV file generated by the CSV Exporter. Both extensions will always remain compatible with each other in the future. Please note that not all custom added export fields will be importable.