[greenstone-devel] Keyword Sorting issue

From atta
DateFri, 26 Sep 2003 04:16:19 -0700 (PDT)
Subject [greenstone-devel] Keyword Sorting issue


I have built a library collection. Everything seems to be working fine except □Keyword□ indexing. Keywords are not in sorted order. I am sending the configuration file, keyword file and Metadata.xml file as an attachment. You can also visit the online site at the following address to see the problem (in keyword section)


Note: the keyword.txt and Metadata.xml file attached with this mail are not the actual file which are used in the above mentioned URL. But the format of the actual files and these fies is exactly the same.

Best regards,


Do you Yahoo!?
The New Yahoo! Shopping - with improved product search

Type: text/plain
Filename: collect.cfg

creator atta@ndpk.com
maintainer Unlib@un.org.pk
public true

indexes document:text document:Title section:text section:Title document:Keyword document:Organization document:Subject
defaultindex document:text

plugin GAPlug
plugin HTMLPlug -description_tags -input_encoding iso_8859_1 -cover_image
plugin ArcPlug
plugin RecPlug -use_metadata_files
plugin EMAILPlug
plugin PDFPlug -cover_image
plugin RTFPlug
plugin WordPlug -cover_image
plugin PSPlug
plugin ArcPlug
plugin PPTPlug -cover_image
plugin ImagePlug
plugin BookPlug
plugin IndexPlug

classify Hierarchy -hfile sub.txt -metadata Subject -sort Title
classify Hierarchy -hfile AZList.txt -metadata AZList -sort Title -buttonname Title -hlist_at_top
classify Hierarchy -hfile org.txt -metadata Organization -sort Title
classify Hierarchy -hfile keyword.txt -metadata Keyword -buttonname Howto -sort Title
#classify List -metadata Keyword -sort Title -buttonname Howto

format SearchVList
"<td valign=top>[link][icon][/link]</td><td>{If}{[parent(All': '):Title],[parent(All': '):Title]:}[link][Title][/link]</td>"
format VList
"<td valign=top>[link][icon][/link]</td><td valign=top>[highlight]{Or}{[Title],Untitled}[/highlight]</td>"

#format CL4VList "<br>[link][Keyword][/link]"

format DocumentText "<h3>[Title]</h3>\n\n<p>[Text]"
format DocumentImages true
format DocumentButtons "Expand Text|Expand Contents|Detach|Highlight"
format HelpBookDocs true

collectionmeta collectionname "UN Digital Library"
collectionmeta collectionextra "Within the United Nations system in Pakistan, there is an ever-growing base of electronic documents. It would be accelerating by advances in computer architectures and communication technologies. Although it forms a growing part of the organizational memory, the digital material is less likely to be captured and retained than the paper-based information. <p> The Digital Library of United Nations in Pakistan strives to stop the loss of digital information of the UN in Pakistan and facilitates the retention and long-term preservation, in a usable form. This is an online repository of the full-text digital documents of the various United Nations Agencies, Programmes and Funds active in Pakistan. The collection comprises the general documents, reports, publications, newsletters, press releases and other public information items. This repository is a centralized information resource of the United Nations information on or about Pakistan.<p> For the users of this information, it offers efficient browsing and searching facility and an easy access to required information, anytime, anywhere with an online display of the document full-text and print and download capability for easy retrieval of any document in the collection.<p> For the United Nations System and Agencies in Pakistan, this facility provides a centralized opportunity to showcase, share and preserve their digital documents as well as disseminate them in much faster, easier, more varied ways, to a wider range of audience."
collectionmeta iconcollectionsmall ""
collectionmeta iconcollection "/gsdl/collect/UNLib/images/UN.gif"
collectionmeta .document:Title "Title"
collectionmeta .document:Keyword "Keyword"
collectionmeta .document:Subject "Subject"
collectionmeta .document:Organization "Organization"
collectionmeta .document:text "Entire Document"
collectionmeta .section:Title "Section Titles"
collectionmeta .section:text "Document Sections"

Type: text/plain
Filename: keyword.txt

"F-10" 2 "F-10"
"Mr. Ahmad Nawaz" 1 "Mr. Ahmad Nawaz"
"Mr. Ivon " 6 "Mr. Ivon "
"Mr. C.J.Date" 3 "Mr. C.J.Date"
"Manual" 5 "Manual"
"Software" 4 "Software"
"Test" 7 "Test"

Type: text/xml
Filename: metadata.xml

Test4 F10 User Manual (Test4) 12-Dec-02 English Health Care United Nation Fund for Population Advancement T.1 F-10 Manual Software Test2 United Nation Test (Test2) 05-12-2002 English Health Care United Nation Fund for Population Advancement T.3 Mr. C.J.Date Test3 User Guide (Test3) 02-11-2002 English Human Resource Development United Nation Development Programme T.3 Mr. Ivon Test1 Java Readme (Test1) 01-12-2002 English Human Resource Development United Nation Development Programme T.2 Mr. Ahmad Nawaz Software