Posted by dman on January 7, 2008 at 1:13pm
| Project: | Taxonomy import/export via XML |
| Version: | master |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Attached is an attempt at a D6 upgrade.
It's my first go at D6, so I may have missed something, but it did enable me to take an XML dump from a D5 and import it into a new D6 site. Which was what counts.
I want to rearrange the Drupal-5 branch before really upgrading everything, so treat this as an interim patch you can use if you want the functionality now
| Attachment | Size |
|---|---|
| taxonomy_xml_drupal-6.patch | 7.02 KB |
Comments
#1
ping
#2
Well, you hit more lines than I did before I found this one. But I do think you missed one:
if ($vid && $retrieved = module_invoke('taxonomy', 'get_vocabulary', $vid)) {taxonomy_get_vocabulary (I have no idea why this is coded this way, rather than a direct call) is now taxonomy_vocabulary_load.
if ($vid && $retrieved = module_invoke('taxonomy', 'vocabulary_load', $vid)) {If you're interested in comparing, here's the patch I was going to submit.
#3
Fair enough, I didn't check for actual API changes ... there's a lot of them I haven't encountered I guess.
I just did the ones I could see.
Whatever goes.
#4
Well, you've been using this module longer than I have so I'm sure you know it better. I just recent had the need to move a couple of vocabularies from one site to another.
#5
I haven't used this patch, but there is now a D6 branch and hopefully soon a DEV release.
#6
I am getting the following warning on 6.x-1.x-dev afetr install
* warning: Invalid argument supplied for foreach() in /home/www/www.sitename.com/htdocs/drupal-6.2/sites/all/modules/taxonomy_xml/taxonomy_xml.module on line 228.
#7
issue queue cleanup