Needs review
Project:
Taxonomy import/export via XML
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Jul 2012 at 20:07 UTC
Updated:
18 Oct 2012 at 23:19 UTC
Jump to comment: Most recent file
Comments
Comment #1
ronino commentedHere's a patch to add Drush support for imports from local files. Apply the patch and clear your cache. Then run e.g.
drush taxonomy_xml-import my_tags.xml --vocabulary=my_tagsI need this to automate the import of testing data into my development system.
Comment #2
scor commentedThanks @Ronino! this is working great! I had trouble applying the patch so I rerolled it so it doesn't expect taxonomy_xml.drush.inc to already exist. I also renamed the command so it's consistent and only includes dashes as opposed to a combination of underscores and dashes.
Comment #3
dman commentedcool, I'll give this a go.
Sorry I didn't notice the issue earlier. Thumbs up to this!
Comment #4
ronino commentedscor wrote:
I changed two more occurrences of taxonomy_xml-import to taxonomy-xml-import in your patch ;-). I searched for but couldn't find any convention for naming commands when I made my version...
Comment #5
pkil commentedI'm not sure exactly what is going on, but for some reason if I do a taxonomy xml import using drush / cli it takes about 10 times longer than if I do it via the admin interface in drupal.
At first I thought it might be my php.ini settings in cli compared to the apache php.ini, but they are basically identical except for some disallow function... Has anyone come accross this or think of what it could be?