There is no problem in putting the new HTML plug-in code in HTMLPlug.
For me was more simple this way because we have change a lot the
greenstone perl code and is very hard for me to keep it in sync with
greenstone cvs. Also was more easy for me to send code to you without
sending all the changes that we have done in HTMLPlug.
If you want please include it as an option in HTMLPlug, I do
not see any technical problem.
Some changes that I think worth GSDL team attention are (that we have in our
- Multilanguage metadata (metadata.xml)
<Metadata name="Title">Default title</Metadata>
<Metadata name="Title" lang="fr">This is a french title</Metadata>
<Metadata name="Title" lang="es">This is a spanish title</Metadata>
- Section metadata (metadata.xml)
<Description><!-- This is top section metadata -->
Please not that this change the metadata parameter that have a different
From: Michael Dewsnip [mailto:email@example.com]
Sent: Friday, May 27, 2005 8:08 AM
To: Emanuel Dejanu
Subject: Re: [greenstone-devel] A new HTML processing plugin
Thanks very much for your e-mail, and for the new plugin. The ability to
split HTML documents into sections based on the heading tags is obviously
very useful, and something that we've been trying to find the time to do for
We'd definitely like to include this in Greenstone. However I did wonder
whether this would be better as an option to the existing HTMLPlug, rather
than a new plugin (even if it does inherit from HTMLPlug). Did you
investigate this and find that the new code didn't fit well in the existing
Thanks again for your contribution!
All the best,
Emanuel Dejanu wrote:
>Maybe this will be of help also to you.
>This new plugin split an HTML document in sections using the heading
>tags (h1, h2, ..., hN).
>You can also specify aditional metadata using the comment inside
><Metadata name="Example">This is the metadata value for metadata
>The metadata "Title" will have the value "1. Infections" for this section.
>greenstone-devel mailing list