Re: [greenstone-devel] macrofiles in collect.cfg

From Michael Dewsnip
DateWed, 06 Aug 2003 15:28:48 +1200
Subject Re: [greenstone-devel] macrofiles in collect.cfg
In-Reply-To (OFF5B72505-A595E708-ON69256D79-008312FB-69256D79-00831314-ntu-edu-au)
Hi Stephen,

Yes, you can, to a certain extent. I would recommend this documented example
collection as a good place to start:

http://sadl.uleth.ca/gsdl/cgi-bin/library?a=p&p=about&c=garish

It explains how to do collection-specific formatting. Be warned though, it
isn't called the "garish" collection for nothing!!

Regards,

Michael

Stephen.DeGabrielle@ntu.edu.au wrote:

> Hi,
> I was looking at the following config file and I noticed an option I had
> not seen before;
> macrofiles style.dm base.dm query.dm
> about.dm document.dm english.dm
> Does this work? Can it be used to specify collection specific look/feel?
>
> Thanks
> Stephen De Gabrielle
>
> ---
> creator sjboddie@cs.waikato.ac.nz
> maintainer hrolen@nybg.org
> public true
>
> macrofiles style.dm base.dm query.dm
> about.dm document.dm english.dm
>
> indexes section:text document:Title document:Creator
> defaultindex section:text
>
> #plugin NYBGPlug -cover_image
> plugin GAPlug
> plugin ArcPlug
> plugin RecPlug -use_metadata_files
>
> classify Hierarchy -hfile book.txt -metadata BookTitle -sort Title
> -buttonname Title
>
> format DocumentImages true
>
> format SearchVList
> "<td valign=top>[link][icon][/link]</td><td>{If}{[parent(All':
> '):Title],[parent(All': '):Title]:}[link][Title][/link]</td>"
>
> collectionmeta collectionname "New York Botanical Garden"
> collectionmeta .section:text "text"
> collectionmeta .document:Title "titles"
> collectionmeta .document:Creator "authors"
>
> _______________________________________________
> greenstone-devel mailing list
> greenstone-devel@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel