Taxonomy_csv_7-x.5.7.png
taxonomy_csv-6.x-4.10.png

This module allows you to import or export taxonomy from or to a CSV (comma-separated values) file or with a copy-and-paste text.

It helps you to quick import a non-standardized vocabulary, for example an old thesaurus, a hierarchical taxonomy or a simple list of children, synonyms, descriptions, weights or related terms to terms. It can be used as a module or as an API with a plug-in mechanism. It can manage internationalized vocabularies with i18n_taxonomy, a submodule of i18n module [Drupal 7 only].

Taxonomy CSV supports drush: you can import/export taxonomies from the command line interface with drush taxocsv-import and drush taxocsv-export.

More informations on Taxonomy CSV import/export are available on the help page in English or in French. A quick demo is available here, in Dutch.

Update of vocabularies

Taxonomy CSV supports update of vocabularies, so you can combine import formats to get what you need. For example, if you want to import a tree structure in three languages,

  • first you import the tree structure with the first language,
  • second you import the translation in second language,
  • and finally the translation in the last language.

Technical notes

  • Use of the module as an API
    This module can be used as an API, but Taxonomy Builder API can be more convenient in some cases. Choice depends on your needs. Taxonomy CSV is designed as a run-once module with checks and multiple formats, while Taxonomy Builder is a permanent, light and quick module. A full explanation of the differences in design can be found here.
  • Basic plug-in mechanism
    Taxonomy CSV has a basic plug-in mechanism, available from 6/7.x.5-3 release, which allows to create new import and export schemas (order of items on a csv line). Look the two default plug-ins for (geotaxonomy (disabled) and Taxonomy manager).
  • Note: Management of taxonomies has changed in Drupal 7
    Synonyms and related terms have been removed and replaced by fields.

Other tools

Taxonomy CSV is a specialised tool which allows precise tuning. It's designed to be used when the website is building. After that, it's recommended to disable it. Some other modules allow to import and export taxonomies:

  • Taxonomy xml is perfect for standardized taxonomies and vocabularies importation. Despite its name, it can import csv files too, but only if they are ISO 2788 formatted formatted (triples). It can import csv tree structure too (6.x-2.x release only).
  • Migration modules can import/export taxonomies too. See this page and this page.
  • Taxonomy manager
  • For export, you can use Taxonomy XML too or some specialized tools: Taxonomy export, Exportables, or one of backup modules too.

TODO

  • Increase speed of Taxonomy CSV for Drupal 7
  • Import by tid (Taxonomy CSV for Drupal 6)
  • Internationalization of Taxonomy CSV for Drupal 6 (on request)
  • Combine tree import with all other formats
  • Allow import/export of multivalued fields (ready in 7.x-5.x-dev)
  • Polyhierarchical export
  • Support of Location
  • Support of Title

Use at your risk. It's always recommended to backup your database so you can roll back if needed.

Primary maintainer: Daniel_KM (Daniel Berthereau)
Secondary maintainer: naquah (Dennis Stevense)

Project Information

Downloads

Recommended releases

Other releases

Version Downloads Date Links
6.x-1.5 tar.gz (9.7 KB) | zip (10.55 KB) 2008-Apr-19 Notes

Development releases

Version Downloads Date Links
7.x-5.x-dev tar.gz (106.69 KB) | zip (121.65 KB) 2012-Feb-08 Notes
6.x-5.x-dev tar.gz (94.88 KB) | zip (110.06 KB) 2012-Feb-04 Notes

Maintainers for Taxonomy CSV import/export

  • Daniel_KM - 166 commits
    last: 1 day ago, first: 2 years ago
  • naquah - 37 commits
    last: 3 years ago, first: 4 years ago

Issues for Taxonomy CSV import/export

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 20 Sep 10