Closed (fixed)
Project:
Aggregation
Version:
5.x-3.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
31 Jul 2007 at 18:10 UTC
Updated:
6 Aug 2007 at 15:45 UTC
I know that one can have categories/vocabulary terms be created on the fly if they don't exist already. But is there any way to create them within a hierarchy? Or does the hierarchy need to be created in advance for new items to be placed within sub-categories?
Example: I want to to have a top level category named Science with biology, astronomy, and physics as sub-categories. Can it create the top level and sub-categories during import or do I need to create those first, and just have it process the subcategory?
Thanks for any help!
Steve
Comments
Comment #1
vito_swat commentedIf you organize your terms in hierarchy this hierarchy will be kept but all new terms will be created as top hierarchy elements.
If your feeds are one-topic ones (so feed for biology only) you can organize your feed items in hierarchy in another vocabulary without using auto-category as not every feed provides category info...
As you see everything depends on your feeds.
Comment #2
teach42 commentedJust to confirm then, I should enter the hierarchy myself in advance.
For example:
Science
-Chemistry
-Physics
-Earth Sciences
---Geology
-Arts and music
In this example, if I want to bring in an item in Geology, just using the category geology should work. I don't need to specific science|Earth Sciences|Geology Correct?
But there wouldn't be any way to create that sort of hierarchy on the fly with a custom built xml feed, right?
Comment #3
vito_swat commentedYes that's correct.
The answer is yes and no. If new term arrive in your feed it will be added as top hierarchy term, because Aggregation module doesn't know how to organize your hierarchy. But after you notice this you can rearange your hierarchy in taxonomy module (core). This will bring order to your feed items.
So if there will be item with tag music you will have hierarchy like:
Science
-Chemistry
-Physics
-Earth Sciences
---Geology
-Arts and music
Music
If you change your hierarchy to:
Science
-Chemistry
-Physics
-Earth Sciences
---Geology
-Arts and music
---Music
All your feeds with Music tag will have Science| Arts and music | Music hierarchy.
Check handbook pages for taxonomy module or play with it in your testing environment to know it better.
Comment #4
teach42 commentedGreat point. Thanks for helping to clear that up!
Steve