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

DateFri, 5 Jan 2007 16:58:23 +0100
Subject Re: [greenstone-users] Help for duplicate name in Hierarchy browsing classifier hfile
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""10 August 1905"
> "Emigration|10 December 1916""10 December 1916"
> "Emigration|10 December 1917""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""10 August 1905"
> "First World War|10 December 1916""10 December 1916"
> "First World War|10 December 1917""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

Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom