Is your problem that when greenstone comes to display the metadata, it
formats it strangley?
Currently the code will try to turn any Date metadata into a pretty
format, eg 20060102 will be displayed as 2 January 2006
Obviously, this doesn't work if the date is not in that format.
One of the things we need to do is to make this formatting optional.
In the meantime, you have two options.
1. Edit the source code and either turn off the special formatting or
make it handle your format. The formatting code is format_date() in
2. Use a different metadata element for your Dates. Something that is
I'll try and add something for the next release so that you can display
the raw value if you want to.
ruben pandolfi wrote:
> Hi All,
> I would like to display more than one date in dc.date.
> At the moment it does not work, as I think the metadata
> only accept one value.
> Would it be possible to display two values in dc.date field?
> This is to display a document date range:
> title: mytitile collection
> author: thisauthor
> date: 1900-1920
> meaning that this document refers to the years from 1900 to 1920
> Is there a way to achieve this without making date field repeatable?
> Thank you,
> greenstone-users mailing list