Re: [greenstone-users] Help...

From Michael Dewsnip
DateFri, 10 Sep 2004 14:16:42 +1200
Subject Re: [greenstone-users] Help...
In-Reply-To (4-3-2-7-1-20040909202911-00b05f00-pop-artic-edu)
Hi Fred,

The horizontal list of links you describe at the top of your Titles A-Z, Authors
A-Z and Dates classifier is called the "HList", and is affected by the "format
HList" statement. You need to add a "[Title]" element to this format statement,
since (confusingly) this will contain the correct label for these links:

format HList
"[link][highlight]{Or}{[dls.Title],[dc.Title],[Title],Untitled}[/highlight][/link]"

Hope this helps,

All the best,

Michael

Fred Hillbruner wrote:

> I've been working with a large database step by step....
> I'm at the point where when I get my Titles A-Z, Authors A-Z and Dates
> lists I do not get an alpha or date list at the top of the page. I get
> "Untitled Untitled Untitled Untitled......" If I click on any one of them,
> the link is correct. I am mystified. I cannot figure out what I am doing
> wrong. My collect.cfg follows.
>
> creator fhillb@artic.edu
> maintainer fhillb@artic.edu
> public true
>
> indexes document:dc.Title document:dc.Creator document:dc.Publisher
> document:dc.Date document:dls.Subject document:dc.Language document:text
> #indexes dc.Title dc.Creator dc.Publisher dls.Subject dc.Language
> text dc.Date
> #levels document
> defaultindex document:dc.Title
>
> plugin GAPlug
> plugin HTMLPlug -metadata_fields dc.Title -nolinks -keep_head
> -cover_image
> plugin ArcPlug
> plugin RecPlug -use_metadata_files
>
> classify AZList -metadata dc.Title -removeprefix dc.
> classify AZList -metadata dc.Creator
> classify DateList -metadata dc.Date -nogroup -sort dc.Date
>
> format DocumentImages true
>
> format VList "<td valign=top>[link][icon][/link]</td>
> <td valign=top>[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td>
> <td valign=top>[highlight]
> {Or}{[dls.Title],[dc.Title],[ex.Title],Untitled}
> [/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td>"
>
> format CL1VList "<td valign=top align=center width=150>[link]<img
> src=\'/gsdl/collect/gsarch/index/assoc/[assocfilepath]/cover.jpg\' width=125 [/link] </td>
> <td width=10> </td>
> <td align=left valign=top>
> <table border=0 width=435 cellpadding=2 cellspacing=0>
> <tr><td width=100 align=left valign=top><b>Title:</b></td>
> <td width=335 align=left valign=top>[link]<b>[dc.Title]</b>[/link]</td></tr>
> <tr><td width=100 align=left valign=top><b>Author:</b></td>
> {If}{[dc.Creator], <td width=335 align=left
> valign=top>[dc.Creator]</td>,<td valigh=top>[dc.Creator]</td>}</tr>
> <tr><td width=100 align=left valign=top><b>Publisher:</b></td>
> {If}{[dc.Publisher], <td width=335 align=left
> valign=top>[dc.Publisher]</td>,<td valigh=top>[dc.Publisher]</td>}</tr>
> </table>
> </td></tr>
> <tr><td colspan=3><hr align=center size=1 noshade></td></tr>"
>
> format CL2VList "<td valign=top align=center width=150>[link]<img
> src=\'/gsdl/collect/gsarch/index/assoc/[assocfilepath]/cover.jpg\' width=125 [/link] </td>
> <td width=10> </td>
> <td align=left valign=top>
> <table border=0 width=435 cellpadding=2 cellspacing=0>
> <tr><td width=100 align=left valign=top><b>Author:</b></td>
> <td width=335 align=left valign=top>[link]<b>[dc.Creator]</b>[/link]</td></tr>
> <tr><td width=100 align=left valign=top><b>Title:</b></td>
> {If}{[dc.Title], <td width=335 align=left valign=top>[dc.Title]</td>,<td
> valigh=top>[dc.Title]</td>}</tr>
> </table>
> </td></tr>
> <tr><td colspan=3><hr align=center size=1 noshade></td></tr>"
>
> format DateList "<td>[link][icon][/link]</td>
> <td>[highlight]{Or}{[dls.Title],[dc.Title],Untitled}[/highlight]</td>
> <td>[dc.Date]</td>"
>
> format HList
> "[link][highlight]{Or}{[dls.Title],[dc.Title],Untitled}[/highlight][/link]"
>
> collectionmeta .document:text [l=en] "text"
> collectionmeta .document:dc.Creator [l=en] "creators"
> collectionmeta .document:dc.Title [l=en] "titles"
> collectionmeta .document:dls.Subject [l=en] "subjects"
> collectionmeta .document:dc.Language [l=en] "languages"
> collectionmeta .document:dc.Publisher [l=en] "publishers"
> collectionmeta collectionname [l=en] "mellow yellow"
> collectionmeta collectionextra [l=en] "the continuing quest"
> collectionmeta .document:dc.Date [l=en] " dates"
> collectionmeta .dc.Title [l=en] "dc.Title"
> collectionmeta .dc.Creator [l=en] "dc.Creator"
> collectionmeta .dc.Publisher [l=en] "dc.Publisher"
> collectionmeta .dls.Subject [l=en] "dls.Subject"
> collectionmeta .dc.Language [l=en] "dc.Language"
> collectionmeta .text [l=en] "text"
> collectionmeta .dc.Date [l=en] "dc.Date"
> Fred A. Hillbruner
> Head of Technical Services
> John M. Flaxman Library
> School of the Art Institute of Chicago
> 37 S. Wabash
> Chicago, IL 60603
>
> 312.899.5101 Phone
> 312.899.1465 Fax
> fhillb@artic.edu
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users