Greestone photo collection config files

From Gordon Paynter
DateWed, 8 Jan 2003 15:39:20 +1300 (NZDT)
Subject Greestone photo collection config files
Hi,

Here's the Greenstone collect.cfg file that I use for my simpler image
collection, along with a supporting file, Places.txt (both go in the etc
directory). If you use it, you'll probably want to fine-tune the
Place.txt file (it currently contains only places I've been), and remember
to make sure the format strings are all on one line.


Gordon

---- begin collect.cfg file ----

creator gordon.paynter@ucr.edu
maintainer gordon.paynter@ucr.edu
public true

# Plugins
plugin GAPlug
plugin ImagePlug -noscaleup -thumbnailsize 150 -screenviewsize 640
-block_exp 'Ignore|Personal|.xvpics|.*.backup'
plugin UnknownPlug -process_exp '.MOV'
-assoc_field 'movie' -file_type 'misc/misc'
plugin ArcPlug
plugin RecPlug -use_metadata_files

# Searching and browsing interfaces
indexes document:Title document:Title,Place document:Place
defaultindex document:Title,Place

classify AZList -metadata Title
classify Hierarchy -hfile Place.txt -metadata Place -sort Image
classify Hierarchy -hfile Film.txt -metadata Film -sort Image
classify DateList -bymonth

# Collection-level metadata
collectionmeta collectionname "Pictures of Places"
collectionmeta iconcollection
"/gsdl/collect/pictures/logo/logo.png"
collectionmeta collectionextra "This collection contains _about:numdocs_
photographs by Gordon Paynter."

collectionmeta .document:Title,Place "titles or places"

# Appearance
format DocumentButtons ""
format DocumentHeading ""

#### DO NOT EDIT BEYOND THIS POINT ####
# format directives generated by make_cfg_pictures.pl

format CL2VList '<td valign="top" align="center"> {If}{[Image], [link]<img
src="/gsdl/collect/pictures/index/assoc/[assocfilepath]/[Thumb]">[/link],
[link][icon][/link] } </td> <td> <font face="Arial">
<b>[link][Title][/link]</b> {If}{[numleafdocs], ([numleafdocs]) }
{If}{[Image], <br /><a
href="/gsdlmod?c=gsarch&a=q&h=dpl&q=[Place]">[Place]</a> <br
/>[ImageWidth]x[ImageHeight] pixels } {If}{[Movie], <br />Quicktime Movie
} </font> </td> {If}{[Date], <td align="right"> <font face="Arial"> [Date]
</font> </td> }'

format CL3VList '<td valign="top" align="center"> {If}{[Image], [link]<img
src="/gsdl/collect/pictures/index/assoc/[assocfilepath]/[Thumb]">[/link],
[link][icon][/link] } </td> <td> <font face="Arial">
<b>[link][Title][/link]</b> {If}{[numleafdocs], ([numleafdocs]) }
{If}{[Image], <br /><a
href="/gsdlmod?c=gsarch&a=q&h=dpl&q=[Place]">[Place]</a> <br
/>[ImageWidth]x[ImageHeight] pixels } {If}{[Movie], <br />Quicktime Movie
} </font> </td> {If}{[Date], <td align="right"> <font face="Arial"> [Date]
</font> </td> }'

format CL1VList '<td valign="top" align="center"> {If}{[Image], [link]<img
src="/gsdl/collect/pictures/index/assoc/[assocfilepath]/[Thumb]">[/link],
[link][icon][/link] } </td> <td> <font face="Arial">
<b>[link][Title][/link]</b> {If}{[Image], <br /><a
href="/gsdlmod?c=gsarch&a=q&h=dpl&q=[Place]">[Place]</a>, [Date] <br
/>[ImageWidth]x[ImageHeight] pixels } {If}{[movie], Quicktime movie <br />
([movie]) } </font> </td>'

format DocumentText '<font face="Arial"> <table width="100%" border="0">
<tr> <td align="center"> <table border="0"> <tr> <td align="center"
colspan="2" background="/gsdl/collect/pictures/logo/top.gif">
<b>[Title]</b> </td> </tr> <tr> <td width="120"
align="right">Photographer:</td> <td>[Photographer]</td> </tr> <tr> <td
align="right">&nbsp;</td> <td align="left">[Rights]</td> </tr> <tr> <td
align="right">Location:</td> <td><a
href="/gsdlmod?c=gsarch&a=q&h=dpl&q=[Place]">[Place]</a></td> </tr> <tr>
<td align="right">Date:</td> <td>[Date]</td> </tr> <tr> <td
align="right">Size:</td> <td>[ImageWidth]x[ImageHeight] pixels</td> </tr>
<tr> <td colspan="2" align="center" > {If}{[Image], <img
src="/gsdl/collect/pictures/index/assoc/[assocfilepath]/[Screen]"
width="[ScreenWidth]" height="[ScreenHeight]" /> } {If}{[movie],
<b>Movie:</b>
/gsdl/collect/pictures/index/assoc/[assocfilepath]/[movie] } </td>
</tr> {If}{[Caption], <tr> <td colspan="2" align="justify"
{If}{[ScreenWidth], width="[ScreenWidth]"}> [Caption] </td> </tr> }
{If}{[Tour], <tr> <td colspan="2" align="justify" {If}{[ScreenWidth],
width="[ScreenWidth]"}> {Or}{[TourText]} </td> </tr> <tr> <td colspan="2"
align="right" {If}{[ScreenWidth], width="[ScreenWidth]"}> <a
href="/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-Santhosh Pillai--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=d&c=gsarch&cl=CL4.[Tour]">Continue
Tour...</a> </td> </tr> } <tr> <td colspan="2" align="center"
background="/gsdl/collect/pictures/logo/bottom.gif"> <font
face="Arial" color="black"> <b> {If}{[Image], <a
href="/gsdl/collect/pictures/index/assoc/[assocfilepath]/[Thumb]">Thumbnail</a>
&nbsp;&nbsp;<a
href="/gsdl/collect/pictures/index/assoc/[assocfilepath]/[Screen]">Small
Image</a> &nbsp;&nbsp;<a
href="/gsdl/collect/pictures/index/assoc/[assocfilepath]/[Image]">Full
Image</a> } </b> </font> </td> </tr> </table> </td> </tr> </table>
</font>'

