[greenstone-users] Problem with using Heirarchy classifier

From Chaitra Rao
DateMon, 3 Jan 2005 19:28:55 +0530 (IST)
Subject [greenstone-users] Problem with using Heirarchy classifier
Hi,
I have used Heirarchy classifier for one of the collections containing
pdf,doc files and HTML pages. I have specified a heirarchy in a file
called type.txt.The problem is that I am unable to see the title I have
specified in the heirarchy file. I can only see "Untitled" as the title of
the bookshelf. Please help The contents of the collect.cfg file is as
follows:

creatorchaitra@it.iitb.ac.in
maintainerchaitra@it.iitb.ac.in
publictrue

indexesdocument:text document:Title document:Source
defaultindexdocument:text

pluginGAPlug
pluginTEXTPlug
pluginHTMLPlug
pluginPDFPlug
pluginWordPlug -description_tags -convert_to html -assoc_files
(?i).(gif|jpe?g|jpe|png|css|js)$ -process_exp (?i).(doc|dot)$
-cover_image
pluginPPTPlug -convert_to html
pluginArcPlug
pluginRecPlug -use_metadata_files

classifyAZCompactList -metadata dc.Title -doclevel top

classifyHierarchy -metadata dc.Type -buttonname Browse -hfile
dc.type.txt
classifyDateList -metadata dc.Date -sort dc.Title

format DocumentButtons "Expand Text|Expand Contents|Detach|Highlight"

format SearchVList "<td valign=top>[link][icon][/link]</td>
<td
valign=top>[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td>
<td valign=top>[highlight]
{Or}{[dls.Title][dc.Title],[ex.Title],Untitled}
[/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td>"

format DocumentText "<h3>[dc.Title]</h3>\n\n<p>[Text]"

format CL1VList "<td valign=top>[link][icon][/link]</td><td
valign=top>[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td><td
valign=top>[highlight]{Or}{[dc.Title],Untitled}[/highlight]<i><small>{If}{[dc.Date],<br>publication date: [dc.Date]}{If}{[NumPages],<br>no. of pages: [NumPages]}{If}{[Source],<br>source ref: [Source]}</small></i></td>"

format HList
"[link][highlight]{Or}{[dc.Title],Untitled}[/highlight][/link]"

format DateList "<td>[link][icon][/link]</td>
<td>[highlight]{Or}{[dls.Title],[dc.Title],Untitled}[/highlight]([dc.Date])</td>
"

format CL3HList
"[link][highlight]{Or}{[dc.Type],Untitled}[/highlight][/link]"

format CL3VList "<td valign=top>[link][icon][/link]</td><td
valign=top>[highlight]{Or}{[dc.Title],Untitled}[/highlight]<i><small>{If}{[dc.Date],<br>publication date: [dc.Date]}{If}{[NumPages],<br>no. of pages: [NumPages]}{If}{[Source],<br>source ref: [Source]}</small></i></td>"

format VList "<td valign=top>[link][icon][/link]</td><td
valign=top>[highlight]{Or}{[dc.Title],Untitled}[/highlight]<i><small>{If}{[dc.Date],<br>publication date: [dc.Date]}{If}{[NumPages],<br>no. of pages: [NumPages]}{If}{[Source],<br>source ref: [Source]}</small></i></td>"

format CL2VList "<td valign=top>[link][icon][/link]</td><td
valign=top>[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td><td
valign=top>[parent(All'_'):_][highlight]{Or}{[dc.Title],[dc.Type],Untitled}[/highlight]<i><small>{If}{[dc.Date],<br>publication date: [dc.Date]}{If}{[NumPages],<br>no. of pages: [NumPages]}{If}{[Source],<br>source ref: [Source]}</small></i></td>"

collectionmetacollectionname [l=en] "Trial Collection"
collectionmetacollectionextra [l=en] "This is a test collection to test
the features "
collectionmeta.document:text [l=en] "text"
collectionmeta.document:Title [l=en] "titles"
collectionmeta.document:Source [l=en] "filenames"

The contents of type.txt file is as follows:

"Documents"1"Documents"
"Documents|HTML"1.1"HTML"
"Documents|Word Docs"1.2"Word Docs"
"Documents|PDF Docs"1.3"PDF Docs"


Please help!!!

Regards,
Chaitra