Re: [greenstone-users] Limiting browse results...

From Michael Dewsnip
DateTue, 13 Mar 2007 17:22:46 +1300
Subject Re: [greenstone-users] Limiting browse results...
In-Reply-To (dfb4b74f0703030142i44b985f4na0a3eead177329fd-mail-gmail-com)
Hi Graeme,

I haven't actually tried this, but it seems that you could achieve what you want by adding an "{If}" statement into the HList format statement for the classifier that output a "<br>" (break) tag after finding "Y-Z".

Worth a try, depending on how important this is to you.

Regards,

Michael



graeme wrote:
Thanks for that, it looks a lot better now! Just one more questions,
is there a way to split it between scripts?

Part of the Vertical row looks like this ... Wei-Wi Wil-X Y-آ ٱ-ا ال-ب بخ-پ
What would be nice was if it went... Wei-Wi Wil-X Y-Z and then on a
new line آ-ٱ ٱ-ا ال-ب بخ-پ

This is especially the case becasue Y is written left to right and آ
is written right to left and so it appears on the extreme right of the
line, whilst the Y is positioned part of the way across the line.

May thanks,

Graeme.

On 3/2/07, Qiu <qq6@cs.waikato.ac.nz> wrote:
Hi Graeme

To limit the number of documents for the characters in GenericList, you
can choose "constant_size" in "partition_type_within_level", meanwhile
give a limited document number in "partition_size_within_level".


Regards
Quan


graeme wrote:

> I have set up a number of browse classifiers. For example I have a
> browse by author option. This is set up using the GenericList. This
> gives me a character list along the top and then when I select one of
> the characters I will get a bookshelf of all the texts that fall
> within that character. So for example I might select 'A' and then I
> will get all the texts with an author whose name starts with the
> letter A. This works well but it returns the entire list which is
> several hundred, this is alright on the local network but when we move
> to the Internet I foresee problems with the response time. Is there a
> way to limit the number of results that are returned (just like the
> search results returned)?
>
> Or failing that would it be possible to have a second level of results
> looking at the second character of the word so when A is selected it
> is broken down into another grouping like: AA, AB, AC ....etc
>
> graeme
>
>------------------------------------------------------------------------
>
>_______________________________________________
>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
-- 
DL Consulting
Greenstone Digital Library and Digitisation Specialists
contact@dlconsulting.co.nz
www.dlconsulting.co.nz