Re: [greenstone-devel] html file and metadata tags

From jens wille
DateFri, 17 Dec 2004 18:14:17 +0100
Subject Re: [greenstone-devel] html file and metadata tags
In-Reply-To (41C1F18A-3000503-cs-waikato-ac-nz)
Katherine Don wrote:
> Actually its not quite that simple. -description_tags is used for
> splitting the document up into sections, with appropriate
> metadata, and I don't think you can use them in the head tag. see
> the developers guide ("tagging document files" ) for the correct
> format.
you're right - of course ;-) - i just didn't pay attention to the
html structure, sorry. maybe i've been a bit too optimistic...
(having now looked at it, i must say that it's not well formed at
all, because content outside the body element isn't normally allowed
- though a browser might still display it as expected)

> If you want to have sectioned documents, you should use this
> method, otherwise I suggest that you reformat your metadata as
> proper html meta tags, and continue using the -metadata_fields
> option for HTMLPlug.
but it's possible to have document level metadata this way as well,
isn't it? so i usually proceed this way in order to get "pure
metadata" documents.