|Date||Sat, 30 Dec 2006 18:25:07 +0100|
|Subject||[greenstone-users] Help for duplicate name in Hierarchy browsing classifier hfile|
|Hi to all
I'm writing an application that exports elements from DSpace to Greenstone (for my work StoneD is less flexible), and it makes some "hfile", one per Hierarchy browsing classifier, that piece together the DSpace "community", "sub-community" and "collections" structure for Greenstone (who know DSpace knows that "communities" are containers for other "communities" and collections too). When I try to make a Greenstone's collection all works fine, but when I try to make it with an hfile that contains two nodes elements with the same name, in the tree generated by hierarchy browsing classifier the second object appears like a leaf and it doesn't work.
For example, in my hfile (named subjects.txt) there is something like this:
and in my collect.cfg there is something like this:
and metadata ("10 August 1905" for example):
Now, as I have said before, if the hfile contains section 1 (from 1 to 188.8.131.52) only, all works fine, but when I try to put section 2 (from 2 to 184.108.40.206), the second node, that is "First World War", appears like a leaf and it doesn't work. Why?
Thanks for the help