I think you need an extra argument to the HTML plugin to tell it to look for
plugin HTMLPlug -metadata_fields Title,Subject
this list is what metadata to look for in the meta headers. It defaults to
hope this works,
Jim Trott wrote:
> I have been successful in using Greenstone in all ways except for creating a
> Hierarchy classifier.
> When I build the library, the Search, Titles, and Filenames buttons show up.
> But the Subject hierarchy never does. I don't know what I am doing wrong, so
> I am appealing for help. I know it is possible, because you all are
> successfully doing so. Can you give me the missing element to set me on the
> right path? I would greatly appreciate it.
> Here is my computer information:
> Windows XP Professional
> ActiveState ActivePerl 5.6
> Greenstone 2.39 (I have tried both the Standalone version and the
> webserver version using Apache)
> I also tried using The Gatherer 2.3b, but when I attempt to add a Hierarchy
> classifier, it generates a Java error.
> Thank you for your consideration.
> Here is my simple experiment:
> I have 2 HTML documents defined like:
> <meta name=Subject content="1">
> <title>Subject 1</title>
> Subject 1
> I have a config file in my /etc folder defined as:
> creator email@example.com
> maintainer firstname.lastname@example.org
> public true
> indexes document:text document:Title document:Source
> defaultindex document:text
> plugin ZIPPlug
> plugin GAPlug
> plugin TEXTPlug
> plugin HTMLPlug
> plugin PDFPlug
> plugin RTFPlug
> plugin WordPlug
> plugin ArcPlug
> plugin RecPlug
> classify Hierarchy -hfile sub.txt -metadata Subject
> classify AZList -metadata Title
> classify AZList -metadata Source
> collectionmeta collectionname "subject test"
> collectionmeta iconcollection ""
> collectionmeta collectionextra "
This collection contains _numdocs_ documents, a total of _numbytes_ of indexed text and metadata.
Click here to view the build summary for this collection.
> collectionmeta .document:text "text"
> collectionmeta .document:Title "titles"
> collectionmeta .document:Source "filenames"
> (I have tried using -use_metadata_file and have tried -description_tags, but
> they make no difference)
> I have a sub.txt file in my /etc folder defined as:
> 1 1 "One"
> 2 2 "Two"
> Jim Trott
> Knowledge Management Director
> Millennium Relief and Development Services
> email: email@example.com
> web: www.mrds.org
> greenstone-users mailing list