Closed (fixed)
Project:
Term Fields
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Nov 2010 at 10:52 UTC
Updated:
18 Sep 2012 at 08:01 UTC
Jump to comment: Most recent file
Hi,
i extended term_files to use fields in feeds. I wrote an extended Taxonomy Processor to use fields provided by term_fields as "unique target". Patch is attached.
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | feeds-fix-976468.patch | 586 bytes | chingis |
| #2 | term_fields_feeds_integration_2.patch | 5.38 KB | webflo |
| term_fields_feeds_integration.patch | 5.45 KB | webflo |
Comments
Comment #1
kthullThe patch didn't work for me. Here's the output from my terminal:
I was assuming I needed to run the patch against term_fields.module. Maybe that was wrong?
The resulting error was:
Comment #2
webflo commentedI am sorry. The path prefix in this patch was wrong. Here is a new one.
Comment #3
kthullHey no worries. Not sure if I'll get to this for a little while though. Other demons to slay at the moment.
-Kevin
Comment #4
b-prod commentedI will have a look on your patch soon.
Thanks for helping.
Comment #5
davidseth commentedTested your patch and I have successfully added and up-updated 1224 terms in one vocabulary. This vocabulary has four term_fields attached.
Comment #6
b-prod commentedI need to understand why you delete the following code:
Actually I cannot figure why this code exists but it may fix some issue (or not... There is some parts of unecessary code in the module and some others parts to rewrite entirely. But succh stuffs require time I do not have).
DEV version (6.x-1.x-dev) update:
I commented the code above, awaiting your answer.
I put the code directly in the term_fields.module, in a specific group, instead of including the term_fields.feeds.inc file.
Thanks you for testing this DEV version, and if it works as expected, tell me in this issue and I will create a new release.
Comment #7
b-prod commentedIssue #869824: Importing term fields tagged as duplicate.
Comment #8
ydnar79 commentedBy any chance, is there any way to import a hierarchical taxonomy with fields using this approach. I was originally looking at the Taxonomy CSV module (which does allow for multiple levels in the taxonomy) but it does not work with term fields.
Now I am looking at the feeds approach....but it seems to only be able to import a flat term taxonomy. (No parent, child relationships.)
By any chance has anyone else attempted to import this kind of taxonomy structure. (with term fields)
Any suggestions or ideas would be GREATLY appreciated.
Comment #9
b-prod commentedSorry I never tried that. Somebody else maybe?
Comment #10
b-prod commentedThe Feeds integration has moved to the 2.x branch and needs now testing, feedbacks and probably bug fixes.
Comment #11
chingis commentedPatch for 6.x-2.2 attached for correct term fields mapping with feeds
Comment #12
b-prod commentedPatch ported in DEV.
I also add code to ignore the file fields from the Feeds mapping target, because such fields need more complex handling than just filling the 'value' element.