Re: [greenstone-users] Items in hierarchical list displayed asUntitled

From Allison Zhang
DateThu, 13 Nov 2003 09:29:56 -0500
Subject Re: [greenstone-users] Items in hierarchical list displayed asUntitled
In-Reply-To (sfb350ba-081-apps-niwi-knaw-nl)
Have you tried this:

format VList '<td valign="top">[link][icon][/link]</td><td
valign="top">[link][Title][/link]</td>'

If you have tried, what happened?


Allison


At 09:36 AM 11/13/2003 +0100, Rene Schrama wrote:
>Yes that is what I want, but the format is not the problem. The real
>problem is that there is no title (I was expecting it to read "bars"). I
>could leave out the Untitled part, and then there would be nothing at
>all, just the icon (btw I tried that already). The [highlight] part
>means that the currently selected item will be in bold.
>
>Rene
>
>
> >>> Allison Zhang <zhang@wrlc.org> 12-11-2003 20:44:22 >>>
>Rene,
>
>Do you want to display a title, otherwise display as "Untitled"? This
>is
>what you specified in your format VList. A comma in the curly brackets
>
>means "or". So your list will display the title if there is a title
>field.
>If there is no title field, display as "Untitled". I am not sure what
>[highlight] and {OR} do. If you want to display a title list, you need
>to
>put only [Title] in there.
>
>
>Allison Zhang
>Manager, Digital Collections Production Center
>Washington Research Library Consortium
>901 Commerce Drive
>Upper Marlboro, MD 20774
>Phone: 301-390-2049
>Fax: 301-390-2020
>Email: zhang@wrlc.org
>www.wrlc.org
>
>
>At 02:32 PM 11/12/2003 +0100, Rene Schrama wrote:
> >Hello,
> >
> >I'm trying to implement a thesaurus as a hierarchical browsing list
>but
> >somehow several items of the list keep showing up as "Untitled" and I
> >can't figure out why. I'm using Greenstone 2.40 on XP. Build type =
> >MGPP. No errors during import or build. See below for additional
>info.
> >Btw the Keyword metadata is already in the documents so there was no
> >need for a metadata.xml.
> >
> >TIA
> >
> >Rene
> >
> >
> >Classifier and format:
> >
> >classify Hierarchy -hfile keyword.txt -metadata Keyword
>-buttonname
> >Subject
> >format VList '<td valign="top">[link][icon][/link]</td><td
> >valign="top">[highlight]{Or}{[Title],Untitled}[/highlight]</td>'
> >
> >
> >Part of keyword.txt:
> >
> >"bars" 129 "bars"
> >"types of graphs" 129.101 "Broader: types of graphs"
> >"pictograph" 129.501 "Used for: pictograph"
> >"bar charts" 129.502 "Used for: bar charts"
> >"bar graphs" 129.503 "Used for: bar graphs"
> >"types of bars" 129.504 "Used for: types of bars"
> >
> >
> >Part of subject list:
> >
> >- ...
> >- automated content analysis
> >- Untitled
> >- batch sampling
> >- ...
> >
> >
> >One level down:
> >
> >- Untitled
> > - Broader: types of graphs
> >
> >
> >Two levels down (with two document references):
> >
> >- Untitled
> > - Broader: types of graphs
> > + DUAL3 (Version 3.2), MAPWISE 1988 (Version 2.01), PC-MDS
>(Version
> >5.0), SIMCA (Version 1.5)
> > + SPSS/PC+
> >
> >
> >_______________________________________________
> >greenstone-users mailing list
> >greenstone-users@list.scms.waikato.ac.nz
> >https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
>
>_______________________________________________
>greenstone-users mailing list
>greenstone-users@list.scms.waikato.ac.nz
>https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users