Re: [greenstone-users] Changing/adding text

From Katherine Don
DateWed, 26 Apr 2006 09:22:22 +1200
Subject Re: [greenstone-users] Changing/adding text
In-Reply-To (20060425004209-GM18770-matai-cs-waikato-ac-nz)

I'd just like to add that changes to collectionmeta also show up
immediately. The collection does not need to be rebuilt.


John R. McPherson wrote:
> On Mon, Apr 24, 2006 at 12:47:38PM -0400, Yachnes, Paul wrote:
>>If I want to change the text on a collection's "About" page, where would
>>I do that? Similarly if I wish to add text to the "Phind" page, where
>>would I do that? In both cases, I want to add customized search
>>instructions and am having trouble locating the correct files to edit.
> This is done by a setting called "collectionextra" in the collection's
> collect.cfg file.
> For greenstone v2.62 and earlier, you would do something like
> collectionmeta collectionextra "<p>html text describing collection</p>"
> collectionmeta collectionextra [l=fr] "<p>text in French</p>"
> etc.
> For greenstone v2.63 and later, you can do that to set it as collection
> metadata, or you can instead use the newer:
> collectionmacro collectionextra "<p>html text describing collection</p>"
> collectionmacro collectionextra [l=fr] "<p>text in French</p>"
> The advantage of setting it as a macro instead of as metadata is that any
> changes to the config file will be reflected immediately; with metadata,
> it is only stored/updated when the collection is built.
> John
> _______________________________________________
> greenstone-users mailing list
> greenstone-users&#64;