Re: [greenstone-devel] A new HTML processing plugin

From Michael Dewsnip
DateFri, 27 May 2005 17:08:11 +1200
Subject Re: [greenstone-devel] A new HTML processing plugin
In-Reply-To (20050518093045-5101A3C0C2-sw-itprovision-com)
Hi Emanuel,

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 ages!

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 plugin?

Thanks again for your contribution!

All the best,

Michael

Emanuel Dejanu wrote:

>Hi,
>
>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
>heading tag:
>
><!--gsdl-metadata
><Metadata name="Example">This is the metadata value for metadata
>&quot;Example&quot;</Metadata>
>-->
>
>Full example:
>
><h2>1. Infections<!--gsdl-metadata
><Metadata name="AssocCtry">ken:h4329e.16;tza:h4336e.4.17</Metadata>
>-->
></h2>
>
>
>The metadata "Title" will have the value "1. Infections" for this section.
>
>
>Best regards,
>
>Emanuel Dejanu
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>greenstone-devel mailing list
>greenstone-devel&#64;list.scms.waikato.ac.nz
>https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel
>
>