141 lines
6.7 KiB
Plaintext
141 lines
6.7 KiB
Plaintext
|
|
|
|
TAXONOMY CSV IMPORT/EXPORT
|
|
==========================
|
|
|
|
|
|
== T O D O ==
|
|
=========
|
|
|
|
(no particular order)
|
|
|
|
o = TODO
|
|
- = Skipped/postponed
|
|
x = DONE
|
|
R = Removed
|
|
nnn mmm = Introduced in release nnn for Drupal 6 and mmm for Drupal 7
|
|
--- --- = Removed or skipped
|
|
=====================
|
|
|
|
User interface
|
|
x 622 740 display result of import
|
|
x 622 740 display imported terms
|
|
x 622 740 notice warnings and errors of import file
|
|
x 622 740 choose level of message
|
|
x 650 750 cumulate important messages with use Drupal's log
|
|
x 622 740 auto create vocabulary
|
|
x 630 740 test on an existing vocabulary (duplicating it)
|
|
x 630 740 dynamic options and examples (existing items matching source content)
|
|
x 630 740 import by a text area. See taxonomy_batch_operations
|
|
o text area to modify line when warning
|
|
x 620 740 add link to use module after installation
|
|
x 630 740 remind previous options values
|
|
x 630 740 do a uninstall hook if remind previous options values is done
|
|
x 622 740 warn remove when there is only one column and update is chosen
|
|
- --- --- reset button (useless)
|
|
x 630 740 recommended default values button
|
|
o inform about changes during import (ex: relations set then unset)
|
|
o two steps import (validate and display warnings then process)
|
|
o option to choose one or two steps
|
|
o five step wizard for non javascript users
|
|
x 630 740 notice exceed file size
|
|
o option to import in original vocabulary after import in a duplicate
|
|
o 645 745 no warning on last empty lines
|
|
x 643 743 ahah ui for specific parameters
|
|
x 643 743 disable utf8 option if textarea import
|
|
x 640 740 add a csv enclosure option (so >= php 4.3)
|
|
- --- --- use Drupal themes
|
|
- --- --- add a menu link to taxonomy csv in list terms
|
|
x 643 743 use drupal_set_message 'warning' and not only 'status' and 'error'.
|
|
- --- --- batch process without Javascript
|
|
|
|
Functions
|
|
o import of structured alphabetic terms list (thesaurus)
|
|
o import of iso 2788 as in taxonomy_xml (but KISS by line approach)
|
|
x 623 740 option to import sub-relations and not only relations to first term
|
|
x 623 740 option to make relations to terms of all vocabularies.
|
|
x 630 740 import of ancestors structure and not children (change name)
|
|
x 644 744 import of first level parents
|
|
x 644 744 import of first level children
|
|
x 622 740 use of parents of previous line for children without ancestors
|
|
("one term by line structure import")
|
|
x 645 745 parent merge (polyhierarchy)
|
|
x 620 740 distinction between description and synonyms
|
|
o multiple files import
|
|
- --- --- option sensitive or not to uppercase/lowercase (neither in D6 nor D7)
|
|
o add notice when sensitive duplicate items are found in line check
|
|
o integrate or reference to Taxonomy manager module
|
|
o remove csv terms import choice
|
|
o test before import (autocreate a vocabulary) (see UI)
|
|
o remove ignore existing terms choice (see dynamic options above)
|
|
- --- --- import relateds in other vocabulary before current one (not in D6)
|
|
o autodetect good source content and vocabulary with a command line key
|
|
o with autodetect, import multiple type with one file
|
|
o convert and export vocabulary to xml (especially to compare with xml)
|
|
R 643 743 multistep import: autodivide big taxonomies to avoid memory error
|
|
o 759 import by term identifiant (tid)
|
|
x 643 743 import from url (#529480)
|
|
o allow direct duplicates with polyhierarchy
|
|
o option to automatically disable and re-enable non compatible modules
|
|
x 647 747 full term definitions and links export in order to import in Drupal 7
|
|
o quick light basic import with no check release 7.x-1.y as 4/5/6.x-1.y
|
|
o 758 internationalization
|
|
|
|
Code / security
|
|
o remove query and use only Drupal core ones and php filters (useful?)
|
|
o create dirty sql load and save functions for quick find and import
|
|
x --- 740 see if there are Drupal functions to import only synonyms etc.
|
|
x 622 740 manage and inform on input error
|
|
o factorize code and use more php functions (import type callback...)
|
|
x 622 740 redo a cache
|
|
x 750 remove cache
|
|
x 622 740 clean the input line at the beginning of process and never after
|
|
o use taxonomy_parser?
|
|
x 622 740 change the type of vocabulary (flat, monohierarchy, polyhierarchy)
|
|
x --- --- add hook_perm
|
|
o add hook_info
|
|
x 630 740 replace _taxonomy_csv_parse_size by a Drupal function
|
|
o no order to import files
|
|
x 650 750 use Drupal management of errors (mysql log)
|
|
x 622 740 change function name to internal, except some
|
|
o vocabulary full fine check (after and before)
|
|
o vocabulary relations integrety check and attribute
|
|
o --- use management of test in Drupal 7.
|
|
x 643 743 time out control
|
|
x 645 745 fix: keep multiple parents when children import
|
|
x 622 740 fix: if ignore existing items, search in imported terms cache before
|
|
x 643 743 fix: result statistic import (sometime new terms number is wrong)
|
|
- --- --- remove useless define
|
|
- --- --- use a global messages variable or sandbox to avoid multiple copy
|
|
o relations with other vocabularies (unsupported in Drupal 6 and 7)
|
|
o extract all helps of forms to help.html in order to remove duplicates
|
|
x 640 740 simplify batch set (all $options aren't needed)
|
|
- --- --- use $form_state['storage'] for batch operations? Useless.
|
|
x 643 743 remove base64 temporary and work only with utf8
|
|
- --- --- use a smarter regexp delimiter than fgetcsv or explode
|
|
x 642 742 fix: when a file is set, avoid UI bug when first option changes
|
|
x 645 745 change Warning empty line by a simple info except if problem
|
|
o 653 753 modularize code to simplify addition of new schemes
|
|
o modularize code to simplify integration of Taxonomy Builder API
|
|
o create a UI for continuous synchro with a database
|
|
x 643 743 create API
|
|
R --- --- fix: make multistep import compatible with one term by line import
|
|
R --- --- allow cancel multistep when import in an existing vocabulary
|
|
R --- --- fix: allow only users with taxonomy rights (useless: roles)
|
|
R --- --- fix: display main form when error occurs in multistep process
|
|
x 643 743 direct read of lines without prepare batch for file import
|
|
o --- fix: created unchanged terms are counted and merged with created ones
|
|
|
|
Documentation
|
|
o make it simpler
|
|
o more examples
|
|
o merge advanced help and dynamic examples (cf. modularize code)
|
|
x 620 740 image view and presentation text for project page
|
|
x 620 740 translations
|
|
|
|
Drupal version / Taxonomy csv version
|
|
Drupal 7 : 7.x-4.0 => current
|
|
Drupal 6 : 6.x-1.3 => current
|
|
Drupal 5 : 5.x-1.0 => 5x-1.5
|
|
Drupal 4 : 4.7-1.0 => 4.7-1.4
|