[greenstone-devel] A new HTML processing plugin

From Emanuel Dejanu
DateWed, 18 May 2005 11:40:05 +0300
Subject [greenstone-devel] A new HTML processing plugin
In-Reply-To (428AAE0A-5000507-cs-waikato-ac-nz)
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


<<attachment>>
Type: application/octet-stream
Filename: HTML2Plug.pm

download