Re: [greenstone-users] Search results display dots

From Stefan Boddie
DateSat, 20 Sep 2003 17:15:20 +1200
Subject Re: [greenstone-users] Search results display dots
Hi Laura,

Looks like your format string is at fault. It's generating some weird HTML
with "<hr width=1 noshade>" tags appearing in places where they shouldn't.

Something to note about format strings used to generate lists is that when
they're displayed greenstone checks if they begin with "<td" and end with
"</td>". If they do then greenstone inserts them inside a table, otherwise
it doesn't do so.

So, take for example a formatstring like "<td>[Title]</td>". Greenstone
would insert this in a table and you'd end up with HTML like:
<tr><td>value of Title 1</td></tr>
<tr><td>value of Title 2</td></tr>

Compare that to a format string like "<br />[Title]". From this greenstone
would generate HTML something like the following (no table).
<br />value of Title 1
<br />value of Title 2

>From a brief look ath the HTML on your site I'd guess you've got a format
statement something like "<tr><td>[link][image][/link]</td></tr><hr width=1

You should perhaps try something more like "<br />[link][image][/link]<br
/><hr />".


----- Original Message -----
From: "Laura Sheble" <>
To: <>
Sent: Saturday, September 20, 2003 7:48 PM
Subject: [greenstone-users] Search results display dots

> I've built a collection and am working on the display. There is a strange
> problem with search display pages.
> After a search is performed, on the results page, there is a vertical row
> dots at the top center of the page, one dot on one line for each hit. Any
> ideas why this might be?
> For an example, search for "stephen" at:
> c=dplhacsm&ct=0&l=en&w=utf-8
> Thank you.
> Laura
> _______________________________________________
> greenstone-users mailing list