From | Don Gourley |
Date | Wed, 23 Apr 2003 09:15:19 -0400 (EDT) |
Subject | Re: [greenstone-users] Sections in collections |
In-Reply-To | (200304231024-AA917572-mail-padusoft-com) |
If each section unit is a separate document and you have some metadata
that links sections to their subsections, you can use the Hierarchy classifier to create a table of contents. But if you want to break up single non-HTML documents into sections then I think you would need to write your own plugin to import the documents. Depending on what format your documents are in, this may not be too difficult; if it is a text-based format you could inherit from HTMLPlug and override the process() and extract_metadata() methods, using your own parsing code but saving the metadata & text for each section as HTMLPlug does. -Don
|