format SearchVList '<td valign="top" align="center"> {If}{[Image],
[link]<img
src="/gsdl/collect/pictures/index/assoc/[assocfilepath]/[Thumb]">[/link],
[link][icon][/link] } </td> <td> <font face="Arial">
<b>[link][Title][/link]</b> {If}{[Image], <br /><a
href="/gsdlmod?c=gsarch&a=q&h=dpl&q=[Place]">[Place]</a>, [Date] <br
/>[ImageWidth]x[ImageHeight] pixels } {If}{[movie], Quicktime movie <br />
([movie]) } </font> </td>'

---- end collect.cfg file ----

---- begin Place.txt file ----
"New Zealand" 1 "New Zealand"
"Auckland" 1.1 "Auckland"
"Waikato" 1.2 "Waikato"
"Cambridge" 1.2.1 "Cambridge"
"Hamilton" 1.2.2 "Hamilton"
"Kaimais" 1.2.3 "The Kaimais"
"Bay of Plenty" 1.3 "Bay of Plenty"
"Opotiki" 1.3.1 "Opotiki"
"Rotorua" 1.3.2 "Rotorua"
"Taneatua" 1.3.3 "Taneatua"
"Waimana" 1.3.3 "Waimana"
"East Cape" 1.4 "East Cape"
"Tologa Bay" 1.4.1 "Tologa Bay"
"Hicks Bay" 1.4.2 "Hicks Bay"
"Te Araroa" 1.4.3 "Te Araroa"
"Whanarua Bay" 1.4.4 "Whanarua Bay"
"Motu River" 1.4.5 "Motu River"
"Maraenui" 1.4.6 "Maraenui"
"Torere" 1.4.7 "Torere"
"Opape" 1.4.8 "Opape"
"Hawke Bay" 1.5 "Hawke Bay"
"Napier" 1.5.1 "Napier"
"Hastings" 1.5.2 "Hastings"
"Wairoa" 1.5.3 "Wairoa"
"Mahia Peninsula" 1.5.4 "Mahia Peninsula"
"Taupo" 1.6 "Taupo"
"Otago" 1.7 "Otago"
"Otago Peninsula" 1.7.1 "Otago Peninsula"
"Dunedin" 1.7.2 "Dunedin"
"Southland" 1.8 "Southland"
"The Catlins" 1.8.1 "The Catlins"
"Invercargil" 1.8.2 "Invercargil"
"USA" 2 "United States of America"
"Anahiem" 2.1 "Anahiem, CA"
"Big Bear Lake" 2.2 "Big Bear Lake, CA"
"Forest Falls" 2.3 "Forest Falls, CA"
"Hollywood" 2.4 "Hollywood, CA"
"Palm Springs" 2.5 "Palm Springs, CA"
"Riverside" 2.6 "Riverside, CA"
"San Francisco" 2.7 "San Francisco, CA"
"San Marino" 2.8 "San Marino, CA"
"Universal City" 2.9 "Universal City, CA"
"Las Vegas" 2.10 "Las Vegas, NV"
"Roanoke" 2.11 "Roanoke, VA"
"England" 3 "England"
"Bath" 3.1 "Bath"
"Burgess Hill" 3.2 "Burgess Hill"
"London" 3.3 "London"
"Italy" 4 "Italy (Italia)"
"Rome" 4.1 "Rome (Roma)"
"Cinque Terre" 4.2 "Cinque Terre"
"Monterosso" 4.2.1 "Monterosso"
"Vernazza" 4.2.2 "Vernazza"
"Corniglia" 4.2.3 "Corniglia"
"Manarola" 4.2.4 "Manarola"
"Riomaggiore" 4.2.5 "Riomaggiore"
"Pisa" 4.3 "Pisa"
"Florence" 4.4 "Florence (Firenze)"
"Venice" 4.5 "Venice (Venezia)"
"Greece" 5 "Greece (Hellas)"
"Ionian Sea" 5.1 "The Ionian Sea"
"Patras" 5.2 "Patras"
"Olympia" 5.3 "Olympia"
"Peloponnese" 5.4 "The Peloponnese"
"Nafplio" 5.5 "Nafplio"
"Delphi" 5.6 "Delphi (Delfi)"
"Athens" 5.7 "Athens (Athena)"
"Unknown" 6 "Unknown"
---- end Place.txt file ----