Re: [greenstone-users] Help for duplicate name in Hierarchy browsing classifier hfile

From Michael Dewsnip
DateWed, 10 Jan 2007 16:26:11 +1300
Subject Re: [greenstone-users] Help for duplicate name in Hierarchy browsing classifier hfile
In-Reply-To (JBEKDB$6D6208CA985DED1388E9E7E39FC75C70-libero-it)
Hi,

Don't forget that with new versions of Greenstone, and provided your
hierarchy is always alphabetical, you no longer need the hfile. If the
hierarchy is implicit in the metadata values, eg.
"Emigration|Belli-Taddei Collection", the Hierarchy classifier will take
care of it automatically.

Regards,

Michael

dagrigna@libero.it wrote:

>Hi John
>thanks for help. I will try to make it, and I am sure that he will work.
>
>Daniele Grignani
>
>
>
>>Hi Daniele,
>>
>>I expect that you are facing two issues concerning the way you have set
>>up the metadata. The first occurs because the first column in an hfile
>>specifies the metadata to match when assigning documents to the
>>classification. Because of this every value in the first column needs
>>to be unique, otherwise the classifier generated will be different than
>>expected. Consider changing the hfile to be something like:
>>
>>"Emigration" 1"Emigration"
>>"Emigration|Belli-Taddei Collection"1.1"Belli-Taddei Collection"
>>"Emigration|Belli, Vittore" 1.1.1"Belli, Vittore"
>>"Emigration|10 August 1905" 1.1.1.1"10 August 1905"
>>"Emigration|10 December 1916" 1.1.1.2"10 December 1916"
>>"Emigration|10 December 1917" 1.1.1.3"10 December 1917"
>>"First World War" 2"First World War"
>>"First World War|Belli-Taddei Collection"2.1"Belli-Taddei Collection"
>>"First World War|Belli, Vittore" 2.1.1"Belli, Vittore"
>>"First World War|10 August 1905"2.1.1.1"10 August 1905"
>>"First World War|10 December 1916"2.1.1.2"10 December 1916"
>>"First World War|10 December 1917"2.1.1.3"10 December 1917"
>>
>>and then change associated metadata.xmls accordingly
>>
>>[...]
>><Metadata mode="accumulate" name="dc.Title">10 August 1905</Metadata>
>><Metadata mode="accumulate" name="dc.Creator">Belli, Vittore</Metadata>
>><Metadata mode="accumulate" name="dc.Relation">Belli-Taddei Collection</Metadata>
>><Metadata mode="accumulate" name="dc.Subject">Emigration</Metadata>
>><Metadata mode="accumulate" name="dc.Subject">Emigration|First World War</Metadata>
>><Metadata mode="accumulate" name="dc.Subject">Emigration|10 August 1905</Metadata>
>>[...]
>>
>>
>>The second issue you may encounter is that old versions of Greenstone
>>cannot mix folders and documents in a single parent document. Because of
>>this, of the metadata shown above, I believe only the value
>>"Emigration|10 August 1905" is necessary, as both "Emigration", and
>>"Emigration|First World War" would require the document to be inserted
>>alongside folders (and so will probably be ignored). These may have
>>been addressed in newer versions of Greenstone.
>>
>>Cheers
>>John Thompson
>>
>>--
>>DL Consulting
>>Greenstone Digital Library and Digitisation Specialists
>>contact@dlconsulting.co.nz
>>www.dlconsulting.co.nz
>>
>>
>>
>
>
>
>------------------------------------------------------
>Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
>http://click.libero.it/infostrada05gen07
>
>
>
>_______________________________________________
>greenstone-users mailing list
>greenstone-users@list.scms.waikato.ac.nz
>https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
>
>
>